tippecanoe
tippecanoe copied to clipboard
tile-join: unknown pbf field type exception
While testing tile-join built from commit 065cc1d I encountered the following SIGABRT which is interfering with our normal testing. Was curious if this is a bug or something else? The only changes we've made to tippecanoe is to link /home/user/tippecanoe/protozero to /home/user/protozero/include/protozero to ensure the protozero code was up to date.
Command line:
$ ./tile-join -pk -o /dev/shm/tmp99.mbtiles -j '{ "hrusgeojson": [ "!=", "value", "Undefined" ] }' test0000 --force
Output:
terminate called after throwing an instance of 'protozero::unknown_pbf_wire_type_exception'
what(): unknown pbf field type exception
Aborted
I also have a couple of files that trigger the following errors if you're interested in receiving those.
protozero::end_of_buffer_exception
protozero::invalid_tag_exception
The test0000 mbtiles file appears to be corrupt in at least a couple of ways, so it does not surprise me that protozero also rejects PBFs within it as being invalid. Maybe I should add a try … catch block around the functions to give a better error message, though.
It happens also when converting multiple geobuf into a pmtile. I have no idea what is happening. Ubuntu 22.04 LTS. tippecanoe installed from pypi. Files generated with ogr2ogr.