public CoordinateReferenceSystem getCoordinateReferenceSystem() { return delegate.getCoordinateReferenceSystem(this.coverageName); }
public CoordinateReferenceSystem getCoordinateReferenceSystem(String coverageName) { return delegate.getCoordinateReferenceSystem(coverageName); }
@Override public CoordinateReferenceSystem getCoordinateReferenceSystem() { return delegate.getCoordinateReferenceSystem(referenceName); }
public CoordinateReferenceSystem getCoordinateReferenceSystem() { return delegate.getCoordinateReferenceSystem(); }
public CoordinateReferenceSystem getCoordinateReferenceSystem() { return delegate.getCoordinateReferenceSystem(); }
@Override public CoordinateReferenceSystem getCoordinateReferenceSystem(String coverageName) { checkCoverageName(coverageName); return delegate.getCoordinateReferenceSystem(referenceName); }
public CoordinateReferenceSystem getCoordinateReferenceSystem(String coverageName) { checkCoverageName(coverageName); return delegate.getCoordinateReferenceSystem(coverageName); }
public CoordinateReferenceSystem getCoordinateReferenceSystem(String coverageName) { checkCoverageName(coverageName); return delegate.getCoordinateReferenceSystem(coverageName); }
public CoveragesConsistencyChecker( GridCoverage2DReader reader, boolean canSupportHeterogeneousCoverages) throws IOException { envelope = reader.getOriginalEnvelope(); gridRange = reader.getOriginalGridRange(); crs = reader.getCoordinateReferenceSystem(); metadataNames = reader.getMetadataNames(); dynamicParameters = reader.getDynamicParameters(); layout = reader.getImageLayout(); this.canSupportHeterogeneousCoverages = canSupportHeterogeneousCoverages; }
GeneralEnvelope envelope = reader.getOriginalEnvelope(); GridEnvelope gridRange = reader.getOriginalGridRange(); CoordinateReferenceSystem crs = reader.getCoordinateReferenceSystem(); String[] metadataNames = reader.getMetadataNames();
/** * Returns the CRS used to make requests to the remote WMTS * * @return */ public CoordinateReferenceSystem getCoordinateReferenceSystem() { return reader.getCoordinateReferenceSystem(); }
testEnvelope.setCoordinateReferenceSystem(reader.getCoordinateReferenceSystem());
/** * Returns the CRS used to make requests to the remote WMS * * @return */ public CoordinateReferenceSystem getCoordinateReferenceSystem() { return reader.getCoordinateReferenceSystem(); }
CoordinateReferenceSystem crs = reader.getCoordinateReferenceSystem(); GeneralEnvelope envelope = reader.getOriginalEnvelope(); GeneralEnvelope wgs84envelope = CoverageStoreUtils.getWGS84LonLatEnvelope(envelope); }; final GeneralEnvelope subEnvelope = new GeneralEnvelope(minCP, maxCP); subEnvelope.setCoordinateReferenceSystem(reader.getCoordinateReferenceSystem());
assertTrue( CRS.equalsIgnoreMetadata( CRS.decode("EPSG:3857"), r.getCoordinateReferenceSystem())); assertTrue( CRS.equalsIgnoreMetadata( CRS.decode("EPSG:3857"), r.getCoordinateReferenceSystem())); assertTrue( CRS.equalsIgnoreMetadata( CRS.decode("EPSG:4326"), r.getCoordinateReferenceSystem()));
cinfo.setNativeCRS(reader.getCoordinateReferenceSystem());
@Override public PropertiesCollector collect(GridCoverage2DReader gridCoverageReader) { CoordinateReferenceSystem crs = gridCoverageReader.getCoordinateReferenceSystem(); crsCode = CRS.toSRS(crs, false); return this; } }
@Override public ReferencedEnvelope getBounds() { if (reader != null) { CoordinateReferenceSystem crs = reader.getCoordinateReferenceSystem(); GeneralEnvelope envelope = reader.getOriginalEnvelope(); if (envelope != null) { return new ReferencedEnvelope(envelope); } else if (crs != null) { return new ReferencedEnvelope(crs); } } return null; }
final CoordinateReferenceSystem requestCRS = requestedEnvelope.getCoordinateReferenceSystem(); final CoordinateReferenceSystem nativeCRS = reader.getCoordinateReferenceSystem(); if (!CRS.equalsIgnoreMetadata(requestCRS, nativeCRS)) { requestedEnvelope = CRS.transform(requestedEnvelope, nativeCRS);
private boolean checkCRS( GridCoverage2DReader coverage, MosaicConfigurationBean config, String inputCoverageName) { CoordinateReferenceSystem expectedCRS = config.getCrs(); CoordinateReferenceSystem actualCRS = coverage.getCoordinateReferenceSystem(inputCoverageName); return CRS.equalsIgnoreMetadata(expectedCRS, actualCRS); } }