Class GIGS2008


  • public class GIGS2008
    extends AuthorityFactoryTestCase<VerticalCRS>
    Verifies reference vertical datums and CRSs bundled with the geoscience software.
    Test method: Compare vertical datum and CRS definitions included in the software against the EPSG Dataset.
    Test data: GIGS_2008_libVerticalDatumCRS.csv and EPSG Dataset.
    Tested API: DatumAuthorityFactory.createVerticalDatum(String) and
    CRSAuthorityFactory.createVerticalCRS(String).
    Expected result: Definitions bundled with the software should have the same name and coordinate system (including axes direction and units) as in EPSG Dataset. CRSs 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.GIGS2008;
    
    @RunWith(JUnit4.class)
    public class MyTest extends GIGS2008 {
        public MyTest() {
            super(new MyDatumAuthorityFactory(),
                  new MyCRSAuthorityFactory());
        }
    }
    Since:
    3.1
    • Constructor Detail

    • 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 GIGS2008 constructor.
      • testAHD_Tasmania

        public void testAHD_Tasmania()
                              throws FactoryException
        Tests “AHD (Tasmania) height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5112
        • EPSG vertical datum name: Australian Height Datum (Tasmania)
        • EPSG vertical CRS code: 5712
        • EPSG vertical CRS name: AHD (Tasmania) height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testAHD

        public void testAHD()
                     throws FactoryException
        Tests “AHD height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5111
        • EPSG vertical datum name: Australian Height Datum
        • EPSG vertical CRS code: 5711
        • EPSG vertical CRS name: AHD height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testAIOC95Depth

        public void testAIOC95Depth()
                             throws FactoryException
        Tests “AIOC95 depth” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5133
        • EPSG vertical datum name: AIOC 1995
        • EPSG vertical CRS code: 5734
        • EPSG vertical CRS name: AIOC95 depth
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testAIOC95Height

        public void testAIOC95Height()
                              throws FactoryException
        Tests “AIOC95 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5133
        • EPSG vertical datum name: AIOC 1995
        • EPSG vertical CRS code: 5797
        • EPSG vertical CRS name: AIOC95 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testBaltic1982

        public void testBaltic1982()
                            throws FactoryException
        Tests “Baltic 1982 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5184
        • EPSG vertical datum name: Baltic 1982
        • EPSG vertical CRS code: 5786
        • EPSG vertical CRS name: Baltic 1982 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testBalticDepth

        public void testBalticDepth()
                             throws FactoryException
        Tests “Baltic 1977 depth” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5105
        • EPSG vertical datum name: Baltic 1977
        • EPSG vertical CRS code: 5612
        • EPSG vertical CRS name: Baltic 1977 depth
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testBalticHeight

        public void testBalticHeight()
                              throws FactoryException
        Tests “Baltic 1977 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5105
        • EPSG vertical datum name: Baltic 1977
        • EPSG vertical CRS code: 5705
        • EPSG vertical CRS name: Baltic 1977 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testBandarAbbas

        public void testBandarAbbas()
                             throws FactoryException
        Tests “Bandar Abbas height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5150
        • EPSG vertical datum name: Bandar Abbas
        • EPSG vertical CRS code: 5752
        • EPSG vertical CRS name: Bandar Abbas height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testCaspianSea

        public void testCaspianSea()
                            throws FactoryException
        Tests “Caspian depth” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5106
        • EPSG vertical datum name: Caspian Sea
        • EPSG vertical CRS code: 5706
        • EPSG vertical CRS name: Caspian depth
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testCGVD28

        public void testCGVD28()
                        throws FactoryException
        Tests “CGVD28 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5114
        • EPSG vertical datum name: Canadian Geodetic Vertical Datum of 1928
        • EPSG vertical CRS code: 5713
        • EPSG vertical CRS name: CGVD28 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testDHHN85

        public void testDHHN85()
                        throws FactoryException
        Tests “DHHN85 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5182
        • EPSG vertical datum name: Deutsches Haupthoehennetz 1985
        • EPSG vertical CRS code: 5784
        • EPSG vertical CRS name: DHHN85 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testDHHN92

        public void testDHHN92()
                        throws FactoryException
        Tests “DHHN92 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5181
        • EPSG vertical datum name: Deutsches Haupthoehennetz 1992
        • EPSG vertical CRS code: 5783
        • EPSG vertical CRS name: DHHN92 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testEGM96

        public void testEGM96()
                       throws FactoryException
        Tests “EGM96 geoid height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5171
        • EPSG vertical datum name: EGM96 geoid
        • EPSG vertical CRS code: 5773
        • EPSG vertical CRS name: EGM96 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testEVRF2000

        public void testEVRF2000()
                          throws FactoryException
        Tests “EVRF2000 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5129
        • EPSG vertical datum name: European Vertical Reference Frame 2000
        • EPSG vertical CRS code: 5730
        • EPSG vertical CRS name: EVRF2000 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testEVRF2007

        public void testEVRF2007()
                          throws FactoryException
        Tests “EVRF2007 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5215
        • EPSG vertical datum name: European Vertical Reference Frame 2007
        • EPSG vertical CRS code: 5621
        • EPSG vertical CRS name: EVRF2007 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testFahudHD

        public void testFahudHD()
                         throws FactoryException
        Tests “Fahud HD height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5124
        • EPSG vertical datum name: Fahud Height Datum
        • EPSG vertical CRS code: 5725
        • EPSG vertical CRS name: Fahud HD height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testFao

        public void testFao()
                     throws FactoryException
        Tests “Fao height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5149
        • EPSG vertical datum name: Fao
        • EPSG vertical CRS code: 5751
        • EPSG vertical CRS name: Fao height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testKOC_CD

        public void testKOC_CD()
                        throws FactoryException
        Tests “KOC CD height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5188
        • EPSG vertical datum name: KOC Construction Datum
        • EPSG vertical CRS code: 5790
        • EPSG vertical CRS name: KOC CD height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testKOC_WD

        public void testKOC_WD()
                        throws FactoryException
        Tests “KOC WD depth” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5187
        • EPSG vertical datum name: KOC Well Datum
        • EPSG vertical CRS code: 5789
        • EPSG vertical CRS name: KOC WD depth
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testKOC_WD_ft

        public void testKOC_WD_ft()
                           throws FactoryException
        Tests “KOC WD depth (ft)” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5187
        • EPSG vertical datum name: KOC Well Datum
        • EPSG vertical CRS code: 5614
        • EPSG vertical CRS name: KOC WD depth (ft)
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testKuwaitPWD

        public void testKuwaitPWD()
                           throws FactoryException
        Tests “Kuwait PWD height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5186
        • EPSG vertical datum name: Kuwait PWD
        • EPSG vertical CRS code: 5788
        • EPSG vertical CRS name: Kuwait PWD height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testLagos

        public void testLagos()
                       throws FactoryException
        Tests “Lagos 1955 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5194
        • EPSG vertical datum name: Lagos 1955
        • EPSG vertical CRS code: 5796
        • EPSG vertical CRS name: Lagos 1955 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testMslDepth

        public void testMslDepth()
                          throws FactoryException
        Tests “msl depth” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5100
        • EPSG vertical datum name: Mean Sea Level
        • EPSG vertical CRS code: 5715
        • EPSG vertical CRS name: MSL depth
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testMslHeight

        public void testMslHeight()
                           throws FactoryException
        Tests “msl height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5100
        • EPSG vertical datum name: Mean Sea Level
        • EPSG vertical CRS code: 5714
        • EPSG vertical CRS name: MSL height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testNAP

        public void testNAP()
                     throws FactoryException
        Tests “NAP height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5109
        • EPSG vertical datum name: Normaal Amsterdams Peil
        • EPSG vertical CRS code: 5709
        • EPSG vertical CRS name: NAP height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testNAVD88

        public void testNAVD88()
                        throws FactoryException
        Tests “NAVD88 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5103
        • EPSG vertical datum name: North American Vertical Datum 1988
        • EPSG vertical CRS code: 5703
        • EPSG vertical CRS name: NAVD88 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testIGN69

        public void testIGN69()
                       throws FactoryException
        Tests “NGF IGN69 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5119
        • EPSG vertical datum name: Nivellement General de la France - IGN69
        • EPSG vertical CRS code: 5720
        • EPSG vertical CRS name: NGF-IGN69 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testLallemand

        public void testLallemand()
                           throws FactoryException
        Tests “NGF Lallemand height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5118
        • EPSG vertical datum name: Nivellement General de la France - Lallemand
        • EPSG vertical CRS code: 5719
        • EPSG vertical CRS name: NGF Lallemand height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testNGVD29

        public void testNGVD29()
                        throws FactoryException
        Tests “NGVD29 height (ftUS)” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5102
        • EPSG vertical datum name: National Geodetic Vertical Datum 1929
        • EPSG vertical CRS code: 5702
        • EPSG vertical CRS name: NGVD29 height (ftUS)
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testODN

        public void testODN()
                     throws FactoryException
        Tests “ODN height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5101
        • EPSG vertical datum name: Ordnance Datum Newlyn
        • EPSG vertical CRS code: 5701
        • EPSG vertical CRS name: ODN height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testPHD93

        public void testPHD93()
                       throws FactoryException
        Tests “PHD93 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5123
        • EPSG vertical datum name: PDO Height Datum 1993
        • EPSG vertical CRS code: 5724
        • EPSG vertical CRS name: PHD93 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testYellowSea1956

        public void testYellowSea1956()
                               throws FactoryException
        Tests “Yellow Sea 1956 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5104
        • EPSG vertical datum name: Yellow Sea 1956
        • EPSG vertical CRS code: 5736
        • EPSG vertical CRS name: Yellow Sea 1956 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.
      • testYellowSea1985

        public void testYellowSea1985()
                               throws FactoryException
        Tests “Yellow Sea 1985 height” vertical CRS creation from the factory.
        • EPSG vertical datum code: 5137
        • EPSG vertical datum name: Yellow Sea 1985
        • EPSG vertical CRS code: 5737
        • EPSG vertical CRS name: Yellow Sea 1985 height
        • Particularly important to E&P industry.
        Throws:
        FactoryException - if an error occurred while creating the vertical datum or CRS from the EPSG code.