Closed midraed closed 6 years ago
We agree on using WPS for doing this.
WPS is up and running as an extension of geoserver.
The selected tools are gs:CropCoverage
and RasterZonalStatistics
subsetting could be done providing a box or a shapefile similar to Earth Explorer
Provide dynamic names for the files exported from the map. We can include the top left coordinate in the filename. i.e. GSOCmap_crop33S69W.tif, for the cropped image using a bounding box with top left coordinates lat -33.645 long -69.123. Round coordinates to integer (in the filename) and replace sign with letter: latitude N positive, S negative; longitude W negative, E positive.
text for the tool:
GSOCmap Crop & Download Tool
Use Crtl+Drag to draw an extent. Crtl+Drag on the corners or edges of the extent to resize it. button: Crop & Download button should be grayed out when there is no extent
The tool should allow the user to draw a box (aoi) and then the system should mosaic the selected tiles and crop using the aoi (live) If this is slow we can only select and mosaic the tile, without cropping to the actual aoi.