[postgis-users] Closing polylines

Nicolas Ribot nicolas.ribot at gmail.com
Fri May 18 03:27:48 PDT 2012


Hi,

Yes indeed, open contours at map edges and several contours sharing the
same elevation will complexify the process, as it will be necessary to
identify those cases to avoid joining contours that should not be joined.

One approach could be to choose a threshold distance above which contours
should not be connected.

Nicolas

On 18 May 2012 09:48, georgew <gws293 at hotmail.com> wrote:

> Hi Nicolas, thanks for your help. I don't think I am getting the same
> results
> as you. In answer to an earlier question of yours, I have attached a small
> (328K) zipped subset of a contour file with a representative set of the
> type
> of shapes found in the full size one, but when I apply the sequence of code
> in your post above, I get very little useful output. But I might doing
> something wrong.
> G.
>
> http://postgis.17.n6.nabble.com/file/n4992781/contour_100.zip
> contour_100.zip
>
> --
> View this message in context:
> http://postgis.17.n6.nabble.com/Closing-polylines-tp4971098p4992781.html
> Sent from the PostGIS - User mailing list archive at Nabble.com.
> _______________________________________________
> 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/20120518/fd29d01c/attachment.html>


More information about the postgis-users mailing list