diff --git a/src/main/java/org/opengis/cite/ogcapiedr10/queries/AreaQueryProcessor.java b/src/main/java/org/opengis/cite/ogcapiedr10/queries/AreaQueryProcessor.java index 3dee07b..90e86c6 100644 --- a/src/main/java/org/opengis/cite/ogcapiedr10/queries/AreaQueryProcessor.java +++ b/src/main/java/org/opengis/cite/ogcapiedr10/queries/AreaQueryProcessor.java @@ -73,8 +73,7 @@ public String validateAreaQueryUsingParameters(Set collectionIds, String if (crsList.get(q).equals("CRS:84") || crsList.get(q).equals("CRS84") || crsList.get(q).equals("EPSG:4326") || - crsList.get(q).equals("http://www.opengis.net/def/crs/OGC/1.3/CRS84") || - crsList.get(q).equals("https://www.opengis.net/def/crs/OGC/1.3/CRS84")) { + crsList.get(q).contains("www.opengis.net/def/crs/OGC/1.3/CRS84")) { supportedCRS = crsList.get(q); } } diff --git a/src/main/java/org/opengis/cite/ogcapiedr10/queries/CorridorQueryProcessor.java b/src/main/java/org/opengis/cite/ogcapiedr10/queries/CorridorQueryProcessor.java index 1c0d2ad..b609c32 100644 --- a/src/main/java/org/opengis/cite/ogcapiedr10/queries/CorridorQueryProcessor.java +++ b/src/main/java/org/opengis/cite/ogcapiedr10/queries/CorridorQueryProcessor.java @@ -81,8 +81,7 @@ public String validateCorridorQueryUsingParameters(Set collectionIds, St if (crsList.get(q).equals("CRS:84") || crsList.get(q).equals("CRS84") || crsList.get(q).equals("EPSG:4326") || - crsList.get(q).equals("http://www.opengis.net/def/crs/OGC/1.3/CRS84") || - crsList.get(q).equals("https://www.opengis.net/def/crs/OGC/1.3/CRS84")) { + crsList.get(q).contains("www.opengis.net/def/crs/OGC/1.3/CRS84")) { supportedCRS = crsList.get(q); } } diff --git a/src/main/java/org/opengis/cite/ogcapiedr10/queries/PositionQueryProcessor.java b/src/main/java/org/opengis/cite/ogcapiedr10/queries/PositionQueryProcessor.java index 1eb19d5..5c760b8 100644 --- a/src/main/java/org/opengis/cite/ogcapiedr10/queries/PositionQueryProcessor.java +++ b/src/main/java/org/opengis/cite/ogcapiedr10/queries/PositionQueryProcessor.java @@ -75,8 +75,7 @@ public String validatePositionQueryUsingParameters(Set collectionIds, St if (crsList.get(q).equals("CRS:84") || crsList.get(q).equals("CRS84") || crsList.get(q).equals("EPSG:4326") || - crsList.get(q).equals("http://www.opengis.net/def/crs/OGC/1.3/CRS84") || - crsList.get(q).equals("https://www.opengis.net/def/crs/OGC/1.3/CRS84")) { + crsList.get(q).contains("www.opengis.net/def/crs/OGC/1.3/CRS84")) { supportedCRS = crsList.get(q); } } diff --git a/src/main/java/org/opengis/cite/ogcapiedr10/queries/TrajectoryQueryProcessor.java b/src/main/java/org/opengis/cite/ogcapiedr10/queries/TrajectoryQueryProcessor.java index 0d50fb4..c19f270 100644 --- a/src/main/java/org/opengis/cite/ogcapiedr10/queries/TrajectoryQueryProcessor.java +++ b/src/main/java/org/opengis/cite/ogcapiedr10/queries/TrajectoryQueryProcessor.java @@ -78,8 +78,7 @@ public String validateTrajectoryQueryUsingParameters(Set collectionIds, if (crsList.get(q).equals("CRS:84") || crsList.get(q).equals("CRS84") || crsList.get(q).equals("EPSG:4326") || - crsList.get(q).equals("http://www.opengis.net/def/crs/OGC/1.3/CRS84") || - crsList.get(q).equals("https://www.opengis.net/def/crs/OGC/1.3/CRS84")) { + crsList.get(q).contains("www.opengis.net/def/crs/OGC/1.3/CRS84")) { supportedCRS = crsList.get(q); } }