[OSM-dev] What country is something in?

Marcus Wolschon Marcus at wolschon.biz
Thu Oct 30 08:03:16 GMT 2008

Great work!

I haven't tried it yet but had a brief look.
Is it possible to have the name of the country in the filename of
the ".border"-file? (I don't care what translation of the name, the
first one found will do.)

I have little time at the moment (end of month again) to write it
myself but I guess it would be trivial to add an option to output
the border as a way in OSM-XML -format instead? I guess
osmosis-polygons are the most important for cutting maps
but with an osm-polygon I could add it to my routing-software
in no time and make use of it for maxspeed and driving on the
left or the right side of the road (think "turnabout ahead, second


2008/10/29 Roland Olbricht <roland.olbricht at gmx.de>:
> Hello everybody,
> you can now download a first version of the discover-boundaries tool. In its
> current state, the tool delivers the multipolygons constituting a country's
> border, in a format suitable to osmosis' --bounding-polygon option. Feel free
> to ask for a different format it that would fit better.
> For the download, please visit
> http://wmaz.math.uni-wuppertal.de/olbricht/osm/
> - the "national boundaries" contains the results and can be accessed via its
> index.html
> - the "Discover Boundaries source code" contains the source code. It is
> described in README and can be used out-of-the-box by the script RUNME and an
> OSM XML file.
> I would be grateful for any comments.

More information about the dev mailing list