logo separator

[mkgmap-dev] extended & routable types at different resolutions

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Thu Sep 19 10:51:02 BST 2019

Hi

Not an answer to your question, but maybe relevant:

The default style has, in "options":
levels = 0:24, 1:22, 2:20, 3:18

My reading of the "Style Conversion Manual" says that elements with 
a resolution between the levels are included in the higher res/lower
level map; ie. elements with [resolution xx-23] go into the level 0
map.

So, according to this, you will be getting 2 lines on top of each other
at the most detailed level.

If this isn't the case, the manual should be clarified.

Regard
Ticker 

On Thu, 2019-09-19 at 00:31 -0700, nwillink wrote:
> Hi All
> 
> I noticed default style uses extended types for roundabouts  with a
> matching
> routable line. However
> extended lines are plotted starting at a lower resolution, ie
> 
> Resolution 24
> junction=roundabout & (highway=trunk | highway=trunk_link) [0x0c
> road_class=4 road_speed=2 resolution 24 continue]
> Resoiution 18
> junction=roundabout & (highway=trunk | highway=trunk_link) [0x10801
> resolution 18]
> 
> In this case it does not seem to matter if 0x0c starts at resolution
> 24
> rather than 18, or does it?
> 
> Can we presume that all  routable lines only require resolution 24 ,
> ie
> 
> a) highway=motorway [0x100 resolution 16-20 continue] # thinnest 
>  line
> b) highway=motorway [0x101 resolution 21-23 continue] # thinner line
> c) highway=motorway [0x01 road_class=4 road_speed=7 resolution 24] #
> default
> line
> 
> Will this affect routing across tiles ?
> 
> At the moment I'm adding a transparent routable line to  a & b ie
> 
> a) highway=motorway [0x100 resolution 16-20 continue] # thinnest 
>  line
>  highway=motorway [0x17  road_class=4 road_speed=7 resolution 16-20
> continue] 
> b) highway=motorway [0x101 resolution 21-23 continue] # thinner line
>  highway=motorway [0x17 road_class=4 road_speed=7 resolution 21-23
> continue] 
> 
> Any ideas?
> 
> Thanks
> 
> Nick
> 
> 
> 
> 
> 
> 
> --
> Sent from: 
> http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list