logo separator

[mkgmap-dev] How do I ignore sidewalks?

From Marko Mäkelä marko.makela at iki.fi on Tue Jul 14 19:56:22 BST 2009

On Tue, Jul 14, 2009 at 01:59:41PM -0400, Ben Konrath wrote:
> When I start routing from a point that is closer to a sidewalk than a
> road, I am routed along the sidewalk until the next junction. Looking
> at the default style, it seems that the sidewalks are picked up with
> this tag:
> 
> highway=footway {add access = no; add foot = yes} [0x16 road_class=0
> road_speed=0 resolution 23]
> 
> For whatever reason the "access=no" isn't working when starting the
> route. Is it possible to ignore ways tagged with "highway=footway" and
> "footway=sidewalk" but keep other footways? I've searched a bit but I
> can't seem to find a way to drop or ignore specific tags like this.

You could map sidewalks to a non-road line style, something like this:

highway=footway & footway=sidewalk [0x29 resolution 23]
highway=footway {add access = no; add foot = yes} [0x16 road_class=0 road_speed=0 resolution 23]

The 0x29 is power=line.

	Marko



More information about the mkgmap-dev mailing list