[postgis-users] Closing polylines
pcreso at pcreso.com
pcreso at pcreso.com
Tue May 15 11:16:15 PDT 2012
You can work around this problem by using the Postgis topology capability. It will build polygons (faces) from such lines which you can use as topopolygons or extract as conventional geometries.
--- On Tue, 5/15/12, george wash <gws293 at hotmail.com> wrote:
From: george wash <gws293 at hotmail.com>
Subject: Re: [postgis-users] Closing polylines
To: postgis-users at postgis.refractions.net
Date: Tuesday, May 15, 2012, 7:30 PM
Thank you Nicolas, I understand the second point (a
single segment poly) but I am having a different sort of problem
from your first point. I haven't been able to pinpoint it yet but
I suspect it happens when the segments are touching, e.g. the
endpoint of one is same as the startpoint of another one (but the
segments are not necessarily in an orderly sequence). I also
suspect that the problem is caused by the start and end points
being at opposite ends of the segments eg 1....10,
20.....10,10.....1 so that the closest segment is not necessarily
the next one in the sequence. This is more difficult to explain
than to show, so I have attached the seg table (in shapefile
format) containing a very small subset of the data I am using to
test your functions, just in case you have the time to look at
it.
Thanks again for your help
-----Inline Attachment Follows-----
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120515/790153fc/attachment.html>
More information about the postgis-users
mailing list