> "Rectangle pixelBounds" is the bounding box of the polygon?

yes - Martin's code is assuming that you've got a rectangle expressed
in screen coords - is that what you're starting with ? (sorry - it's a
bit ambiguous in your query)

> What is "CRS" in the third line - the CRS of the grid coverage? The

It's the CRS class.  CRS.transform is a static method.  In fact, all
of the methods in this class are static.  Have a look at the javadocs
at http://javadoc.geotools.fr/snapshot/org/geotools/referencing/CRS.html
and you should then be able to get the gist of Martin's code more
easily.

Hope this helps

Michael

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to