martin/tests/expected/auto/fnc_token.json
Yuri Astrakhan e58773f7b0
Refactorings, content-type/enc, cli parsing, tests, minor fixes (#548)
* introduce a new Connections object to track all positional strings
passed as the CLI arguments
* each tile provider can now indicate if it can take a positional CLI
arg, and if the value can be shared between multiple providers, i.e. if
its a directory that could contain files for multiple providers
* make xyz use better types - u8 for zoom, u32 for x&y. Postgres casts
those to INT2 and INT8
* minor bug in pre-push git hook to abort in case of a testingerror
* added GIF detection/type
* combine MVT and compression concepts into one enum more explicitly. It
is not ideal (technically they are separate concerns), but it keeps it a
bit simpler for now for multiple providers.
* set content encoding and content type on HTTP responses if known, and
also include them in the `/catalog` response (json)
* raise an error if the user attempts to merge non-concatenatable tiles
from multiple sources. We may want to implement it in the future, e.g.
combine multiple semi-transparent PNGs. Or even combine GIF & PNG & JPEG
* do not set content-type on empty responses (http 204)
* add tilejson outputs to testing
2023-01-08 16:31:58 +02:00

18 lines
309 B
JSON

{
"bounds": [
-180,
-85.05112877980659,
180,
85.0511287798066
],
"maxzoom": 30,
"minzoom": 0,
"name": "public.function_zxy_query_test",
"scheme": "xyz",
"tilejson": "2.2.0",
"tiles": [
"http://localhost:3111/function_zxy_query_test/{z}/{x}/{y}"
],
"version": "1.0.0"
}