Christian Müller a écrit : > Simone, If your are attacking this CRS stuff, could you please make a design > offering an API for CRS conversions of envelopes and images.
For the transformation of envelopes, there is this method: http://javadoc.geotools.fr/snapshot/org/geotools/referencing/CRS.html#transform(org.opengis.geometry.Envelope,%20org.opengis.referencing.crs.CoordinateReferenceSystem) This is not a trivial task if we want to take in account the case when the envelope encompasses a pole, as you can see if you look at the code. http://hg.geomatys.com/geotidy/file/a9b57f73b998/modules/referencing/gt-referencing/src/main/java/org/geotools/referencing/CRS.java#l1182 Unless you feel courageous, it is probably easier to stick with the above CRS static methods... Martin ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
