So I've set the system wide default
System.setProperty("org.geotools.referencing.forceXY", "true");
as suggested on the page referenced by Michael... I had a hell of  a time
making raster reprojections work, but that did the trick. However, in that
situation I was not constructing any object "by hand" so to speak. 
I did notice the inversion on NoRTHING/EASTING coordinates but I did not pay
it much attention....
So am I right in undestanding that my NZTM envelope should be
ReferencedEnvelope envelope = new ReferencedEnvelope(miny, maxy, minx, miny,
sourceCRS); ?
gaby




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Need-help-reprojecting-ReferencedEnvelope-tp5069254p5069262.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to