Skip to content

Commit 239e058

Browse files
committed
- removed bbox validation
1 parent defa345 commit 239e058

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pygeoapi/provider/wms_facade.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ def query(self, style=None, bbox=[-180, -90, 180, 90], width=500,
8484

8585
self._transparent = 'TRUE'
8686

87-
# Validate bbox for EPSG:4326
88-
if bbox[0] < -180 or bbox[1] < -90 or bbox[2] > 180 or bbox[3] > 90:
89-
raise ProviderQueryError("Invalid bounding box")
90-
9187
version = self.options.get('version', '1.3.0')
9288

9389
if version == '1.3.0' and CRS_CODES.get('bbox_crs') == 'EPSG:4326':

0 commit comments

Comments
 (0)