logo separator

[mkgmap-dev] Problematic tile

From Carlos Dávila cdavilam at orangecorreo.es on Fri Nov 14 08:09:01 GMT 2014

I'm trying to build a map of Asia, but one tile fails to compile, giving 
an OutOfMemoryError. Input file is a custom Asia excerpt obtained with 
the following poly [1]. Problematic tile can be obtained from [2]. It's 
bbox from splitter is 51700183: 3043328,5879808 to 3856384,8388608 
(65.302734,126.166992 to 82.749023,180.000000). It fails with my own 
style but also with default. My commands:
splitter:
java -Xmx4000M -jar splitter.jar --keep-complete 
--geonames-file=geonames/cities15000.zip --max-nodes=1400000 --no-trim 
--precomp-sea --mapid=51700002 --output=o5m asia-right.o5m

mkgmap:
java -Xmx6G -enableassertions -Dlog.config=logging.properties -jar 
mkgmap.jar --output-dir=./tmp --max-jobs --bounds=bounds.zip 
--precomp-sea=sea --route --latin1 --code-page=1252 --area-name=Asia 
--family-name="OpenStreetMap Asia" --family-id=170 --product-id=1 
--series-name="OSM-Asia" --overview-mapname=ASI-170 
--overview-mapnumber=51700000 
--name-tag-list=int_name,name:en,name:fr,name --index 
--process-destination --process-exits --housenumbers 
--reduce-point-density=4 --reduce-point-density-polygon=8 
--polygon-size-limits="24:12, 18:10, 16:0" --add-pois-to-areas 
--adjust-turn-headings --report-similar-arcs --link-pois-to-ways 
--location-autofill=is_in,nearest --drive-on-right --check-roundabouts 
--check-roundabout-flares --license-file=license_ODbL.txt 
--copyright-message="OpenStreetMap contributors, ODbL. See: 
http://www.openstreetmap.org/copyright" 51700183.o5m

It seems as if it goes into some kind of loop until it exceeds available 
heap. Any idea why it could happen?

[1] http://mapas.alternativaslibres.es/asia-right.poly
[2] http://mapas.alternativaslibres.es/51700183.o5m


More information about the mkgmap-dev mailing list