logo separator

[mkgmap-dev] dissapearing roads

From Michał Rogala michal.rogala at gmail.com on Sat Mar 22 22:01:07 GMT 2014

Hi!

Today I've noticed a very strange behavior of mkgmap. Consider this road:

http://www.openstreetmap.org/#map=16/52.0071/20.2446

it's a tertiary road.

My rules for tertiary roads are:

highway=tertiary {set mkgmap:no_name=yes} [0x1101d resolution 18-18
continue]
highway=tertiary {set mkgmap:no_name=yes} [0x1101b resolution 20-20
continue]
highway=tertiary {set mkgmap:no_name=yes} [0x1101b resolution 21-21
continue]
highway=tertiary {set mkgmap:no_name=yes} [0x05 resolution 22-22 continue]
highway=tertiary {name '${name}'} [0x05 road_class=1 road_speed=3
resolution 23]


(if mkgmap:no_name is set, <finalize> scripts are not executed, so  name
for road is not assigned).

As you may suppose, tertiary roads should be seen on almost any zoom level.

MapSource on 300m (level 23) zoom:

http://imgur.com/LHptaRJ

MapSource on 500m (level 22) zoom:

http://imgur.com/1Aa4SL9

Part of the road disappears......

This is not related to any possible MapSource or Garmin (tested on
hardware) bug with road rendering. I opened IMG file in MapEdit and it
really this lacks road on levels 18-22.

I found that this bug is related to --preserve-element-order parameter.
When it's set - everything is fine. Without it, road disappears.


best regards

Michal Rogala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140322/73a4ed3c/attachment.html>


More information about the mkgmap-dev mailing list