osmosis icon indicating copy to clipboard operation
osmosis copied to clipboard

osmosis-0.48.3 cannot fully process an osc file

Open ystsoi opened this issue 1 year ago • 2 comments

The affected file is: https://planet.openstreetmap.org/replication/day/000/003/849.osc.gz

Try: ./osmosis-0.48.3/bin/osmosis --rxc 849.osc.gz --wxc out

You will find that the last output entity is a node with ID 10764402217. The following entities are skipped.

ystsoi avatar Mar 29 '23 14:03 ystsoi

It seems that this issue can be worked around by decompressing 849.osc.gz first.

The following is OK: ./osmosis-0.48.3/bin/osmosis --rxc 849.osc --wxc out

ystsoi avatar Mar 31 '23 10:03 ystsoi

Another file which will cause exception: https://planet.openstreetmap.org/replication/day/000/003/872.osc.gz

./osmosis-0.48.3/bin/osmosis --rxc 872.osc --wxc out will cause: org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to unzip gz file 872.osc.

No exception if removed: osmosis-0.48.3/lib/default/xercesImpl-2.12.0.jar

Maybe, caused by: https://issues.apache.org/jira/browse/XERCESJ-1668

ystsoi avatar Apr 20 '23 13:04 ystsoi