From 059607f72f57a8c1bcb398b6efbec67d6426e270 Mon Sep 17 00:00:00 2001 From: BenediktSeidlSWM Date: Mon, 14 Oct 2024 17:28:04 +0200 Subject: [PATCH] Document multiple columns in info_sql --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 871083f..ffe8a5c 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,11 @@ Examples: "db_url": "postgresql:///?service=qwc_geodb", "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", "info_title": "Type" + }, + { + "db_url": "postgresql:///?service=qwc_geodb", + "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", + "info_title": ["Abbreviation", "Postal Code", "Subregion"] } ] }