martin/tests/expected/auto/catalog_auto.json
Yuri Astrakhan 3fcad46500
fix (re-)compression of images (#579)
Compression middleware turned out to be hard to use for image cases - it
simply looks at the content-encoding, and if not set, tries to compress
if accepted by the client.

Instead, now individual routes are configured with either that
middleware, or for tiles, I decompress and optionally recompress if
applicable.

Now encoding is tracked separately from the tile content, making it
cleaner too. Plus lots of tests for mbtiles & pmtiles.

Fixes #577
2023-02-20 10:44:22 -05:00

163 lines
4.3 KiB
JSON

[
{
"content_type": "application/x-protobuf",
"id": "MixPoints",
"name": "MixedCase.MixPoints.Geom"
},
{
"content_type": "application/x-protobuf",
"id": "function_Mixed_Name",
"name": "MixedCase.function_Mixed_Name"
},
{
"content_type": "application/x-protobuf",
"id": "function_null",
"name": "public.function_null"
},
{
"content_type": "application/x-protobuf",
"id": "function_null_row",
"name": "public.function_null_row"
},
{
"content_type": "application/x-protobuf",
"id": "function_null_row2",
"name": "public.function_null_row2"
},
{
"content_type": "application/x-protobuf",
"id": "function_zoom_xy",
"name": "public.function_zoom_xy"
},
{
"content_type": "application/x-protobuf",
"id": "function_zxy",
"name": "public.function_zxy"
},
{
"content_type": "application/x-protobuf",
"id": "function_zxy2",
"name": "public.function_zxy2"
},
{
"content_type": "application/x-protobuf",
"id": "function_zxy_query",
"name": "public.function_zxy_query"
},
{
"content_type": "application/x-protobuf",
"id": "function_zxy_query_jsonb",
"name": "public.function_zxy_query_jsonb"
},
{
"content_type": "application/x-protobuf",
"id": "function_zxy_query_test",
"name": "public.function_zxy_query_test"
},
{
"content_type": "application/x-protobuf",
"id": "function_zxy_row",
"name": "public.function_zxy_row"
},
{
"content_type": "application/x-protobuf",
"id": "function_zxy_row_key",
"name": "public.function_zxy_row_key"
},
{
"content_type": "image/jpeg",
"description": "One of the example maps that comes with TileMill - a bright & colorful world map that blends retro and high-tech with its folded paper texture and interactive flag tooltips. ",
"id": "geography-class-jpg",
"name": "Geography Class"
},
{
"content_type": "image/png",
"description": "One of the example maps that comes with TileMill - a bright & colorful world map that blends retro and high-tech with its folded paper texture and interactive flag tooltips. ",
"id": "geography-class-png",
"name": "Geography Class"
},
{
"content_type": "image/png",
"description": "One of the example maps that comes with TileMill - a bright & colorful world map that blends retro and high-tech with its folded paper texture and interactive flag tooltips. ",
"id": "geography-class-png-no-bounds",
"name": "Geography Class"
},
{
"content_type": "application/json",
"id": "json",
"name": "Dummy json data"
},
{
"content_type": "image/png",
"id": "png",
"name": "ne2sr"
},
{
"content_type": "application/x-protobuf",
"id": "points1",
"name": "public.points1.geom"
},
{
"content_type": "application/x-protobuf",
"id": "points1_vw",
"name": "public.points1_vw.geom"
},
{
"content_type": "application/x-protobuf",
"id": "points2",
"name": "public.points2.geom"
},
{
"content_type": "application/x-protobuf",
"id": "points3857",
"name": "public.points3857.geom"
},
{
"content_type": "application/x-protobuf",
"id": "points_empty_srid",
"name": "public.points_empty_srid.geom"
},
{
"content_type": "image/png",
"id": "stamen_toner__raster_CC-BY-ODbL_z3"
},
{
"content_type": "application/x-protobuf",
"id": "table_source",
"name": "public.table_source.geom"
},
{
"content_type": "application/x-protobuf",
"id": "table_source_multiple_geom",
"name": "public.table_source_multiple_geom.geom1"
},
{
"content_type": "application/x-protobuf",
"id": "table_source_multiple_geom.1",
"name": "public.table_source_multiple_geom.geom2"
},
{
"content_type": "application/x-protobuf",
"description": "Major cities from Natural Earth data",
"id": "uncompressed_mvt",
"name": "Major cities from Natural Earth data"
},
{
"content_type": "image/webp",
"id": "webp",
"name": "ne2sr"
},
{
"content_type": "image/webp",
"id": "webp.1",
"name": "ne2sr"
},
{
"content_encoding": "gzip",
"content_type": "application/x-protobuf",
"description": "Major cities from Natural Earth data",
"id": "world_cities",
"name": "Major cities from Natural Earth data"
}
]