[OSM-talk] highway=track and motorcar=yes/no

Nic Roets nroets at gmail.com
Tue Nov 4 21:47:38 GMT 2008


Using the script below I found 219469 tracks of which 202630 did not have a
motorcar= tag.

My reasoning behind gosmore was that tracks not suitable for vehicles should
be tagged as footway. It's flawed because we so many unsurfaced way types.
Perhaps we can adopt the following scheme ?

highway=track defaults to motorcar=no
highway=unsurfaced defaults to motorcar=yes
highway=byway defaults to motorcar=yes


bzcat germany.osm.bz2 | awk '/<way.*id.*timestamp.*>/ { print hway, motor;
hway=""; motor=""}; /<.*highway.*track.*>/ { hway="t" }; /<.*motorcar.*>/
{motor=$0}' |grep '^t'|sort |less -S

On Tue, Nov 4, 2008 at 10:04 PM, Rainer Dorsch <rdorsch at web.de> wrote:

> Hello,
>
> I am wondering, if there is a default for motorcar defined for
> highway=track
> if motorcar=yes/no is not specified explicitly.
>
> In Germany (Switzerland and Austria as well?) there are probably a very low
> fraction of tracks on which motorcars are allowed.
>
> This seems to be different in other countries, gosmore at least routes cars
> over tracks. I am wondering if the default can be per country....or how
> much
> work it is to give all tracks a motorcar tag.
>
> Can anybody find out easily how many tracks there are in Germany without an
> motorcar tag?
>
> Thanks,
> Rainer
>
> --
> Rainer Dorsch
> Lärchenstr. 6
> D-72135 Dettenhausen
> 07157-734133
> email: rdorsch at web.de
> jabber: rdorsch at jabber.org
> GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
> Full GPG key: http://pgp.mit.edu/
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20081104/7187c831/attachment.html>


More information about the talk mailing list