Skip to content

Commit

Permalink
Update collectionsCRS84 to allow identification of CRS84 through HTTP…
Browse files Browse the repository at this point in the history
… URI

Fixes #100
  • Loading branch information
ghobona committed May 23, 2022
1 parent 6bba360 commit 3a0dbdd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ public String validateAreaQueryUsingParameters(Set<String> 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);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ public String validateCorridorQueryUsingParameters(Set<String> 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);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ public String validatePositionQueryUsingParameters(Set<String> 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);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ public String validateTrajectoryQueryUsingParameters(Set<String> 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);
}
}
Expand Down

0 comments on commit 3a0dbdd

Please sign in to comment.