Example #1
0
 /** Runs GetCoverage on the specified parameters and returns an array of coverages */
 GridCoverage[] executeGetCoverageXml(String request) throws Exception {
   GetCoverageType getCoverage =
       (GetCoverageType) xmlReader.read(null, new StringReader(request), null);
   return service.getCoverage(getCoverage);
 }
Example #2
0
 /** Runs GetCoverage on the specified parameters and returns an array of coverages */
 GridCoverage[] executeGetCoverageKvp(Map<String, Object> raw) throws Exception {
   final GetCoverageType getCoverage =
       (GetCoverageType) kvpreader.read(kvpreader.createRequest(), parseKvp(raw), raw);
   return service.getCoverage(getCoverage);
 }