public List<String> getResponseSRS() { return delegate.getResponseSRS(); }
} else if (!requestSRS.equals(other.getRequestSRS())) return false; if (responseSRS == null) { if (other.getResponseSRS() != null) return false; } else if (!responseSRS.equals(other.getResponseSRS())) return false; if (supportedFormats == null) { if (other.getSupportedFormats() != null) return false;
coverage.getResponseSRS().addAll(cInfoReader.responseCRSs());
cinfo.getRequestSRS() .add(((Identifier) nativeCRS.getIdentifiers().toArray()[0]).toString()); cinfo.getResponseSRS() .add(((Identifier) nativeCRS.getIdentifiers().toArray()[0]).toString());
coverage.getSupportedFormats().add("GEOTIFF"); coverage.getRequestSRS().add("EPSG:4326"); coverage.getResponseSRS().add("EPSG:4326");
expect(c.getResponseSRS()).andReturn(real.getResponseSRS()).anyTimes();
public void onSubmit() { coverage.getResponseSRS().add(newResponseSRS); newResponseSRS = ""; } });
public void onSubmit(){ coverage.getResponseSRS().add(newResponseSRS); newResponseSRS = ""; } });
public void onSubmit() { coverage.getResponseSRS().removeAll(selectedResponseSRSs); selectedResponseSRSs.clear(); } });
public void onSubmit(){ coverage.getResponseSRS().removeAll(selectedResponseSRSs); selectedResponseSRSs.clear(); } });
protected void handleSupportedCRSs(CoverageInfo ci) throws Exception { Set supportedCRSs = new LinkedHashSet(); if (ci.getRequestSRS() != null) supportedCRSs.addAll(ci.getRequestSRS()); if (ci.getResponseSRS() != null) supportedCRSs.addAll(ci.getResponseSRS()); for (Iterator it = supportedCRSs.iterator(); it.hasNext(); ) { String crsName = (String) it.next(); CoordinateReferenceSystem crs = CRS.decode(crsName); element("wcs:SupportedCRS", urnIdentifier(crs)); element("wcs:SupportedCRS", crsName); } }
/** * DOCUMENT ME! * * @param ci */ private void handleSupportedCRSs(CoverageInfo ci) throws Exception { Set supportedCRSs = new LinkedHashSet(); if (ci.getRequestSRS() != null) supportedCRSs.addAll(ci.getRequestSRS()); if (ci.getResponseSRS() != null) supportedCRSs.addAll(ci.getResponseSRS()); start("wcs:supportedCRSs"); for (Iterator it = supportedCRSs.iterator(); it.hasNext(); ) { String crsName = (String) it.next(); CoordinateReferenceSystem crs = CRS.decode(crsName, true); // element("requestResponseCRSs", urnIdentifier(crs)); element("wcs:requestResponseCRSs", CRS.lookupIdentifier(crs, false)); } end("wcs:supportedCRSs"); }
final String layerId = getLayerId(TASMANIA_BM); CoverageInfo ci = catalog.getCoverageByName(layerId); ci.getResponseSRS().add("EPSG:3857"); catalog.save(ci);
for (Iterator it = meta.getResponseSRS().iterator(); it.hasNext(); ) { final String responseCRS = (String) it.next(); final String code = extractCode(responseCRS);
@Override public void visit(CoverageInfo coverage) { CoverageInfo otherCoverage = otherCatalog.getCoverage(coverage.getId()); if (!(Objects.equals(coverage, otherCoverage) && checkEquals(coverage.getDimensions(), otherCoverage.getDimensions()) && checkEquals( coverage.getInterpolationMethods(), otherCoverage.getInterpolationMethods()) && checkEquals(coverage.getParameters(), otherCoverage.getParameters()) && checkEquals(coverage.getResponseSRS(), otherCoverage.getResponseSRS()) && checkEquals(coverage.getAlias(), otherCoverage.getAlias()) && checkEquals(coverage.getKeywords(), otherCoverage.getKeywords()) && checkEquals(coverage.getDataLinks(), otherCoverage.getDataLinks()) && checkEquals(coverage.getMetadataLinks(), otherCoverage.getMetadataLinks()) && checkEquals(coverage.getMetadata(), otherCoverage.getMetadata()))) { differences.add(new InfoDiff(coverage, otherCoverage)); } }
/** * This method returns {@code true} in case we have POSTed a Coverage object with the name only, * as an instance when configuring a new coverage which has just been harvested. * * @param coverage */ private boolean isNewCoverage(CoverageInfo coverage) { return coverage.getName() != null && (coverage.isAdvertised()) && (!coverage.isEnabled()) && (coverage.getAlias() == null) && (coverage.getCRS() == null) && (coverage.getDefaultInterpolationMethod() == null) && (coverage.getDescription() == null) && (coverage.getDimensions() == null) && (coverage.getGrid() == null) && (coverage.getInterpolationMethods() == null) && (coverage.getKeywords() == null) && (coverage.getLatLonBoundingBox() == null) && (coverage.getMetadata() == null) && (coverage.getNativeBoundingBox() == null) && (coverage.getNativeCRS() == null) && (coverage.getNativeFormat() == null) && (coverage.getProjectionPolicy() == null) && (coverage.getSRS() == null) && (coverage.getResponseSRS() == null) && (coverage.getRequestSRS() == null); }
coverage.getResponseSRS()) );
"responseSRS", new PropertyModel<List<String>>(this, "selectedResponseSRSs"), coverage.getResponseSRS()));