New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support for featurerank in PMTiles creation #9829
Comments
not sure what "scalerank" mean: is that just a particular attribute of the NaturalEarth input layer ? More generally, OGR remains a generic purpose tool and doesn't intend to compete tippecanoe in the special job of creating vector tiled datasets. |
ok, so checking with a NaturalEarth dataset, "scalerank" is just a regular attribute of that dataset. So for a simple use case where you don't need to have different filter on scalerank by zoom level, the following would do: |
ah right, yeah, sorry for the confusion, right any regular attribute of the vector. Thanks, I didn't know about |
yes, all of that is of course the natural way of to do it, but that doesn't fit very well in the way the generic purpose ogr2ogr tool operates.
|
ah ok, maybe this is out of scope for |
Feature description
Thanks for the amazing support for PMTiles in GDAL. This works incredibly well and has been a great pleasure to teach to students!
tippecanoe creation of pmtiles supports an notion of filter by scalerank. This can be useful in controlling which features appear at which zoom levels -- e.g. if we are mapping roads or rivers and want only main arteries to visible at low zooms and see the tiny branches only at high zooms. Would it be possible add such an ability to the layer creation options of pmtiles in gdal?
Additional context
No response
The text was updated successfully, but these errors were encountered: