terraware
Database
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
st_polygonfromwkb
Parameters
Name
Type
Mode
$1
bytea
IN
$2
integer
IN
$1
bytea
IN
Definition
SELECT CASE WHEN public.geometrytype(public.ST_GeomFromWKB($1,$2)) = 'POLYGON' THEN public.ST_GeomFromWKB($1, $2) ELSE NULL END