[PATCH v1] Re: [mkgmap-dev] maxspeed tag vs road_speed preset
From Mark Burton markb at ordern.com on Thu May 21 08:47:04 BST 2009
Hi Thilo, > the relationship between the maxspeed tag and the road_speed is > hardcoded in mkgmap. This is reasonable in general, because otherwise > the style files had to be much larger to cover all the possible > road_speeds per road. But if you want to use the road_speed in a > creative way (say for a cycle map) this gets in the way. > > The evaluation of the maxspeed tag is implemented in src/uk/me/ > parabola/mkgmap/osmstyle/StyledConverter.java. The following patch > will remove it. It occurs to me that some people will want the maxspeed tag to override the speed code in the rules file (obviously, the person who wrote that code thought it was a good idea) but others, like Marco, would prefer not to have that feature. So, I guess, we need (yet another) option to control this behaviour. I attach a patch that does, essentially, the same thing as your patch with the addition that you can switch that behaviour on and off. Cheers, Mark -------------- next part -------------- A non-text attachment was scrubbed... Name: mb-ignore-maxspeeds-v1.patch Type: text/x-patch Size: 3128 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090521/6fb77b94/attachment.bin
- Previous message: [mkgmap-dev] maxspeed tag vs road_speed preset
- Next message: [PATCH v1] Re: [mkgmap-dev] maxspeed tag vs road_speed preset
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list