felt / tippecanoe

Build vector tilesets from large collections of GeoJSON features.
BSD 2-Clause "Simplified" License
906 stars 78 forks source link

PMTiles file generated from FlatGeobuf has wrong boolean value #180

Open Danysan1 opened 8 months ago

Danysan1 commented 8 months ago

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 8 months ago

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

Danysan1 commented 8 months ago

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