splitter: issues when splitting planet

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

Hi Gerd, sorry for being off topic, but the following patch is permanently in my workspace and begins to be a real pita... ;) Maybe it could be included in the next splitter release? Best regards, Uli src.patch <http://gis.19327.n8.nabble.com/file/n5886439/src.patch> -- View this message in context: http://gis.19327.n8.nabble.com/splitter-issues-when-splitting-planet-tp58864... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hi Uli, thanks, committed with r444: http://www.mkgmap.org.uk/websvn/revision.php?repname=splitter&rev=444 Gerd Von: UliBaer<mailto:ulibaer@gmail.com> Gesendet: Donnerstag, 24. November 2016 11:52 An: mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] splitter: issues when splitting planet Hi Gerd, sorry for being off topic, but the following patch is permanently in my workspace and begins to be a real pita... ;) Maybe it could be included in the next splitter release? Best regards, Uli src.patch <http://gis.19327.n8.nabble.com/file/n5886439/src.patch> -- View this message in context: http://gis.19327.n8.nabble.com/splitter-issues-when-splitting-planet-tp58864... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Gerd Petermann
-
UliBaer