Hi Nicolas, this is it! it works beautifully. I even tried it with the full set of contours and it all makes sense. The truth is for me your help has been more than a solution, it has also been a great tutorial on Postgis, I hope others will find it as useful. Thanks a lot for your continuing help. George
-- View this message in context: http://postgis.17.n6.nabble.com/Closing-polylines-tp4971098p4994271.html Sent from the PostGIS - User mailing list archive at Nabble.com. _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users