[mkgmap-dev] What the "crosby.binary.file.FileFormatException: ... Possibly corrupt file." means in splitter
From maning sambale emmanuel.sambale at gmail.com on Fri Oct 19 09:22:23 BST 2012
When running splitter (r178) I get a long header error. Whta does this mean? Thanks! Log below. java -jar -Xmx2012m splitter.jar --max-nodes=1000000 philippines.osm.pbf --output=xml --write-kml=split.kml --output-dir=/home/maning/osm/routable_garmin/dev/split cache= description= geonames-file= legacy-mode=false mapid=63240001 max-areas=255 max-nodes=1000000 max-threads=4 (auto) mixed=false no-trim=false output=xml output-dir=/home/maning/osm/routable_garmin/dev/split overlap=2000 resolution=13 split-file= status-freq=120 write-kml=split.kml Elapsed time: 0s Memory: Current 59MB (1MB used, 58MB free) Max 1788MB Time started: Fri Oct 19 16:12:04 PHT 2012 Map is being split for resolution 13: - area boundaries are aligned to 0x800 map units - areas are multiples of 0x1000 map units wide and high Processing philippines.osm.pbf Bounding box 115.6329 4.4243380000000005 127.80030000000001 21.552770000000002 crosby.binary.file.FileFormatException: Unexpectedly long header 65536 bytes. Possibly corrupt file. at crosby.binary.file.FileBlockHead.readHead(FileBlockHead.java:50) at crosby.binary.file.FileBlock.process(FileBlock.java:130) at crosby.binary.file.BlockInputStream.process(BlockInputStream.java:34) at uk.me.parabola.splitter.Main.processMap(Main.java:403) at uk.me.parabola.splitter.Main.calculateAreas(Main.java:287) at uk.me.parabola.splitter.Main.split(Main.java:163) at uk.me.parabola.splitter.Main.start(Main.java:118) at uk.me.parabola.splitter.Main.main(Main.java:107) in 1 file Time: Fri Oct 19 16:12:07 PHT 2012 Exact map coverage is (4.424335956573486,115.63288450241089) to (21.552751064300537,127.80028581619263) Trimmed and rounded map coverage is (4.4384765625,115.6201171875) to (21.5771484375,127.1337890625) Splitting nodes into areas containing a maximum of 1,000,000 nodes each... Area (4.4384765625,115.6201171875) to (12.4365234375,123.9697265625) contains 632,537 nodes. DONE! Area (4.7900390625,123.9697265625) to (8.3935546875,127.1337890625) contains 602,799 nodes. DONE! Area (8.3935546875,123.9697265625) to (12.4365234375,126.6064453125) contains 405,451 nodes. DONE! Area (12.4365234375,117.4658203125) to (15.0732421875,121.0693359375) contains 877,687 nodes. DONE! Area (15.0732421875,117.4658203125) to (21.5771484375,121.0693359375) contains 540,446 nodes. DONE! Area (12.4365234375,121.0693359375) to (21.5771484375,127.1337890625) contains 899,083 nodes. DONE! 6 areas: Area 63240001 covers (0xab800,0x538800) to (0xf5800,0x561800) Area 63240002 covers (0x32800,0x523800) to (0x8d800,0x582800) Area 63240003 covers (0x8d800,0x561800) to (0xf5800,0x5a6800) Area 63240004 covers (0x5f800,0x582800) to (0x8d800,0x5a0800) Area 63240005 covers (0x8d800,0x538800) to (0xab800,0x561800) Area 63240006 covers (0x36800,0x582800) to (0x5f800,0x5a6800) Writing KML file to /home/maning/osm/routable_garmin/dev/split/split.kml Writing out split osm files Fri Oct 19 16:12:07 PHT 2012 Processing 6 areas in a single pass Starting pass 1 of 1, processing 6 areas (63240001 to 63240006) Making SparseMultiMap Making SparseMultiMap Processing philippines.osm.pbf Bounding box 115.6329 4.4243380000000005 127.80030000000001 21.552770000000002 Making SparseMultiMap Making SparseMultiMap MAP occupancy: 863818 MAP occupancy: 133665 MAP occupancy: 2517 MAP occupancy: 1729508 MAP occupancy: 267080 MAP occupancy: 3412 MAP occupancy: 2609422 MAP occupancy: 386314 MAP occupancy: 4264 MAP occupancy: 3528241 MAP occupancy: 467495 MAP occupancy: 4264 Writing ways Fri Oct 19 16:12:39 PHT 2012 Making SparseMultiMap Making SparseMultiMap Making SparseMultiMap Making SparseMultiMap Making SparseMultiMap Writing relations Fri Oct 19 16:12:44 PHT 2012 crosby.binary.file.FileFormatException: Unexpectedly long header 65536 bytes. Possibly corrupt file. at crosby.binary.file.FileBlockHead.readHead(FileBlockHead.java:50) at crosby.binary.file.FileBlock.process(FileBlock.java:130) at crosby.binary.file.BlockInputStream.process(BlockInputStream.java:34) at uk.me.parabola.splitter.Main.processMap(Main.java:403) at uk.me.parabola.splitter.Main.writeAreas(Main.java:368) at uk.me.parabola.splitter.Main.split(Main.java:190) at uk.me.parabola.splitter.Main.start(Main.java:118) at uk.me.parabola.splitter.Main.main(Main.java:107) coords occupancy MAP occupancy: 3958005 MAP occupancy: 503809 MAP occupancy: 4390 ways occupancy MAP occupancy: 399215 MAP occupancy: 76577 MAP occupancy: 207 MAP occupancy: 3 MAP occupancy: 1 MAP occupancy: 1 Thread worker-2 has finished Thread worker-0 has finished Thread worker-1 has finished Time finished: Fri Oct 19 16:12:44 PHT 2012 -- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------
- Previous message: [mkgmap-dev] Contour in the UK
- Next message: [mkgmap-dev] What the "crosby.binary.file.FileFormatException: ... Possibly corrupt file." means in splitter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list