Hi Linda,

When you say rescale do you mean that you want to resample an existing
grid coverage at a new resolution or simply change the stated
resolution of the coverage without modifying its data ?

Michael


On 5 May 2010 23:29, Adnila <[email protected]> wrote:
>
> Hey all,
> now I am trying to use a fixed resolution for a rescaling of a
> gridcoverage2D.
> The user should be able to choose a resolution from a GUI.
> What am I supposed to do if I want the rescaling with a fixed resolution for
> example from 500m to 1000m. I need a generic solution.
>
> At the moment I am just able to reproject a gridcoverage2D to another CRS:
>
> crs_ETRS89_LAEA = CRS.decode("EPSG:3035");
> // convert GridCoverage2D to ETRS89_LAEA
> gc2DCRSconvert = (GridCoverage2D) Operations.DEFAULT.resample(gc2D,
> crs_ETRS89_LAEA);
>
> which method am I supposed to use for the fixed resolution?
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Rescale-GridCoverage2D-with-fixed-resolution-tp5008772p5008772.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>

------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to