martin/tests/expected/auto/tbl_comment.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

24 lines
423 B
JSON

{
"tilejson": "3.0.0",
"tiles": [
"http://localhost:3111/MixPoints/{z}/{x}/{y}"
],
"vector_layers": [
{
"id": "MixPoints",
"fields": {
"Gid": "int4",
"TABLE": "text"
}
}
],
"bounds": [
-170.94984639004662,
-84.20025580733805,
167.70892858284475,
74.23573284753762
],
"description": "a description from comment on table",
"name": "MixPoints"
}