Skip to content

Conversation

@JaffaKetchup
Copy link

This means, for example, the user can specify a min zoom level and still leave the max to be auto calculated.

For example:

  • 16.. generates 16-auto
  • .. generates 0-auto
  • ..16 generates 0-16

@bdon
Copy link
Member

bdon commented Dec 17, 2025

Thanks for the enhancement, can you add a test like the one in https://github.com/protomaps/PMTiles/blob/main/python/rio-pmtiles/tests/test_cli.py#L78 ?

@JaffaKetchup
Copy link
Author

I'm not too familiar with python, but when I run pytest, it doesn't seem to use the updated cli.py file?

@bdon
Copy link
Member

bdon commented Dec 24, 2025

try setting PYTHONPATH to the current directory?

PYTHONPATH=. pytest tests

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants