Skip to content

Handle minzoom > maxzoom better in generation #68

@pnorman

Description

@pnorman

Mixing min/max zoom gives the error

  File "/opt/tilekiln/lib/python3.11/site-packages/tilekiln/scripts/generate.py", line 91, in zooms
    threads = min(num_threads, len(tiles))  # No point in more threads than tiles
                               ^^^^^^^^^^
ValueError: __len__() should return >= 0

This should be checked earlier and a better error given

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions