logo separator

[mkgmap-dev] Possibility to not put certain lines into resolution=24, but e.g. only 18 and 20?

From Gert Münzel Gert.Muenzel at netcologne.de on Wed Dec 2 11:52:57 GMT 2009

Hi, Felix,

Felix Hartmann *wrotes on* /Tue Dec 1 19:21:11 GMT 2009/
>
> 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?
According to the cgpsmapper manual revision 2.5. page 45  Point 4.4.3  
Using level when defining map objects ,
cgpsmapper could compile maps in that requested way, if you provide 
input which is prepared for this.
Although the standard use is to have different shapes of an object for 
different levels, it is possible to have map objects only on distinct 
levels..
if you e.g make entries in the mp-file like this:
[POLYLINE]
Type=0x3
Label=~[0x06]B58 WESELER STRASSE
RoadID=4285
RouteParam=1,0,0,0,0,0,0,0,0,0,0,0
Data0=(50.91893,6.94975),(50.91905,6.94988),(50.91927,6.95005),(50.91942,6.95012),(50.91955,6.95020),(50.91968,6.95055),(50.91970,6.95072),(50.91972,6.95132),(50.91987,6.95207),(50.91994,6.95239),(50.91987,6.95276),(50.91957,6.95332),(50.91968,6.95362),(50.91978,6.95383),(50.91981,6.95385),(50.91983,6.95394),(50.91987,6.95411),(50.91985,6.95471),(50.91953,6.95555),(50.91949,6.95570),(50.91940,6.95598),(50.91933,6.95611),(50.91914,6.95647),(50.91897,6.95720),(50.91867,6.95808),(50.91884,6.95834),(50.91886,6.95847),(50.91916,6.95919),(50.91944,6.95980),(50.91949,6.95992)
Nod1=0,4102,0
Nod2=24,4285,0
Nod3=27,4319,0
Nod4=29,4344,0
[END]

[POLYLINE]
Type=0x14
Label=~[0x06]B58 WESELER STRASSE
Data1=(50.91893,6.94975),(50.91905,6.94988),(50.91927,6.95005),(50.91942,6.95012),(50.91955,6.95020),(50.91968,6.95055),(50.91970,6.95072),(50.91972,6.95132),(50.91987,6.95207),(50.91994,6.95239),(50.91987,6.95276),(50.91957,6.95332),(50.91968,6.95362),(50.91978,6.95383),(50.91981,6.95385),(50.91983,6.95394),(50.91987,6.95411),(50.91985,6.95471),(50.91953,6.95555),(50.91949,6.95570),(50.91940,6.95598),(50.91933,6.95611),(50.91914,6.95647),(50.91897,6.95720),(50.91867,6.95808),(50.91884,6.95834),(50.91886,6.95847),(50.91916,6.95919),(50.91944,6.95980),(50.91949,6.95992)
[END]

In the resulting img you get a line of the same shape with Type=0x3 in 
level0 and Type=0x14 in level1

cheers
Gert




More information about the mkgmap-dev mailing list