Skip to content

Layer configuration should have some semantic checks for min and max zooms #24

Closed
@jerluc

Description

@jerluc

Describe the bug
When layers are configured in Tilenol, we should do some simple semantic checks to at least ensure that the layers are actually accessible (likely around here somewhere), e.g. checking that the min and max zoom numbers fall within the absolute min and max zooms acceptable by the server itself.

To Reproduce
Steps to reproduce the behavior:

  1. Configure Tilenol with a layer whose max zoom is insanely large, e.g. 1000
  2. Run the server
  3. Try to request at z = 1000
  4. See that you can't access it

Metadata

Metadata

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions