felt/tippecanoe

PMTiles file generated from FlatGeobuf has wrong boolean value

Opened this issue · 2 comments

I have a flatgeobuf file which contains some boolean properties for each feature, each with some true values and some false values. For example:
Screenshot 2023-12-16 194346

Link to the fgb file

I tried multiple times generating a pmtiles file with tippecanoe 2.35.0:

tippecanoe 'etymology_map.fgb' --output='etymology_map.pmtiles' --layer=etymology_map -Z 13 -z 13 -f

The file is generated with all the values in these columns as false. For example, the element shown above can be inspected with the pmtiles inspector at this link:
Screenshot 2023-12-16 155431

Link to the pmtiles file

Boolean values should be carried intact from the source file to the generated file

bdon commented

this is likely a bug in the FlatGeobuf-specific data parsing, thanks for reporting.

FYI I replaced the pmtiles linked above so it's not a good example anymore. Anyway, I didn't replace the .fgb so it can still be used as example