Hi,<div><br></div><div>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.</div>
<div><br></div><div>One approach could be to choose a threshold distance above which contours should not be connected. <br><br>Nicolas</div><div><br><div class="gmail_quote">On 18 May 2012 09:48, georgew <span dir="ltr"><<a href="mailto:gws293@hotmail.com" target="_blank">gws293@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nicolas, thanks for your help. I don't think I am getting the same results<br>
as you. In answer to an earlier question of yours, I have attached a small<br>
(328K) zipped subset of a contour file with a representative set of the type<br>
of shapes found in the full size one, but when I apply the sequence of code<br>
in your post above, I get very little useful output. But I might doing<br>
something wrong.<br>
G.<br>
<br>
<a href="http://postgis.17.n6.nabble.com/file/n4992781/contour_100.zip" target="_blank">http://postgis.17.n6.nabble.com/file/n4992781/contour_100.zip</a><br>
contour_100.zip<br>
<br>
--<br>
View this message in context: <a href="http://postgis.17.n6.nabble.com/Closing-polylines-tp4971098p4992781.html" target="_blank">http://postgis.17.n6.nabble.com/Closing-polylines-tp4971098p4992781.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the PostGIS - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br></div>