Hi!
I encountered really strange behaviour from the geotools 2-2 library when using an UTM (transform zone 31 north). With assertions enabled, transforming a WGS84 geographical coordinate where the longitude is 0 throws the following exception: java.lang.AssertionError: The transform result may be 0.095 meters away from the expected position. Are you sure that the input coordinates are inside this map projection area of validity? The point is located 3°00.0'W away from the central meridian and 63°00.0'N away from the latitude of origin. at org.geotools.referencing.operation.projection.MapProjection.checkTransform(MapProjection.java:506) at org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:643) at org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:678) The above exception was generated using the coordinate 63.0N 0.0E and the transform: PARAM_MT["Transverse_Mercator", PARAMETER["semi_major", 6378137.0], PARAMETER["semi_minor", 6356752.314245179], PARAMETER["central_meridian", 3.0], PARAMETER["latitude_of_origin", 0.0], PARAMETER["scale_factor", 0.9996], PARAMETER["false_easting", 500000.0], PARAMETER["false_northing", 0.0]] The really strange thing is that changing the longitude to 0.01 or -0.01 will not generate any assertions. Is my thinking totally stupid here or has anyone else encountered something similar. Best regards, -- sten ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users