logo separator

[mkgmap-dev] splitter: issues when splitting planet

From Gerd Petermann GPetermann_muenchen at hotmail.com on Thu Nov 24 08:46:42 GMT 2016

Hi all,


during the last days I noticed that splitter is about to reach an internal limit when you split planet with a rather small max-nodes value, e.g. max-nodes=800000.

The log contains many lines like this:

way MAP occupancy: 32.000.000, number of area dictionary entries: 58132 of 65535


If the number of dictionary entries gets to 65535 (Short.MaxValue) splitter will fail. To fix this problem I plan to change splitter to use another data structure

which will int values and allows to store much more entries. The drawback is that this will require more memory, maybe much more. My current estimation is +1GB


Those who split planet: Please check the splitter log , esp. the last line that start with "way MAP occupancy". If you are close to 65535 consider to use a higher

max-nodes value until I have coded the new data structures.


Gerd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20161124/2097a7e9/attachment-0001.html>


More information about the mkgmap-dev mailing list