Modify

Opened 8 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)

12390008.osm.pbf (735.1 KB ) - added by gregcrago 8 years ago.
same error happens when this file opened in JOSM

Download all attachments as: .zip

Change History (3)

by gregcrago, 8 years ago

Attachment: 12390008.osm.pbf added

same error happens when this file opened in JOSM

comment:1 by Klumbumbus, 8 years ago

Component: PluginPlugin pbf
Owner: changed from team to Don-vip

comment:2 by Don-vip, 8 years ago

Resolution: fixed
Status: newclosed

Fixed in [o32859:32861].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.