maya
.public
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
st_linestringfromwkb(bytea, integer)
Description
args: WKB, srid - Makes a geometry from WKB with the given SRID.
Parameters
Name
Type
Mode
$1
bytea
IN
$2
integer
IN
Definition
SELECT CASE WHEN geometrytype(ST_GeomFromWKB($1, $2)) = 'LINESTRING' THEN ST_GeomFromWKB($1, $2) ELSE NULL END