StationA / tilenol

Scalable, multi-backend geo vector tile server
MIT License
22 stars 6 forks source link

Check tilenol arguments. #23

Closed ccma14 closed 4 years ago

ccma14 commented 4 years ago

Description

This PR resolves issue #22 , where tilenol returns an empty response when an invalid vector tile specification is used.

For what is considered "valid" we check the specified zoom level against the minimum/maximum zoom level that tilenol has been configured for, and then calculate valid boundaries for x and y as outlined here.

Testing Done

When running a patched version of tilenol I get