[OSM-dev] country boundary polygons

sylvain letuffe liste at letuffe.org
Sat Mar 28 12:02:43 GMT 2009


> Sly: I do not see how your query can answer the question as the
> borders are broken up into multiple ways and you do not find out
> what ways need to be connected, what are enclaves and exclaves
> and build a multipolygon from it.
>
> Marcus

Yes, sorry I didn't explain that part. osm2pgsql has the needed functions to 
convert relations into multipolygons entities that this SQL request works 
with.

It works well with inner and outer role for multipolygons but lacks support 
for role enclave/exclave of type=boundary.
(But as Frederik suggested on the wiki, and so does germany is tagged, 
multipolygon could be used instead )

Still, the main problem is that the osm boundaries (level 2) are often more 
broken than working.

here is the current status of europe boundaries
http://beta.letuffe.org/cartes/france.png

--
sly
sylvain letuffe




More information about the dev mailing list