You need to use a WCS to get the actual data of a layer back. a WMS is only showing you a picture of the data.
Ian On Fri, 25 Dec 2020 at 11:20, Rebo Ghecin <demo...@gmail.com> wrote: > Hi all, > > I have an ImageMosaic store of elevation files in Geoserver and serve it > as WMS. I need to do some raster process when the user clicks a point on > this WMS layer and then create a geotiff file at the end of the process. > However, I have stuck on the point getting GridCoverage from this service. > Should I get them from WMS or should I get them from static files? but then > I would have another problem of processing on multiple files. > > Getting GridCoverage from WMS service is looking good for me If I easily > create GridCoverage from it so I don't need to handle multiple elevation > raster files while working and I don't know how to handle them. I mean If a > user clicks a point on the edge of raster I will need another raster file > and that would be hard to iterate pixel values for me. > > So, long story short, can geotools have an ability to get a GridCoverage > of a small area (like a 5 square meter area) from WMS of ImageMosaic served > from Geoserver? > > Thanks, > Cagri > _______________________________________________ > GeoTools-GT2-Users mailing list > GeoTools-GT2-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > -- Ian Turton
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users