[mkgmap-dev] Error building DEM map
From Carlos Dávila cdavilam at orangecorreo.es on Tue Feb 27 22:06:00 GMT 2018
I'm facing an error compiling Algeria map with DEM, using SRTM1 hgt files. In a first run I use splitter as follows: java -Xmx6G -jar splitter.jar --max-nodes=2000000 --geonames-file=geonames/cities15000_$ABR.zip --mapid=551${FID}001 --output=o5m algeria.o5m It gives 5 tiles and when I run mkgmap on them [1], it takes a very long time and finally it fails with "Number of MapFailedExceptions: 1" and a huge (+7GB) log file I could not read. I have manually split problematic tile to a half its original size and then both resulting tiles fail to compile. After dividing them /2, 3 of the 4 tiles fail, but then mkgmap gives the following error: Exception in thread "main" java.lang.NegativeArraySizeException at uk.me.parabola.mkgmap.reader.hgt.HGTConverter.<init>(HGTConverter.java:85) at uk.me.parabola.imgfmt.app.dem.DEMFile.calc(DEMFile.java:76) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:341) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(OverviewBuilder.java:191) at uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuilder.java:104) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:679) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128) at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:143) at uk.me.parabola.mkgmap.main.Main.main(Main.java:114) And log contains over 10⁷ lines like this: WARNING (HGTConverter): 55129161.o5m: height interpolation returns void at 30.837045,2.094557 After 2 more /2 divisions I could build all tiles. The smallest failing tile can be downloaded from http://alternativaslibres.org/tmp/55129083.o5m [1] java -Xmx4500m -ea -Dlog.config=logging.properties -jar mkgmap.jar --block-size=2048 --dem=hgt/VIEW1,hgt/SRTM1,hgt/EU-DEM,hgt/VIEW3,hgt --dem-poly=polygons/$pais.poly --dem-dists=3312,6624,9936,13248,26512 --overview-dem-dist=128000 --output-dir=./tmp --gmapi --show-profiles=1 --bounds=bounds.zip --precomp-sea=sea.zip --max-jobs --route --latin1 --code-page=1252 --country-name=$PAIS --country-abbr=$ABR --area-name=$MAPA --family-name="OSM $MAPA DEM" --family-id=5$FID --product-id=1 --product-version=$VERSION --series-name="OSM-$MAPA-DEM" --overview-mapname=$ABR-5$FID --overview-mapnumber=555${FID}000 --name-tag-list=$NAMETAG --index --process-destination --process-exits --housenumbers --reduce-point-density=4 --polygon-size-limits="24:12, 18:10, 16:0" --add-pois-to-areas --link-pois-to-ways --location-autofill=is_in,nearest --drive-on=detect,$DRIVEON --check-roundabouts --check-roundabout-flares --license-file=license_OSM_${HGT} --copyright-file=copyright $LANGUAGE --road-name-config=$CONFIG --x-mdr7-del=GRADE0,GRADE1,GRADE2,GRADE3,GRADE4,GRADE5,GRADE6,GRADE7,UNNAMED --style=mio --remove-ovm-work-files=true -c ${pais}-DEM.args
- Previous message: [mkgmap-dev] Found multiple points with equal coords
- Next message: [mkgmap-dev] Error building DEM map
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list