diff --git a/u4py/addons/web_services.py b/u4py/addons/web_services.py index f1bad98d78f2577aefb55f47f12f7ce6a3bc1685..37d275f18ddab15435a5b6cc5048d3bfa1f54848 100644 --- a/u4py/addons/web_services.py +++ b/u4py/addons/web_services.py @@ -357,7 +357,7 @@ def wms_in_gdf_boundary( ] # use only a reduced set where the bounds are supplied elif hasattr(lyr, "crsOptions"): lyr_crsopts = [ - v[-1] for v in lyr.crs_list if v[-1].startswith("EPSG:") + v[-1] for v in lyr.crsOptions if v[-1].startswith("EPSG:") ] else: raise AttributeError("Check the WMS layer crs attribute!")