mirror of
https://github.com/maplibre/martin.git
synced 2025-01-04 13:20:52 +03:00
f88db05582
When a SQL comment is set on a table or a function to customize tilejson, and that tbl/func is pre-configured as part of the config file, the comment was silently ignored. Now both table and function cases are handled correctly. Also, update docs to not include function parameters - makes SQL example a bit simpler. Thanks @jjcfrancisco for reporting! Fixes: #1044
80 lines
1.8 KiB
JSON
80 lines
1.8 KiB
JSON
{
|
|
"tiles": {
|
|
"MixPoints": {
|
|
"content_type": "application/x-protobuf",
|
|
"description": "a description from comment on table"
|
|
},
|
|
"auto_table": {
|
|
"content_type": "application/x-protobuf",
|
|
"description": "autodetect.auto_table.geom"
|
|
},
|
|
"bigint_table": {
|
|
"content_type": "application/x-protobuf",
|
|
"description": "autodetect.bigint_table.geom"
|
|
},
|
|
"fnc_Mixed_Name": {
|
|
"content_type": "application/x-protobuf",
|
|
"description": "a function source with MixedCase name"
|
|
},
|
|
"function_zxy_query": {
|
|
"content_type": "application/x-protobuf"
|
|
},
|
|
"function_zxy_query_test": {
|
|
"content_type": "application/x-protobuf",
|
|
"description": "public.function_zxy_query_test"
|
|
},
|
|
"pmt": {
|
|
"content_type": "image/png"
|
|
},
|
|
"pmt2": {
|
|
"content_type": "image/webp",
|
|
"name": "ne2sr"
|
|
},
|
|
"points1": {
|
|
"content_type": "application/x-protobuf",
|
|
"description": "public.points1.geom"
|
|
},
|
|
"points2": {
|
|
"content_type": "application/x-protobuf",
|
|
"description": "public.points2.geom"
|
|
},
|
|
"points3857": {
|
|
"content_type": "application/x-protobuf",
|
|
"description": "public.points3857.geom"
|
|
},
|
|
"table_source": {
|
|
"content_type": "application/x-protobuf"
|
|
}
|
|
},
|
|
"sprites": {
|
|
"mysrc": {
|
|
"images": [
|
|
"bicycle"
|
|
]
|
|
},
|
|
"src1": {
|
|
"images": [
|
|
"another_bicycle",
|
|
"bear",
|
|
"sub/circle"
|
|
]
|
|
}
|
|
},
|
|
"fonts": {
|
|
"Overpass Mono Light": {
|
|
"family": "Overpass Mono",
|
|
"style": "Light",
|
|
"glyphs": 931,
|
|
"start": 0,
|
|
"end": 64258
|
|
},
|
|
"Overpass Mono Regular": {
|
|
"family": "Overpass Mono",
|
|
"style": "Regular",
|
|
"glyphs": 931,
|
|
"start": 0,
|
|
"end": 64258
|
|
}
|
|
}
|
|
}
|