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.


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