felt / tippecanoe

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

Anyway to remap attribute names (incl. in tile-join)? #242

Open amandasaurus opened 1 month ago

amandasaurus commented 1 month ago

Tippecanoe allows one to manualy specific a different layer name with -l, instead of requiring you to use the filename. However (AIUI) the attributes of the features in the output are always taken from the input (which is geojsonseq in my case). We can select which attributes with -y, and coerce the type, but I don't see a way to rename an attribute. Is this possible? It would be nice to be able to say

This would also be useful with tile-join, to “merge” different tilesets and providing a unified dataset. It already supports a way to rename the layers in the input.