[OSM-dev] country boundary polygons

Marcus Wolschon Marcus at Wolschon.biz
Sat Mar 28 05:18:13 GMT 2009


On Sat, Mar 28, 2009 at 1:46 AM, Roland Olbricht <roland.olbricht at gmx.de> wrote:
>> > I am looking for a simple answer to the question 'what country is
>> > lat+long in?',
>> >  Has there been any progress
>> > made with this?
>
> Yes, I'm working on a server side scripting host for OSM data. This includes a
> reverse gazetteer as a sample application. The gazetteer works fine, but the
> more down-to-earth-things like updating the database without a complete data
> reload aren't yet working stable. So I think, the system will be available
> about mid-May.

Traveling Salesman is using the .poly -files that Osmosis is useng
to find out the country-polgon.
They are consistent and later someone can write a small tool to convert
the OSM-multipolygons that make up the admin_level=2 -relations
into .poly -files so all data comes from OSM.

forum-thread on the topic:
http://apps.sourceforge.net/phpbb/travelingsales/viewtopic.php?f=4&t=48&sid=2e0d4b1deee51d556f71e4d7c75e3cff

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




More information about the dev mailing list