[postgis-users] Convert linestring to polygon

Bart van den Eijnden (OSGIS) bartvde at xs4all.nl
Thu Apr 13 00:39:52 PDT 2006


Yes, look for a function called polygonize.

Polygonize(geometry set)

    Aggregate. Creates a GeometryCollection containing possible polygons
formed from the costituent linework of a set of geometries.

    Availability: 1.0.0RC1 - requires GEOS >= 2.1.0.

Best regards,
Bart

> I have a postgis table containing linestring geometries.
> Some of these linestrings are in fact closed polygon.
> Is there a function to convert these closed linestring to a polygon?
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>





More information about the postgis-users mailing list