Skip to content

Commit

Permalink
Add multiple titles as a separate example
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktSeidlSWM authored Oct 14, 2024
1 parent 1117fb7 commit 505b496
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,13 @@ Examples:
},
{
"db_url": "postgresql:///?service=qwc_geodb",
"info_sql": "SELECT type, abbrev 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", "Abbreviation"]
"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"]
}
]
}
Expand Down

0 comments on commit 505b496

Please sign in to comment.