logo separator

[mkgmap-dev] Misplaced boundary POI

From dfjkman at gmail.com dfjkman at gmail.com on Mon Jul 5 17:54:14 BST 2021

Hi Gerd,


The other day I noticed that the country name along the boundary between
Zambia and Zimbabwe was misplaced in 2 regions, see the attached images. The
name also switches at different detail levels in BaseCamp, at Medium and
High it shows Zimbabwe north of the border and at Higher and Highest it
shows Zambia. The POI to the east would appear to have both Zambia and
Zimbabwe assigned to it while to the west, near Livingstone, would appear to
be 2 separate POIs.


I have created a map with only the boundaries to show this clearly as it is
missed when the map has more detail in it. The map was created from
zambia-latest.osm.pbf from Geofabrik and split using Splitter version 615
with the following options:


java -jar -Xmx2g  C:\Users\Dave\Documents\Maps\Utils\splitter\splitter.jar



                              --description="ZM_OSM Map" 





The map was created with mkgmap-r4801, although I have noticed it with
earlier versions. Options as follows:


Java -jar -Xmx7g C:\Users\Dave\Documents\Maps\Utils\mkgmap\mkgmap.jar







In  the basic boundary style I have the following files:


               levels = 0:24, 1:22, 2:20, 3:18

               overview-levels = 4:17, 5:16, 6:15, 7:14, 8:13


               boundary=administrative & admin_level<3 [0x1e resolution 12]


               boundary = administrative & mkgmap:area2poi = true &
admin_level = 2               [0x1400 resolution 16-20]


name = * {name '${name}'}


This is not something that overly worries me but if it happens here it may
happen elsewhere and be missed. I have not analysed my maps to see if it
happens with other provincial or district boundaries.

Kind regards,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210705/cd6d1127/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Boundary_2.png
Type: image/png
Size: 132233 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210705/cd6d1127/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Boundary_1.png
Type: image/png
Size: 132283 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210705/cd6d1127/attachment-0003.png>

More information about the mkgmap-dev mailing list