Dear all, I'm using uDig for my own application and have this problem: The operator can make snapshots of the map for usage outside of the GIS component of my application. The image (AWT Raster) is saved together with envelope details (crs, min and max x and y). With a tool the user can trim (crop?) this image inside the appliction. Example:Only a certain part of the map / image is of interest. Besides saving the new raster (quite easy) I must modify the saved envelope values and here I need some help.
I have the old Raster and a new Raster that is a part of old Raster. How is it possible with geotools or jts to calculate the new bounding box. I have the old bounding box and new and old raster dimensions. Thanks for your help!!! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel