Name

ST_MLineFromWKB — Returns a MultiLineString object given its Well-known binary Representation

Synopsis

geometry ST_MLineFromWKB(bytea WKB);

geometry ST_MLineFromWKB(bytea WKB, integer SRID);

Alias

MLineFromWKB

Description

Creates a MultiLineString from well-known binary representation of a MultiLineString and a Spatial Reference System ID (SRID). If the SRID is not provides it defaults to -1. If WKB passed in is not a MultiLineString, NULL is returned.

Coordinate Dimensions
2D3DM
Spatial Standards Support
OGC SFS for SQL. 1.1 (1999)OGC SFS for SQL. 1.1.0 (2005)OGC SFS for SQL. 1.2.0 (2006)SQL-MM Part 3
3.2.7.27.2.7.1-9.4.5

Examples

SELECT ST_AsEWKT(ST_MLineFromWKB(ST_GeomFromText('MULTILINESTRING((10 48,10 21,10 0),(16 0,16 23,16 48))')));
SELECT ST_AsEWKT(ST_MLineFromWKB(ST_GeomFromText('MULTILINESTRING((10 48,10 21,10 0),(16 0,16 23,16 48))'),25830));

Related functions

ST_GeomFromWKB