[postgis-users] Split polygon by line

Shane Carey careyshan at gmail.com
Thu Oct 18 09:31:27 PDT 2018


Hi,

This works and runs but how do I make a polygon out of it as opposed to it
just being in a table - I'd like it as individual polygons.

Thanks
Le gach dea ghui,
*Shane Carey*
*GIS and Data Solutions Consultant*


On Thu, Oct 18, 2018 at 7:50 AM Arnaud L. <arnaud.listes at codata.eu> wrote:

> Le 18/10/2018 à 00:04, Shane Carey a écrit :
> > Is there a way to split the polygon into multiple polygons by these
> > multiple lines?
>
> Starting from PostGIS 2.5.0, you can split a polygon by a multiline with
> ST_Split.
> With an earlier version you'll have to split the polygon multiple times.
>
> https://postgis.net/docs/ST_Split.html
>
> --
> Arnaud
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20181018/2d319628/attachment.html>


More information about the postgis-users mailing list