Skip to content

Commit 395af68

Browse files
Document multiple columns in info_sql
1 parent 88fc583 commit 395af68

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/topics/Mapinfo.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ If the `qwc-mapinfo-service` is enabled, queries can be configured in the servic
2424
"db_url": "postgresql:///?service=qwc_geodb",
2525
"info_sql": "SELECT type FROM qwc_geodb.ne_10m_admin_0_countries WHERE ST_contains(wkb_geometry, ST_SetSRID(ST_Point(:x, :y), :srid)) LIMIT 1",
2626
"info_title": "Type"
27+
},
28+
{
29+
"db_url": "postgresql:///?service=qwc_geodb",
30+
"info_sql": "SELECT abbrev, postal, subregion FROM qwc_geodb.ne_10m_admin_0_countries WHERE ST_contains(wkb_geometry, ST_SetSRID(ST_Point(:x, :y), :srid)) LIMIT 1",
31+
"info_title": ["Abbreviation", "Postal Code", "Subregion"]
2732
}
2833
]
2934
}

0 commit comments

Comments
 (0)