We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b399580 commit 79d0267Copy full SHA for 79d0267
src/ogcapi_service.py
@@ -169,11 +169,15 @@ def load_resources(self, config):
169
wms_services = {}
170
wfs_services = {}
171
for wms in config.resources().get('wms_services', []):
172
+ if wms.get('hidden_in_landing_page') == True:
173
+ continue
174
wms_services[wms['name']] = {
175
"title": wms.get("root_layer", {}).get("title"),
176
"layers": self.collect_resource_layers(wms.get("root_layer", {}).get("layers", []))
177
}
178
for wfs in config.resources().get('wfs_services', []):
179
+ if wfs.get('hidden_in_landing_page') == True:
180
181
wfs_services[wfs['name']] = {
182
"title": wfs.get("title"),
183
"layers": self.collect_resource_layers(wfs.get("layers", []))
0 commit comments