felt / tippecanoe

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

Update PMTiles metadata #145

Closed dvd3v closed 11 months ago

dvd3v commented 11 months ago

It seems it's not possible to easily update the metadata of a PMTiles file using the -n, -N and -A flags. It is possible to use tile-join and create a copy of the dataset with updated metadata, but this is not efficient since it will then need to decode and re-encode all features. Also, the sqlite3 approach as suggested here does not work for PMTiles.

Any suggestions?

bdon commented 11 months ago

This wouldn't belong in tippecanoe, I have an open issue for this in the pmtiles cli here: https://github.com/protomaps/go-pmtiles/issues/63

would that be a viable solution?

dvd3v commented 11 months ago

Yes, that would be a good solution. Thanks for pointing it out, I will close this issue.