spitter-r242: IllegalArgumentException: New key is not higher than last key

Hi, I get an IllegalArgumentException when starting the splitter r242 with an OSM extract exported from www.openstreetmap.org. Attached is a zip file containing the log of the splitter run and the test data. I know that the data file is small so that it doesn't need to be split but it should work anyhow. WanMil

Hello Wanmil, WanMil wrote
Hi,
I get an IllegalArgumentException when starting the splitter r242 with an OSM extract exported from www.openstreetmap.org.
Attached is a zip file containing the log of the splitter run and the test data. I know that the data file is small so that it doesn't need to be split but it should work anyhow.
Please note that the data is mixed (the way ids are not sorted, on 119776177 follows 40521632. This is not supported by r242 with --keep-complete=true. It is possible to allow that (again), but will require to fill some large TreeMaps. What do you think? Gerd -- View this message in context: http://gis.19327.n5.nabble.com/spitter-r242-IllegalArgumentException-New-key... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Hello Wanmil,
WanMil wrote
Hi,
I get an IllegalArgumentException when starting the splitter r242 with an OSM extract exported from www.openstreetmap.org.
Attached is a zip file containing the log of the splitter run and the test data. I know that the data file is small so that it doesn't need to be split but it should work anyhow.
Please note that the data is mixed (the way ids are not sorted, on 119776177 follows 40521632. This is not supported by r242 with --keep-complete=true. It is possible to allow that (again), but will require to fill some large TreeMaps. What do you think?
Gerd
I don't mind. But a good error message like "ids are not sorted. This is not supported with keep-complete=true" would be great. WanMil

WanMil wrote
I don't mind. But a good error message like "ids are not sorted. This is not supported with keep-complete=true" would be great.
OK, I've added that with r243. Gerd -- View this message in context: http://gis.19327.n5.nabble.com/spitter-r242-IllegalArgumentException-New-key... Sent from the Mkgmap Development mailing list archive at Nabble.com.
participants (2)
-
GerdP
-
WanMil