Opened 9 years ago
Closed 8 years ago
#12567 closed defect (fixed)
Error trying to import osm.pbf map with 50000 nodes, get java.lang.IndexOutOfBoundsException: Index: 0
Reported by: | gregcrago | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin pbf | Version: | latest |
Keywords: | template_report | Cc: |
Description
downloaded michigan-latest.osm.pbf from
http://download.geofabrik.de/north-america.html
used splitter with the following command:
java -Xmx1024m -Xms1024m -ea -jar \MKGMAP\splitter-r427\splitter.jar --max-nodes=50000 --mapid="12390000" --geonames-file=\MKGMAP\cities15000.zip --description=MI-greg --max-areas="255" --no-trim --status-freq="600" michigan-latest.osm.pbf
This produced many individual maps, all at 50,000 nodes or less
When I try to import in JOSM v9329 with pbf plugin v31772
I get this error when I try to import a map:
Could not read file '12390000.osm.pbf'. Error is: java.lang.IndexOutOfBoundsException: Index: 0
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2016-01-06 17:30:31 +0100 (Wed, 06 Jan 2016) Build-Date:2016-01-06 16:32:31 Revision:9329 Relative:URL: ^/trunk Identification: JOSM/1.5 (9329 en) Windows 7 64-Bit Memory Usage: 989 MB / 989 MB (811 MB allocated, but free) Java version: 1.8.0_40, Oracle Corporation, Java HotSpot(TM) Client VM Plugins: - pbf (31772) Last errors/warnings: - E: org.openstreetmap.josm.io.IllegalDataException: java.lang.IndexOutOfBoundsException: Index: 0. Cause: java.lang.IndexOutOfBoundsException: Index: 0
Attachments (1)
Change History (3)
by , 9 years ago
Attachment: | 12390008.osm.pbf added |
---|
comment:1 by , 9 years ago
Component: | Plugin → Plugin pbf |
---|---|
Owner: | changed from | to
same error happens when this file opened in JOSM