[postgis-users] Split polygon by line

Arnaud L. arnaud.listes at codata.eu
Thu Oct 18 07:45:22 PDT 2018


Le 18/10/2018 à 18:55, Shane Carey a écrit :
> Ok thanks, will do in future:

Dont' wait, do it now ! ;)

> This is what I have tried and no joy- any ideas? Thanks in advance.
> SELECT ST_AsText((ST_Dump(ST_Split(circle, line))).geom) As wkt

Don't make a WKT representation. WKT is a text string, not a geometry.
Remove the ST_AsText() and you should be OK.

--
Arnaud


More information about the postgis-users mailing list