diff --git a/src/geonoderest/maps.py b/src/geonoderest/maps.py index 430809a..2bfd45f 100644 --- a/src/geonoderest/maps.py +++ b/src/geonoderest/maps.py @@ -14,6 +14,7 @@ ) OGC_WFS_LINK_TYPE = "OGC:WFS" +OGC_WCS_LINK_TYPE = "OGC:WCS" class GeonodeMapsHandler(GeonodeResourceHandler): @@ -171,6 +172,8 @@ def __build_blob_maplayer__( for link in dataset["links"]: if link["link_type"] == OGC_WFS_LINK_TYPE: wfs_url = link["url"] + if link["link_type"] == OGC_WCS_LINK_TYPE: + wfs_url = link["url"] ptype = "wms" if dataset["ptype"] == "gxp_wmscsource" else "wfs"