logo separator

[mkgmap-dev] POI (point) resolution problem

From Alexandre Loss alexandre.loss at gmail.com on Fri Feb 12 11:59:49 GMT 2016

Hi guys,

I have noticed that the resolution set in the styles' point file is not
considered for some types of POI.
I'm not sure if this behavior is my fault or a mkgmap bug and therefore I
ask your help.

To report the problem I have prepared a small fictitious map containing
only two streets, a city point, a airport point and a police station point
(the attachment 03137600-lagoa_santa.osm).

I'm using the latest version of mkgmap (3666) and the original default
styles as-is.

Attached also the arguments file used: TRU-Teste.args

And I'm running mkgmap whit the following command: java -jar mkgmap.jar
--style-file=default -c TRU-Teste.args


*The first test*

In the first test I set/left the resolution as follow:
aeroway=airport [0x2f04 resolution 22]
amenity=police [0x3001 resolution *24*]

And the following images are the results zooming in Mapsource. As expected,
the police point starts to be visible in a zoom of 200m:
[image: Imagem inline 1]  [image: Imagem inline 2]  [image: Imagem inline 3]


*The second test*

In the second test, I changed the police resolution to 20, expecting that
Police begins to be visible before than airport.
aeroway=airport [0x2f04 resolution 22]
amenity=police [0x3001 resolution *20*]

However, as you can see in the below images extracted from Mapsource,
police point continues to be visible only from a zoom of  200m.
[image: Imagem inline 5]  [image: Imagem inline 4]

So, that's it!
Do you have any idea of whats wrong?

Thanks,

Alexandre Loss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160212/f07544de/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 12305 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160212/f07544de/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 9748 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160212/f07544de/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 12855 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160212/f07544de/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 11475 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160212/f07544de/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 12305 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160212/f07544de/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03137600-lagoa_santa.osm
Type: application/octet-stream
Size: 3300 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160212/f07544de/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TRU-Teste.args
Type: application/octet-stream
Size: 494 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160212/f07544de/attachment-0003.obj>


More information about the mkgmap-dev mailing list