[EMAIL PROTECTED] a écrit :
> given a GridCoverage2D and a rectangle (derived from the bouning box  
> of a polygon), what is the best way to get the world/geographic  
> coordinates of the pixels the rectangle contains?

MathTransform tr = GridCoverage2D.getGridGeometry().getGridToCRS();
Rectangle pixelBounds = ...
Rectangle2D geographicBounds = CRS.transform(tr, pixelBounds, null);

        Martin

-------------------------------------------------------------------------
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