Hi list,
I am using postgis to split a multipolygon feature by a linestring. Both
feature are geojson inputs.
However the outputs returns a geojson that is a geocollection of two
polygon features. In fact this is correct, but for consistency I would like
to keep the the splitted features into a single Multipolygon (even if there
is only one linear ring in it). Is it possible?
This is my query:
SQLQuery = '''SELECT
ST_AsGeoJSON(ST_Split(ST_GeomFromGeoJSON('%s'),ST_GeomFromGeoJSON('%s')))::json
As f''' % (feature,blade)
-Max Demars
--
Stack Overflow: http://stackoverflow.com/users/1914034/burton449
GIS Overflow: http://gis.stackexchange.com/users/14426/burton449
LastFm: http://www.lastfm.fr/user/burton449
_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users