osm4j-pbf icon indicating copy to clipboard operation
osm4j-pbf copied to clipboard

Check for presence of user metadata subset

Open mojodna opened this issue 6 years ago • 7 comments

Some PBFs may contain partial metadata without empty values for uid, user, and changeset. This prevents an IndexOutOfBoundsException when attempting to read such files.

I don't know how to generate such a PBF for a test fixture (and Peru is too large), so swapping in http://download.geofabrik.de/south-america/peru-180101.osm.pbf for data-with-metadata.pbf will trigger the bug in TestReadWithMetadata.

mojodna avatar May 05 '18 16:05 mojodna