GeoTools
  1. GeoTools
  2. GEOT-2144

ScriptTest failure on Linux w/ Java 6

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.7.6
    • 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 27000.0'W away from the central meridian and 4047.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?

        Issue Links

          Activity

          Hide
          Martin Desruisseaux added a comment -
          There is some chances that this issue is fixed in geotidy. All projections the test scripts has been ported, some of them modified, and pass with Java 6 update 11 on Linux Gentoo.
          Show
          Martin Desruisseaux added a comment - There is some chances that this issue is fixed in geotidy. All projections the test scripts has been ported, some of them modified, and pass with Java 6 update 11 on Linux Gentoo.
          Hide
          Martin Desruisseaux added a comment -
          Set "fix version" to unknown since I can't commit to fix this issue for the next milestone. Actually this issue is already fixed in geotidy - the question is more when this work can be linked to GeoTools trunk.
          Show
          Martin Desruisseaux added a comment - Set "fix version" to unknown since I can't commit to fix this issue for the next milestone. Actually this issue is already fixed in geotidy - the question is more when this work can be linked to GeoTools trunk.

            People

            • Assignee:
              Unassigned
              Reporter:
              Jody Garnett
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: