<br><br><div class="gmail_quote">2009/9/30 Frederik Ramm <span dir="ltr"><<a href="mailto:frederik@remote.org">frederik@remote.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<div class="im"><br>
Ian Dees wrote:<br>
> I've been hoping someone would strike up a conversation with me on a<br>
> good algorithm to find and relation-ize overlapping boundary ways. I<br>
> would love to implement this...<br>
<br>
</div>I have recently explained how I'm currently doing this with PostGIS but<br>
nothing keeps you from using the GEOS library and write a C or C++<br>
program that does the same!<br>
<br>
But, someone recently wrote that polyshp2osm already supports<br>
multipolygon border relations so maybe give that a try?<br></blockquote></div><br>Unfortunately not, it supports multipolygons relations. Someone posted a perl script to do it. I think it was posted on Perl. It would be possible to do something like this based on Postgis.<br>
My way of doing it in Postgis is very similar to yours. <br>Anyway, I am planning at some point to have a look at the perl code and add it to polyshp2osm in python. It would make life easier in the end to have a completely integrated script.<br>
<br>Emilie Laffray<br>