logo separator

[mkgmap-dev] Resolutions...

From Pinns UK osm at pinns.co.uk on Wed Mar 11 08:01:34 GMT 2020

Hi Gerd

Thanks that's clear.

I'm just experimenting with the default style rather than my own which 
is entirely geared towards hiking.

I can see there is some advantage using levels:

a)  you get a clearer picture of which elements get plotted at which 
zoom level

b) you only have to change the resolutions in the options file to test 
the zooming effects.

btw

a) Can you use the '--' in levels?

ie

natural=wood [0x50 level 2-4 ]

b) I have seen an options file which contains levels 0 --> 5

However in the style itself there is mention of a level 6 eventhough 
it's not defined in tghe options file

ie

area_city=*   [0x03 level 6 continue]

Is that 'allowed' ?

Regards

Nick

On 11/03/2020 06:56, Gerd Petermann wrote:
> Hi Nick,
>
> The behaviour changed in the past, but I think if the style produces an object for a max resolution X and no level covers exactly this resolution the max resolution is decremented to the next lower value covered by a level. If there is no such level the object is not added to the map.
>
> natural=coastline [0x15 resolution 12]
> is equal to
> natural=coastline [0x15 resolution 12-24]
>
> Not sure what you mean with
> "I remember in the past it was said the levels are better than resolutions"
> Do you suggest to change the default style to use level instead of resolution?
>
> Gerd
>
> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Pinns UK <osm at pinns.co.uk>
> Gesendet: Dienstag, 10. März 2020 18:30
> An: mkgmap-dev at lists.mkgmap.org.uk
> Betreff: Re: [mkgmap-dev] Resolutions...
>
> Hi Gerd
>
> Just to be a nuisance:
>
> If there is no level beyond level 3 in the default style, ie 4,12
>
> then all resolutions <18  contained in the default style (and there are
> quite a few!)  only get plotted at level 3?
>
> ie the lowest lines are a boundary  and    a coastline , both at res 12
>
> Do they only get plotted at level 3 , ie resolution 3
>
> I remember in the past it was said the levels are better than resolutions
>
> R
>
> Nick
>
> On 10/03/2020 13:46, Pinns UK wrote:
>> Thanks Gerd
>>
>> r
>>
>> Nick
>>
>> On 10/03/2020 12:51, Gerd Petermann wrote:
>>> Hi Nick,
>>>
>>> the meaning of these statements depends on the levels option. With
>>> the options in default style
>>> levels = 0:24, 1:22, 2:20, 3:18
>>> the resolution 23 and 22 are at level 1, so resolution  23 is
>>> actually rounded down to 22.
>>>
>>> Gerd
>>>
>>> ________________________________________
>>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag
>>> von nwillink <osm at pinns.co.uk>
>>> Gesendet: Dienstag, 10. März 2020 13:39
>>> An: mkgmap-dev at lists.mkgmap.org.uk
>>> Betreff: [mkgmap-dev] Resolutions...
>>>
>>> Hi
>>>
>>> Can anyone tell me what exactly the '-' in after resolutions means.
>>>
>>> I plotted a church resolution 21-23  only to find it does not include
>>> resolution 23.
>>>
>>> Somewhere I read that only the resolutions between the numbers are
>>> plotted.
>>>
>>> If that is the case what does 23-24 mean ? What resolution is there
>>> between
>>> 23 and 24
>>>
>>> What happens with resolution 23-23 ?
>>>
>>> Does 23-24 mean only level 23
>>> Is 24-23 different from 23-24?
>>>
>>> The manual does not seem to tackle this issue.
>>>
>>> btw
>>>
>>> Have noticed that Basecamp/Mapsource only plots 0x2c poi range at
>>> level 24
>>>
>>> So the following might never occur in some GPS devices is except at
>>> resolution 24
>>>
>>> 0x2c02 [resolution 21 ]
>>>
>>> This seems to affect :
>>>
>>> viewpoints,churches,castles, schools,amusement parks etc
>>>
>>> Regards
>>>
>>> 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
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> mkgmap-dev at lists.mkgmap.org.uk
>>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> 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