Skip to content
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

minzoom not being honored #297

Open
jordanss1 opened this issue Nov 15, 2024 · 2 comments
Open

minzoom not being honored #297

jordanss1 opened this issue Nov 15, 2024 · 2 comments

Comments

@jordanss1
Copy link

I have a big set of all country borders and I want them to be seen from zoom 1 minimum, this is the command I used:

tippecanoe -o ../assets/countries.mbtiles -Z1 -Z8 --drop-densest-as-needed --simplification=1 --no-feature-limit --no-tile-size-limit --generate-ids --json-progress --force ./country_borders.geo.json

Every time it finishes I go to look at the properties of the file and they show a minzoom of 8. I did a test of only a few countries at a time and the minzoom is as expected. Is this just the expected result of so many features across the whole map?

I added a bbox property to my GEOjson in hopes to affect it and no luck. Is there something I'm fundamentally misunderstanding about how this works?

{ "type": "FeatureCollection", "bbox": [-180, -90, 180, 90], "features": [ { "type": "Feature", "properties": { "name": "Bahamas", "iso_a2": "BS", "iso_a3": "BHS", "iso_n3": "044" }, "geometry": { "type": "MultiPolygon", "coordinates": [

@e-n-f
Copy link
Collaborator

e-n-f commented Nov 15, 2024

You used a capital Z for both your minzoom and maxzoom. You need -Z1 -z8 to get minzoom of 1 and maxzoom of 8.

@jordanss1
Copy link
Author

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants