Have a look at the information on grid coverage (GIS speak for raster).
There is a sample operation that you can use to extract the values into your 
own array.

I will point out that this is not the usual way of doing things; normally 
people set up a chain of operations and the system is smart enough to only
pull enough pixels through the chain to get the answer.

A good example to look at in the code base (for messing around with values) is 
the raster to vector operation (because it looks hard at every pixel to see if 
it is an edge).

- 
http://svn.osgeo.org/geotools/trunk/modules/unsupported/process/src/main/java/org/geotools/process/raster/RasterToVectorProcess.java
-- 
Jody Garnett

On Wednesday, 11 May 2011 at 9:35 PM, vashisthg wrote: 
> Hi friends,
> I am a new user of geotools.
> I want to get the coordinate values and value(Height, as the image file is a
> raster) of every pixel, preferably with a for loop or anything. I need to
> change the x y and z values acc to a criteria which i have already coded.
> 
> Thanks and Regards
> Gaurav Vashisth
> 
> M.Tech Geomatics Engineering
> Indian Institute of Technology Roorkee
> India
> 
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/get-x-y-and-values-of-every-pixel-new-user-tp6351477p6351477.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> 
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to