mapbox / tippecanoe

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

--clip-containing-box #806

Open Plantain opened 5 years ago

Plantain commented 5 years ago

I'm trying to clip out a section of a tileset (as opposed to clipping a bounding box around a tileset).

I tried inverting the box by swapping min and max values with --clip-bounding-box=60,60,-30,30, but I only get "Did not read any valid geometries".

Can we have a --clip-containing-box? Or can --clip-bounding-box be 'fixed' to handle this mild abuse of it's functionality?

e-n-f commented 5 years ago

There is not currently a way to invert the clipping like this. I can't prioritize this right now but will keep it on the list of future feature requests.