[postgis-users] handling invalid geometry within a trigger

LPlateAndy andy at centremaps.co.uk
Mon Feb 15 06:43:51 PST 2016


Hi,

I have a postgresql trigger function which creates a geometry from WKT
before data in inserted into the table. Saves on temp tables or on loading
and then updating.

Is there a way (possibly a plpgsql not postgis question) to ignore (treat as
NULL) a bum geometry - e.g a polygon with a single point

Andy



--
View this message in context: http://postgis.17.x6.nabble.com/handling-invalid-geometry-within-a-trigger-tp5009691.html
Sent from the PostGIS - User mailing list archive at Nabble.com.


More information about the postgis-users mailing list