[Routing] No tags like "country" and "city" in planet.osm for ways?

Marcus Wolschon Marcus at Wolschon.biz
Sun Nov 11 16:51:49 GMT 2007

Hash: SHA1

Mark Williams schrieb:
> Max Power wrote:
>> I've looked in some data of the planet.osm file and i'm wondering, why there are no tags like "country=" and "city=" for ways. So you can't make a useful routing, because you want to search for example the route from one road in Paris to one road in Berlin. You don't want to click somewhere in the map to mark it as start or end point. Is it planned to integrate such tags? Or is there anywhere a relation like country->city->road in planet.osm? Can i find cities in the data?
>> Regards,
>> Herodot
> It's place=city, or place=whatever - you should find Paris tagged as
> place=city, name=Paris, with the is_in tag to be sure which for towns
> with commoner names.
> There isn't yet a relation as you describe, though a simple enough
> distance-from-target calculation should do the job? It is something
> planned for the future.

It's much more simple in many places.
The place-attribute can be used on areas as well,
not just on points.

Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Routing mailing list