rsgb
.public
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
st_bdmpolyfromtext(text, integer)
Parameters
Name
Type
Mode
text
IN
integer
IN
Definition
DECLARE geomtext alias for $1; srid alias for $2; mline public.geometry; geom public.geometry; BEGIN mline := public.ST_MultiLineStringFromText(geomtext, srid); IF mline IS NULL THEN RAISE EXCEPTION 'Input is not a MultiLinestring'; END IF; geom := public.ST_Multi(public.ST_BuildArea(mline)); RETURN geom; END;