logo separator

[mkgmap-dev] mkgmap r3665 complie error, removing road_class and road_speed made a non-routable line?

From greg crago gregcrago at gmail.com on Wed Feb 10 21:54:59 GMT 2016

I made a map and was using my GPS in AUTO RECALCULATE mode and had an
avtice Route destination behind me and was deliberately driving in the
opposite direction to test out the maps Routing capability. One
recalculated route told me to turn on to a RAILROAD TRACK, I looked at my
line file and noticed that I gave a ROAD_CLASS and ROAD_SPEED to the
RAILROAD LINETYPE 0x01:

(railway=rail | railway=tram | railway=disused | railway=subway |
railway=narrow_gauge | railway=light_rail | railway=preserved) &
tunnel!=yes & bridge=yes [0x01 road_class=0 road_speed=1 resolution 20]


So I removed the the road class and road speed:

(railway=rail | railway=tram | railway=disused | railway=subway |
railway=narrow_gauge | railway=light_rail | railway=preserved) &
tunnel!=yes & bridge=yes [0x01 resolution 20]

But now I get a COMPILE ERROR:

Warning: routable type 0x01 is used for non-routable line with level 0.
This may break routing. Style file lines, line 273

How did just removing the road class and road speed change this to be a
non-routable line??

Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160210/49993485/attachment.html>


More information about the mkgmap-dev mailing list