logo separator

[mkgmap-dev] Adaptions in style (needed to make good use of) for overview2 branch

From Felix Hartmann extremecarver at gmail.com on Tue May 7 22:00:03 BST 2013

Oh forgot one important line:
(place=capitol | place=capital)   & name=*  {set cityxx=yes} [0x0200
resolution 14 continue with_actions ]

just add it after the first place=capitol line... else some capital cities
don't appear...


On 7 May 2013 13:44, Felix Hartmann <extremecarver at gmail.com> wrote:

>  So - I've played around a bit - just rendering Europe for right now -
> actually I would suggest the following (needs some adaptations in the
> lines/poi file though):
> levels = 0:24, 1:22, 2:20, 3:18
>
> overview-levels = 4:17, 5:16, 6:15, 7:14, 8:12....
> This should give quite sensible map detail for European countries, or
> Europe as a continent - without getting near to crash the overview map,
> because it 's getting too big.
> I'm unsure whether we should add a completly empty 9:11 or 9:10 so that
> when zooming out superfar, the map get's blank instead of a pixel mashup...
>
> We definitely do need resolutions 14 and 12 in the overview map. They help
> tremendously when opening big maps in orientation - without the dreaded
> setting of details to max setting. As the speed of drawing is now very fast
> compared to before, resolution 14 and 12 with data do make lot of sense!
>
> Level 8 should only contain capitals and country borders.
>
> Here are some adpation proposals for *points file* - add this before any
> other POI - due to continue other pois will still be included:
>
> (place=capitol | place=capital)    & population > 999999 & name=*  {set
> cityxx=yes} [0x0100 resolution 12 continue with_actions ]
> place=city & population > 799999 & cityxx!=yes & name=*  {set cityxx=yes}
> [0x0200 resolution 14 continue with_actions ]
> place=city & population > 399999 & cityxx!=yes & name=*  {set cityxx=yes}
> [0x0300 resolution 15 continue with_actions ]
> place=city & population > 299999 & cityxx!=yes & name=*  {set cityxx=yes}
> [0x0400 resolution 16 continue with_actions ]
> place=city & population > 199999 & cityxx!=yes & name=*  {set cityxx=yes}
> [0x0500 resolution 16 continue with_actions ]
> place=city & population >  99999 & cityxx!=yes & name=*  {set cityxx=yes}
> [0x0600 resolution 17 continue with_actions ]
> place=city & population >  49999 & cityxx!=yes & name=*  {set cityxx=yes}
> [0x0700 resolution 17 continue with_actions ]
> place=city & population >   9999 & cityxx!=yes & name=*  {set cityxx=yes}
> [0x0800 resolution 18 continue with_actions ]
>
> place=city & population >       0 & cityxx!=yes & name=*  {set cityxx=yes}
> [0x0800 resolution 18 continue with_actions ]
> place=city                          & cityxx!=yes & name=*  {set
> cityxx=yes} [0x0700 resolution 18 continue with_actions ]
>
> place=town   & population >  69999 & cityxx!=yes  & name=* {set
> cityxx=yes} [0x0600 resolution 17 continue with_actions ]
> place=town   & population >  19999 & cityxx!=yes  & name=* {set
> cityxx=yes} [0x0700 resolution 18 continue with_actions ]
> place=town   & population >   9999 & cityxx!=yes  & name=* {set
> cityxx=yes} [0x0800 resolution 19 continue with_actions ]
> place=town   & population >   4999 & cityxx!=yes  & name=* {set
> cityxx=yes} [0x0900 resolution 19 continue with_actions ]
> place=town   & population >    999 & cityxx!=yes  & name=* {set
> cityxx=yes} [0x0a00 resolution 19 continue with_actions ]
> place=town   & population >         0 & cityxx!=yes  & name=* {set
> cityxx=yes} [0x0b00 resolution 20 continue with_actions ]
> place=town                            & cityxx!=yes  & name=* {set
> cityxx=yes} [0x0800 resolution 19 continue with_actions ]
>
>
> *Relations file:*
> route=road & network=e-road { apply { add ref='${ref'; add
> int_ref='${int_ref'}; set network=e-road }
>
>
>
> *Lines file*
> # (the main routing part needs to be adapted to only start with level 21)
> - this here can then start the lines file:
> highway=motorway & network=e-road       [0x01 resolution 14-14 continue]
> highway=motorway                                        [0x01 resolution
> 15-20 continue]
> highway=trunk & network=e-road           [0x02 resolution 15-17 continue]
> highway=trunk                                                 [0x02
> resolution 18-20 continue]
>
> highway=primary & network=e-road          [0x03 resolution 16-18 continue]
> highway=primary                                           [0x03 resolution
> 19-20 continue]
>
> highway=secondary & network=e-road     [0x04 resolution 17-18 continue]
> highway=secondary                                      [0x04 resolution
> 19-20 continue]
> # Maybe add main rivers - but how to know what are the biggest rivers
> worldwide? There doesn't exist a relation/network thingy so far AFAIK.
> # country borders are already at 12. Dunno if they maybe should stop at 14
> already.
>
> *Polygons file:*
> # I would propose to only show sea/land up to resolution 17 by default.
> Maybe forest/wood and other very important big objects also in 17?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130507/f7164276/attachment.html 


More information about the mkgmap-dev mailing list