Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osmosis-0.48.3 cannot fully process an osc file #130

Open
ystsoi opened this issue Mar 29, 2023 · 2 comments
Open

osmosis-0.48.3 cannot fully process an osc file #130

ystsoi opened this issue Mar 29, 2023 · 2 comments

Comments

@ystsoi
Copy link

ystsoi commented Mar 29, 2023

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
Copy link
Author

ystsoi commented Mar 31, 2023

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
Copy link
Author

ystsoi commented Apr 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant