[mkgmap-dev] maxspeed tag vs road_speed preset
From Marco Certelli marco_certelli at yahoo.it on Wed May 20 20:38:28 BST 2009
Hi First of all: great job. And now, my issue: I'm trying to make some personal styles but I encountered the following problem: if a highway has a maxspeed tag in OSM, whatever road_speed I put in the style, it seems it is ignored for a value that is decided by mkgmap based on the OSM tag. If I put some lines like those: .... highway=trunk & maxspeed>100 [0x02 road_class=4 road_speed=5 resolution 16] highway=trunk & maxspeed>80 [0x02 road_class=3 road_speed=5 resolution 16] highway=trunk & maxspeed>60 [0x02 road_class=3 road_speed=4 resolution 16] highway=trunk & maxspeed<61 [0x02 road_class=3 road_speed=3 resolution 16] highway=trunk [0x02 road_class=3 road_speed=5 resolution 16] .... it seems it is not working as I expected: if the trunk has a maxspeed tag in OSM, it always get a road_speed value that is independent by the one I've declared in the style (I don't know if it is the same for the road_class); if the trunk has not maxspeed, it takes the default row (last one) in the style. I'm sure the style row is parsed and selected correctly in accordance with the maxspeed tag, but the road_speed is not set as I would like. If this is a wanted feature of mkgmap, the relationship between the maxspeed in the OSM data and the road_speed parameter given to the way should be configurable in some way and should be configurable per highway type. Can you help me? Ciao, Marco. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090520/576867db/attachment.html
- Previous message: [mkgmap-dev] Greetings from Bratislava
- Next message: [mkgmap-dev] maxspeed tag vs road_speed preset
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list