
Hi! I am just having my first look at creating a routable map. It appears that the default style completely disregards the access tags access=no, vehicle=no, motorvehicle=no and motorcar=no. Naturally I'd like to exclude these from routing, but there seem to be no rules evaluating them in the default style. Is this really the case or are those tags somehow hardcoded in mkgmap? bye Nop

Hello Nop,
I am just having my first look at creating a routable map. It appears that the default style completely disregards the access tags access=no, vehicle=no, motorvehicle=no and motorcar=no. Naturally I'd like to exclude these from routing, but there seem to be no rules evaluating them in the default style. Is this really the case or are those tags somehow hardcoded in mkgmap?
The tags "vehicle" and "motorvehicle" are not recognised so you will need to add style rules to convert them to one of the access tags that are recognised which are: access (applies to everything) bicycle foot hgv motorcar motorcycle (same as motorcar) psv taxi emergency delivery goods (same as delivery) Cheers, Mark

Mark Burton schrieb:
The tags "vehicle" and "motorvehicle" are not recognised so you will need to add style rules to convert them to one of the access tags that are recognised which are:
access (applies to everything) bicycle foot hgv motorcar motorcycle (same as motorcar) psv taxi emergency delivery goods (same as delivery)
Good morning, Mark, and is mkgmap able to handle combinations of these access tags correctly, so for example if a road is tagged as access=no foot=yes emergency=yes then routing is possible only for foot and emergency ? And what I just tried out on my Etrex: motorcar=no is not impliying taxi=no (although a taxi is also a motorcar). This makes it easy to tweak a style that uses taxi for a special routing (e.g. race-bicycles). Chris

Hi Chris,
The tags "vehicle" and "motorvehicle" are not recognised so you will need to add style rules to convert them to one of the access tags that are recognised which are:
access (applies to everything) bicycle foot hgv motorcar motorcycle (same as motorcar) psv taxi emergency delivery goods (same as delivery)
Good morning, Mark,
and is mkgmap able to handle combinations of these access tags correctly, so for example if a road is tagged as
access=no foot=yes emergency=yes
then routing is possible only for foot and emergency ?
That should work as expected.
And what I just tried out on my Etrex:
motorcar=no is not impliying taxi=no (although a taxi is also a motorcar).
I believe you can do that using the style file by adding taxi=no when motorcar=no is found.
This makes it easy to tweak a style that uses taxi for a special routing (e.g. race-bicycles).
I would expect that others have already tried that. Perhaps someone can report on that? Cheers, Mark
participants (3)
-
Chris-Hein Lunkhusen
-
Mark Burton
-
Nop