|
From: ChristianG <Sys...@we...> - 2008-06-19 09:08:51
|
Here is the next problem - creating a ROI: It is possible to create an AWT-polygon by Polygon polygon = new Polygon( int[] xpoints, int[] ypoints, int npoints ); and subsequently use it for ROI creation: ROIShape roi = new ROIShape( polygon ); The problem now is, the polygon needs integer-coordinates, but I've got geographic double values. Is it possible to use this MathTransform stuff, suggested by Martin before, to get image-coordinates? And, if yes, am I losing much accuracy due to this transformation? Christian -- View this message in context: http://www.nabble.com/Get-world-coordinates-of-a-grid-coverage-tp17879556p18000617.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. |