Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 2.7.5
-
Component/s: referencing
-
Labels:None
-
Environment:Maven version: 2.0.9
Java version: 1.6.0_10
OS name: "linux" version: "2.6.27-7-generic" arch: "i386" Family: "unix"
Description
This is my first chance to try building on linux in years; after battling with dependency trouble I am now down to sorting out compile errors.
Test set: org.geotools.referencing.ScriptTest
-------------------------------------------------------------------------------
Tests run: 16, Failures: 0, Errors: 2, Skipped: 2, Time elapsed: 0.842 sec <<< FAILURE!
testStereographic(org.geotools.referencing.ScriptTest) Time elapsed: 0.043 sec <<< ERROR!
org.opengis.referencing.operation.TransformException: Transformation doesn't produce the expected values.
...
testOrthographic(org.geotools.referencing.ScriptTest) Time elapsed: 0.019 sec <<< ERROR!
org.geotools.referencing.operation.projection.ProjectionException: The transform result may be 1,943,446.412 mete
rs away from the expected position. Are you sure that the input coordinates are inside this map projection area o
f validity? The point is located 270°00.0'W away from the central meridian and 40°47.0'S away from the latitude o
f origin. The projection is "Orthographic".
at org.geotools.referencing.operation.projection.MapProjection.checkReciprocal(MapProjection.java:630)
at org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:821)
at org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:855)
at org.geotools.referencing.operation.transform.AbstractMathTransform.transform(AbstractMathTransform.jav
a:256)
at org.geotools.referencing.Console.test(Console.java:602)
at org.geotools.referencing.ScriptRunner.test(ScriptRunner.java:61)
Is this one of those cases where Java 5 handles things differently?