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