[postgis-users] Intersecting lines to Polygons

Nicolas Ribot nicolas.ribot at gmail.com
Mon Mar 11 06:29:39 PDT 2013


Hi,

Look at st_polygonize() and st_buildArea()

Topology can also be of a great help here.

Nicolas


On 11 March 2013 13:13, chlists <chlists at me.com> wrote:

> Hi list,
>
> I'd like to combine a global compilation of line data which intersect into
> a global polygon dataset. ArcGIS has a tool called 'Features to Polygons'
> which does this in one step for which I have yet to find an equivalent in
> PostGIS. ST_MakePolygon and ST_Polygon require closed linestrings. I have
> simple line features which randomly connect like in the attached
> screenshot. There are no attributes which describe which polygon a single
> linestring belongs to. Can this be done easily or does this involve
> building topologies? Any pointers much appreciated.
>
> Thanks,
> Chris
>
>
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130311/ee1efccb/attachment-0001.html>


More information about the postgis-users mailing list