[mkgmap-dev] Possibility to not put certain lines into resolution=24, but e.g. only 18 and 20?
From Felix Hartmann extremecarver at googlemail.com on Wed Dec 2 20:36:23 GMT 2009
On 02.12.2009 21:09, Johann Gail wrote: > >>>> I think that neither Garmin nor cgpsmapper compiler do this, but >>>> would there be a possibility to start some lines only in resolution >>>> 20, while the rest of the map is starting at 24? >>>> >>> I have just looked at the source. Guess what, it is already in there! >>> >>> The syntax should be >>> >>> [0x01 resolution Max-Min] >>> e.g. >>> [0x01 resolution 24-21] >>> [0x01 resolution 20-16] >>> >>> >>> I have not tested this, just read this from the source. >>> >>> Regards, >>> Johann >> Okay, so however this would mean on can only use one type per "line" >> - or can I put >> highway=* [0x01 resolution 24-21] [0x02 resolution 20-16] >> ??? >> > Nice idea, but will not work. > At the moment you will have to use two lines and hope someone will > correct the continue patch :-) -- Can't use it for the lines I need to duplicate, because I am already using the continue patch for them (with continue patch it is not possible to continue twice for the same tag, which is of course the right decision - because otherwise it would not be able to use it for complex rules) I think it is not the continue patch that should be adapted for this function, but the" [] " code on reading out the style-file. changing it to [0x01 road_class=4 road_speed=7 resolution 24-21; 0x02 resolution 20-18; 0x03 resolution 17-14] would be perfect. The code is still usable (meaning working) as I just tried out. so it would only need to be extended. If someone wants to use it for lines where no "continue" is already in use, he of course can go ahead. > I have no insight into this continue story and can't help here. > >
- Previous message: [mkgmap-dev] Problem with args file
- Next message: [mkgmap-dev] Commit: r1414: Fix turn restriction breakage introduced by r1412.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list