Class GIGS2007


  • public class GIGS2007
    extends AuthorityFactoryTestCase<Transformation>
    Verifies reference coordinate transformations bundled with the geoscience software.
    Test method: Compare transformation definitions included in the software against the EPSG Dataset.
    Test data: GIGS_2007_libGeodTfm.csv and EPSG Dataset.
    Tested API: CoordinateOperationAuthorityFactory.createCoordinateOperation(String).
    Expected result: Transformation definitions bundled with the software should have the same name, method name, defining parameters and parameter values as in EPSG Dataset. The values of the parameters should be correct to at least 10 significant figures. Transformations missing from the software or at variance with those in the EPSG Dataset should be reported.
    Usage example: in order to specify their factories and run the tests in a JUnit framework, implementors can define a subclass in their own test suite as in the example below:
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    import org.opengis.test.referencing.gigs.GIGS2007;
    
    @RunWith(JUnit4.class)
    public class MyTest extends GIGS2007 {
        public MyTest() {
            super(new MyCoordinateOperationAuthorityFactory());
        }
    }
    Since:
    3.1
    • Method Detail

      • factories

        public static List<Factory[]> factories()
        Returns a default set of factories to use for running the tests. Those factories are given in arguments to the constructor when this test class is instantiated directly by JUnit (for example as a suite element), instead than subclassed by the implementor. The factories are fetched as documented in the TestCase.factories(Class[]) javadoc.
        Returns:
        the default set of arguments to be given to the GIGS2007 constructor.
      • testAGD66_to_GDA94

        public void testAGD66_to_GDA94()
                                throws FactoryException
        Tests “AGD66 to GDA94 (11)” transformation creation from the factory.
        • EPSG transformation code: 1803
        • EPSG transformation name: AGD66 to GDA94 (11)
        • Transformation method: NTv2
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testAGD66_to_WGS84

        public void testAGD66_to_WGS84()
                                throws FactoryException
        Tests “AGD66 to WGS 84 (17)” transformation creation from the factory.
        • EPSG transformation code: 15786
        • EPSG transformation name: AGD66 to WGS 84 (17)
        • Transformation method: NTv2
        • Specific usage / Remarks: EPSG copy of 1803.
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testAGD84_to_GDA94

        public void testAGD84_to_GDA94()
                                throws FactoryException
        Tests “AGD84 to GDA94 (5)” transformation creation from the factory.
        • EPSG transformation code: 1804
        • EPSG transformation name: AGD84 to GDA94 (5)
        • Transformation method: NTv2
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testAGD84_to_WGS84

        public void testAGD84_to_WGS84()
                                throws FactoryException
        Tests “AGD84 to WGS 84 (9)” transformation creation from the factory.
        • EPSG transformation code: 15785
        • EPSG transformation name: AGD84 to WGS 84 (9)
        • Transformation method: NTv2
        • Specific usage / Remarks: EPSG copy of 1804.
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testAmersfoort_to_WGS84

        public void testAmersfoort_to_WGS84()
                                     throws FactoryException
        Tests “Amersfoort to WGS 84 (3)” transformation creation from the factory.
        • EPSG transformation code: 15934
        • EPSG transformation name: Amersfoort to WGS 84 (3)
        • Transformation method: Coordinate Frame rotation
        • Specific usage / Remarks: Uses unusual unit (microradian) as rotation unit.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testBogota1975_to_MAGNASIRGAS

        public void testBogota1975_to_MAGNASIRGAS()
                                           throws FactoryException
        Tests “Bogota 1975 to MAGNA-SIRGAS (9)” transformation creation from the factory.
        • EPSG transformation code: 15730
        • EPSG transformation name: Bogota 1975 to MAGNA-SIRGAS (9)
        • Transformation method: Molodensky-Badekas 10-parameter transformation
        • Specific usage / Remarks: Uses unusual unit (radian) as rotation unit.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testBogota1975_to_WGS84

        public void testBogota1975_to_WGS84()
                                     throws FactoryException
        Tests “Bogota 1975 to WGS 84 (3)” transformation creation from the factory.
        • EPSG transformation code: 15715
        • EPSG transformation name: Bogota 1975 to WGS 84 (3)
        • Transformation method: Coordinate Frame rotation
        • Specific usage / Remarks: Uses unusual unit (radian) as rotation unit.
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testCamacupa_to_WGS84

        public void testCamacupa_to_WGS84()
                                   throws FactoryException
        Tests “Camacupa to WGS 84 (10)” transformation creation from the factory.
        • EPSG transformation code: 1327
        • EPSG transformation name: Camacupa to WGS 84 (10)
        • Transformation method: Geocentric translations
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testCH1903_to_WGS84

        public void testCH1903_to_WGS84()
                                 throws FactoryException
        Tests “CH1903 to WGS 84 (1)” transformation creation from the factory.
        • EPSG transformation code: 1753
        • EPSG transformation name: CH1903 to WGS 84 (1)
        • Transformation method: Coordinate Frame rotation
        • Specific usage / Remarks: Uses unusual unit (centesimal second) as rotation unit.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testED50_to_WGS84_18

        public void testED50_to_WGS84_18()
                                  throws FactoryException
        Tests “ED50 to WGS 84 (18)” transformation creation from the factory.
        • EPSG transformation code: 1311
        • EPSG transformation name: ED50 to WGS 84 (18)
        • Transformation method: Position Vector 7-param. transformation
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testED50_to_WGS84_23

        public void testED50_to_WGS84_23()
                                  throws FactoryException
        Tests “ED50 to WGS 84 (23)” transformation creation from the factory.
        • EPSG transformation code: 1612
        • EPSG transformation name: ED50 to WGS 84 (23)
        • Transformation method: Position Vector 7-param. transformation
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testED50_to_WGS84_24

        public void testED50_to_WGS84_24()
                                  throws FactoryException
        Tests “ED50 to WGS 84 (24)” transformation creation from the factory.
        • EPSG transformation code: 1613
        • EPSG transformation name: ED50 to WGS 84 (24)
        • Transformation method: Position Vector 7-param. transformation
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testED50_to_WGS84_32

        public void testED50_to_WGS84_32()
                                  throws FactoryException
        Tests “ED50 to WGS 84 (32)” transformation creation from the factory.
        • EPSG transformation code: 1999
        • EPSG transformation name: ED50 to WGS 84 (32)
        • Transformation method: Position Vector 7-param. transformation
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testED50_to_WGS84_36

        public void testED50_to_WGS84_36()
                                  throws FactoryException
        Tests “ED50 to WGS 84 (36)” transformation creation from the factory.
        • EPSG transformation code: 1998
        • EPSG transformation name: ED50 to WGS 84 (36)
        • Transformation method: Position Vector 7-param. transformation
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testLaCanoa_to_WGS84

        public void testLaCanoa_to_WGS84()
                                  throws FactoryException
        Tests “La Canoa to WGS 84 (2)” transformation creation from the factory.
        • EPSG transformation code: 1096
        • EPSG transformation name: La Canoa to WGS 84 (2)
        • Transformation method: Molodensky-Badekas 10-parameter transformation
        • Specific usage / Remarks: Identify whether 1095 or 1096 or both are given.
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testNAD27_to_NAD83_1

        public void testNAD27_to_NAD83_1()
                                  throws FactoryException
        Tests “NAD27 to NAD83 (1)” transformation creation from the factory.
        • EPSG transformation code: 1241
        • EPSG transformation name: NAD27 to NAD83 (1)
        • Transformation method: NADCON
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testNAD27_to_NAD83_2

        public void testNAD27_to_NAD83_2()
                                  throws FactoryException
        Tests “NAD27 to NAD83 (2)” transformation creation from the factory.
        • EPSG transformation code: 1243
        • EPSG transformation name: NAD27 to NAD83 (2)
        • Transformation method: NADCON
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testNAD27_to_NAD83_4

        public void testNAD27_to_NAD83_4()
                                  throws FactoryException
        Tests “NAD27 to NAD83 (4)” transformation creation from the factory.
        • EPSG transformation code: 1313
        • EPSG transformation name: NAD27 to NAD83 (4)
        • Transformation method: NTv2
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testNAD27_to_WGS84

        public void testNAD27_to_WGS84()
                                throws FactoryException
        Tests “NAD27 to WGS 84 (33)” transformation creation from the factory.
        • EPSG transformation code: 1693
        • EPSG transformation name: NAD27 to WGS 84 (33)
        • Transformation method: NTv2
        • Specific usage / Remarks: EPSG copy of 1313.
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testNAD27_to_WGS84_79

        public void testNAD27_to_WGS84_79()
                                   throws FactoryException
        Tests “NAD27 to WGS 84 (79)” transformation creation from the factory.
        • EPSG transformation code: 15851
        • EPSG transformation name: NAD27 to WGS 84 (79)
        • Transformation method: NADCON
        • Specific usage / Remarks: EPSG copy of 1241.
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testNAD27_to_WGS84_85

        public void testNAD27_to_WGS84_85()
                                   throws FactoryException
        Tests “NAD27 to WGS 84 (85)” transformation creation from the factory.
        • EPSG transformation code: 15864
        • EPSG transformation name: NAD27 to WGS 84 (85)
        • Transformation method: NADCON
        • Specific usage / Remarks: EPSG copy of 1243.
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testNTF_Paris__to_NTF

        public void testNTF_Paris__to_NTF()
                                   throws FactoryException
        Tests “NTF (Paris) to NTF (1)” transformation creation from the factory.
        • EPSG transformation code: 1763
        • EPSG transformation name: NTF (Paris) to NTF (1)
        • Transformation method: Longitude rotation
        • Specific usage / Remarks: Uses unusual unit (grad) as rotation unit.
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.
      • testPSAD56_to_WGS84

        public void testPSAD56_to_WGS84()
                                 throws FactoryException
        Tests “PSAD56 to WGS 84 (13)” transformation creation from the factory.
        • EPSG transformation code: 1095
        • EPSG transformation name: PSAD56 to WGS 84 (13)
        • Transformation method: Molodensky-Badekas 10-parameter transformation
        • Specific usage / Remarks: Identify whether 1095 or 1096 or both are given.
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the transformation from the EPSG code.