ST_LinestringFromWKB — Makes a geometry from WKB with the given SRID.
geometry ST_LinestringFromWKB(
bytea WKB)
;
geometry ST_LinestringFromWKB(
bytea WKB, integer srid)
;
The ST_LinestringFromWKB
function, takes a well-known binary representation of geometry and a Spatial Reference System ID (SRID
) and creates an instance of the appropriate geometry type - in this case, a LINESTRING
geometry. This function plays the role of the Geometry Factory in SQL.
If an SRID is not specified, it defaults to 0. NULL
is returned if the input bytea
does not represent a LINESTRING
geometry. This an alias for ST_LineFromWKB.
![]() | |
OGC SPEC 3.2.6.2 - optional SRID is from the conformance suite. |
![]() | |
If you know all your geometries are |
Questo metodo implementa le OGC Simple Features Implementation Specification for SQL 1.1.
s3.2.6.2
Questo metodo implementa la specifica SQL/MM.
SQL-MM 3: 7.2.9