logo separator

[mkgmap-dev] Deathloop on splitting file created by splitter if using argentina.poly --polygon-file

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Dec 17 08:20:15 GMT 2022

Hi Felix,

cannot reproduce the loop here. Maybe the content of the current argentina.poly differs from yours?

BTW: I see much better runtime with just java -jar -Xmx4G d:\splitter\dist\splitter.jar
instead of java  -XX:+AggressiveHeap -Xms5000M -Xmx40000m -jar d:\splitter\dist\splitter.jar using openjdk version "11.0.15" 2022-04-19

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver at gmail.com>
Gesendet: Samstag, 17. Dezember 2022 07:30
An: Development list for mkgmap
Betreff: [mkgmap-dev] Deathloop on splitting file created by splitter if using argentina.poly --polygon-file

Hi,

I tried resplitting a file that was too big for the map creation using splitter - and if I use the boundary file splitter.jar is getting stuck finding a solution (until killed).

Command:
start /belownormal /b /wait java -XX:+AggressiveHeap -Xms5000M -Xmx40000m -jar C:\openmtbmap\splitter.jar --max-nodes=1400000 --output=o5m --geonames-file=E:\openmtbmap\osmpbf_geofabrik\cities5000.zip --polygon-file=E:\OpenMTBMap\osmpbf_geofabrik\argentina.poly --description=argentina --mapid=64700017 "64700010.o5m"

If leaving out the polygon-file it works without problems to resplit it again.

Command used to create the file that fails to be splitted again:
C:\openmtbmap\splitter.jar "--precomp-sea=E:\OpenMTBMap\osmpbf_geofabrik\sea.zip" --polygon-file=E:\OpenMTBMap\osmpbf_geofabrik\argentina.poly --max-nodes=2800000 --max-threads=11 --search-limit=1000000 --output=o5m "--keep-complete" --route-rel-values=mtb,bicycle,foot,hiking,road,mountainbike,ferry,shuttle_train,subway,train,tram,river,canal,ski,piste,walking --max-areas=4000  --geonames-file=E:\OpenMTBMap\osmpbf_geofabrik\cities5000.zip  --description=argentina --mapid=64700000 E:\OpenMTBMap\osmpbf_geofabrik\argentina.o5m  1>NUL

However I also uploaded the file for debug:
https://openmtbmap.org/64700010.o5m

I don't think there is a problem in general with splitting a file splitted by spliter.jar again using smaller max-nodes and using polygon-file option. Something is special here that it fails (happened already one week ago with a 7 day older geofabrik extract)

--
Felix Hartman - Outdoormaps LTD - Openmtbmap.org & VeloMap.org



More information about the mkgmap-dev mailing list