Re: [Geotools-gt2-users] Getting GridCoverage from ImageMosaic Wms from Geoserver

2020-12-26 Thread Ian Turton
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  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


[Geotools-gt2-users] Getting GridCoverage from ImageMosaic Wms from Geoserver

2020-12-25 Thread Rebo Ghecin
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