logo separator

[mkgmap-dev] Weird road speed

From Andrzej Popowski popej at poczta.onet.pl on Sun Jan 19 16:44:24 GMT 2014

Hi,

I have observed weird road speeds when using current mkgmap r2977. See 
this way:
http://www.openstreetmap.org/way/227105752

It has no maxspeed tag. It should be rendered as primary road, speed 
class 4. This is what I get, if I disable including "roadspeed" file 
from default style.

With "roadspeed" all is different and depends on tile area. I have 
prepared sample data, where this road get speed class 6. Croping a bit 
tile area (outside the road) changes speed class to 3. See picture 
showing both cases, dark blue is class 6, green is class 3:
http://files.mkgmap.org.uk/download/173/speed-problem.png

I have prepared an example of source data:
http://files.mkgmap.org.uk/download/172/speed-problem.7z

It contains source data and a poly file for cropping. I have included 
batches, that I have used for creating maps.

Actually I'm not sure, what is the behavior of mkgmap:road-speed-class 
tag. I couldn't find any description. For example if I define a road 
like [0x03 road_class=3 road_speed=4 resolution 19], does it create 
mkgmap:road-speed-class=4?

-- 
Best regards,
Andrzej






More information about the mkgmap-dev mailing list