diff --git a/volumes/config-in/default/tenantConfig.json b/volumes/config-in/default/tenantConfig.json index 9a0adc9..d36ed47 100644 --- a/volumes/config-in/default/tenantConfig.json +++ b/volumes/config-in/default/tenantConfig.json @@ -78,12 +78,14 @@ "info_display_col": "name", "info_geom_col": "wkb_geometry", "info_table": "qwc_geodb.ne_10m_admin_0_countries", - "info_title": "Country" + "info_title": "Country", + "info_id": "country" }, { "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" + "info_title": "Type", + "info_id": "type" } ] } diff --git a/volumes/config/default/mapinfoConfig.json b/volumes/config/default/mapinfoConfig.json index 7a6e601..47927f2 100644 --- a/volumes/config/default/mapinfoConfig.json +++ b/volumes/config/default/mapinfoConfig.json @@ -8,13 +8,15 @@ "info_display_col": "name", "info_geom_col": "wkb_geometry", "info_table": "qwc_geodb.ne_10m_admin_0_countries", - "info_title": "Country" + "info_title": "Country", + "info_id": "country" }, { "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" + "info_title": "Type", + "info_id": "type" } ] } -} \ No newline at end of file +} diff --git a/volumes/config/default/permissions.json b/volumes/config/default/permissions.json index f22d81b..79eacf4 100644 --- a/volumes/config/default/permissions.json +++ b/volumes/config/default/permissions.json @@ -912,7 +912,11 @@ "solr_facets": [ "ne_10m_admin_0_countries" ], - "external_links": [] + "external_links": [], + "mapinfo_queries": [ + "country", + "type" + ] } }, { @@ -987,8 +991,9 @@ "document_templates": [], "print_templates": [], "solr_facets": [], - "external_links": [] + "external_links": [], + "mapinfo_queries": [] } } ] -} \ No newline at end of file +}