mapbox / tippecanoe

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

Reorder data in a tile using the value of a property #853

Open iandees opened 4 years ago

iandees commented 4 years ago

I'm building a tileset with POI data that has an "importance" number on it. In areas where the data is very densely packed, I'd like to pre-collide the data out of the tile using the existing --gamma flag, but I want to drop the "least important" places in a tile rather than whatever order tippecanoe would pick, so I propose that tippecanoe add a new reordering flag that sorts features in a tile using the value of a given property name.

e-n-f commented 3 years ago

You ended up solving this with MTS right?

iandees commented 3 years ago

Yep. It'd still be nice to solve it in Tippecanoe, but I understand if it's not a priority for you.