martin/tests/expected/configured/catalog_cfg.json
Yuri Astrakhan f88db05582
Fix SQL comments when func or table is pre-configured (#1045)
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
2023-12-07 07:24:51 +00:00

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
}
}
}