diff --git a/dev/services/wms/ows_refactored/sea_ocean_coast/intertidal_c3/utils_intertidal.py b/dev/services/wms/ows_refactored/sea_ocean_coast/intertidal_c3/utils_intertidal.py index 739c5f10a..402657fd7 100644 --- a/dev/services/wms/ows_refactored/sea_ocean_coast/intertidal_c3/utils_intertidal.py +++ b/dev/services/wms/ows_refactored/sea_ocean_coast/intertidal_c3/utils_intertidal.py @@ -75,9 +75,10 @@ def tide_graph_path(data, ds): origin=xy_(-4416000, -6912000), ) - # Get point from GetFeatureInfo data - lat, lon = data.odc.map_bounds()[0] - point_albers = point(y=lat, x=lon, crs="EPSG:4326").to_crs("EPSG:3577").geom + # Get point from GetFeatureInfo data. On DEA Maps, we + # can assume that `data` coordinates are always in "EPSG:3857" + y, x = data.y.item(), data.x.item() + point_albers = point(y=y, x=x, crs="EPSG:3857").to_crs("EPSG:3577").geom # point_albers = data.odc.geobox.extent.centroid.to_crs("EPSG:3577").geom # Return region code