private SpatialReferenceSystem getSrs ( long srsId ) { SpatialReferenceSystem srs ; try { srs = getSpatialReferenceSystemDao ( ) . queryForId ( srsId ) ; } catch ( SQLException e1 ) { throw new GeoPackageException ( "Failed to retrieve Spatial Reference System. SRS ID: " + srsId ) ; } if ( srs == null ) { throw new GeoPackageException ( "Spatial Reference System could not be found. SRS ID: " + srsId ) ; } return srs ; }
Get the Spatial Reference System by id