public List<String> getRequestSRS() { return delegate.getRequestSRS(); }
} else if (!parameters.equals(other.getParameters())) return false; if (requestSRS == null) { if (other.getRequestSRS() != null) return false; } else if (!requestSRS.equals(other.getRequestSRS())) return false; if (responseSRS == null) { if (other.getResponseSRS() != null) return false;
coverage.getInterpolationMethods().addAll(cInfoReader.supportedInterpolations()); coverage.getRequestSRS().addAll(cInfoReader.requestCRSs()); coverage.getResponseSRS().addAll(cInfoReader.responseCRSs());
cinfo.getRequestSRS() .add(((Identifier) nativeCRS.getIdentifiers().toArray()[0]).toString()); cinfo.getResponseSRS()
coverage.getParameters().put("ParameterKey", "ParameterValue"); coverage.getSupportedFormats().add("GEOTIFF"); coverage.getRequestSRS().add("EPSG:4326"); coverage.getResponseSRS().add("EPSG:4326");
expect(c.getRequestSRS()).andReturn(real.getRequestSRS()).anyTimes(); expect(c.getResponseSRS()).andReturn(real.getResponseSRS()).anyTimes();
public void onSubmit(){ coverage.getRequestSRS().add(newRequestSRS); newRequestSRS = ""; } });
public void onSubmit() { coverage.getRequestSRS().add(newRequestSRS); newRequestSRS = ""; } });
public void onSubmit(){ coverage.getRequestSRS().removeAll(selectedRequestSRSs); selectedRequestSRSs.clear(); } });
public void onSubmit() { coverage.getRequestSRS().removeAll(selectedRequestSRSs); selectedRequestSRSs.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"); }
/** * 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); }
add(new ListMultipleChoice("requestSRS", new PropertyModel(this, "selectedRequestSRSs"), coverage.getRequestSRS()) );
"requestSRS", new PropertyModel<List<String>>(this, "selectedRequestSRSs"), coverage.getRequestSRS()));