Skip to content

Commit

Permalink
Merge pull request #256 from opengeospatial/issue#227
Browse files Browse the repository at this point in the history
Closes #227
  • Loading branch information
dstenger authored Nov 27, 2024
2 parents ffa9559 + 00f3344 commit 0efc827
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ public void verifyFeatureCrsParameterTransformWithoutCrsParameter( String collec
if((collectionId == null) & (collection == null) & (featureId == null) & (crs == null) & (defaultCRS == null)) {
throw new AssertionError("No crs information for collection available.");
}
//https://github.com/opengeospatial/ets-ogcapi-features10/issues/227
if(defaultCRS == null) {
//use default crs
defaultCRS = new CoordinateSystem(org.opengis.cite.ogcapifeatures10.OgcApiFeatures10.DEFAULT_CRS_CODE);
}
String featureUrl = findFeatureUrlForGeoJson( rootUri, collection, featureId );
if ( featureUrl == null )
throw new SkipException( String.format( "Could not find url for collection with id %s supporting GeoJson (type %s)",
Expand Down

0 comments on commit 0efc827

Please sign in to comment.