Package org.iogp.gigs

Class Test2209


@DisplayName("Vertical datum") public class Test2209 extends Series2000<VerticalDatum>
Verifies reference vertical datums with the geoscience software.
Test description
Test method: Compare vertical datum definitions included in the software against the EPSG Dataset.
Test data: GIGS_lib_2209_VerticalDatum.txt and EPSG Dataset.
Tested API: DatumAuthorityFactory.createVerticalDatum(String).
Expected result: Definitions bundled with the software should have the same name as in EPSG Dataset. Datums 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, implementers can define a subclass in their own test suite as in the example below:
public class MyTest extends Test2209 {
    public MyTest() {
        super(new MyDatumAuthorityFactory());
    }
}
Since:
1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final DatumAuthorityFactory
    Factory to use for building VerticalDatum instances, or null if none.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new test using the given factory.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Tests “Mean Sea Level” vertical datum creation from the factory.
    void
    Tests “Ordnance Datum Newlyn” vertical datum creation from the factory.
    void
    Tests “National Geodetic Vertical Datum 1929” vertical datum creation from the factory.
    void
    Tests “North American Vertical Datum 1988” vertical datum creation from the factory.
    void
    Tests “Yellow Sea 1956” vertical datum creation from the factory.
    void
    Tests “Baltic 1977” vertical datum creation from the factory.
    void
    Tests “Caspian Sea” vertical datum creation from the factory.
    void
    Tests “Normaal Amsterdams Peil” vertical datum creation from the factory.
    void
    Tests “Australian Height Datum” vertical datum creation from the factory.
    void
    Tests “Australian Height Datum (Tasmania)” vertical datum creation from the factory.
    void
    Tests “Canadian Geodetic Vertical Datum of 1928” vertical datum creation from the factory.
    void
    Tests “Nivellement General de la France - Lallemand” vertical datum creation from the factory.
    void
    Tests “Nivellement General de la France - IGN69” vertical datum creation from the factory.
    void
    Tests “PDO Height Datum 1993” vertical datum creation from the factory.
    void
    Tests “Fahud Height Datum” vertical datum creation from the factory.
    void
    Tests “European Vertical Reference Frame 2000” vertical datum creation from the factory.
    void
    Tests “AIOC 1995” vertical datum creation from the factory.
    void
    Tests “Yellow Sea 1985” vertical datum creation from the factory.
    void
    Tests “Fao” vertical datum creation from the factory.
    void
    Tests “Bandar Abbas” vertical datum creation from the factory.
    void
    Tests “EGM96 geoid” vertical datum creation from the factory.
    void
    Tests “Deutches Haupthohennetz 1992” vertical datum creation from the factory.
    void
    Tests “Deutches Haupthohennetz 1985” vertical datum creation from the factory.
    void
    Tests “Baltic 1982” vertical datum creation from the factory.
    void
    Tests “Kuwait PWD” vertical datum creation from the factory.
    void
    Tests “KOC Well Datum” vertical datum creation from the factory.
    void
    Tests “KOC Construction Datum” vertical datum creation from the factory.
    void
    Tests “Lagos 1955” vertical datum creation from the factory.
    void
    Tests “European Vertical Reference Frame 2007” vertical datum creation from the factory.
    Returns the vertical datum instance to be tested.

    Methods inherited from class Series2000

    getVerifiableName

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Test2209

      public Test2209(DatumAuthorityFactory datumFactory)
      Creates a new test using the given factory. If a given factory is null, then the tests which depend on it will be skipped.
      Parameters:
      datumFactory - factory for creating VerticalDatum instances.
  • Method Details

    • getIdentifiedObject

      public VerticalDatum getIdentifiedObject() throws FactoryException
      Returns the vertical datum instance to be tested. When this method is invoked for the first time, it creates the vertical datum to test by invoking the DatumAuthorityFactory.createVerticalDatum(String) method with the current Series2000.code value in argument. The created object is then cached and returned in all subsequent invocations of this method.
      Specified by:
      getIdentifiedObject in class Series2000<VerticalDatum>
      Returns:
      the vertical datum instance to test.
      Throws:
      FactoryException - if an error occurred while creating the vertical datum instance.
    • EPSG_5133

      @Test @DisplayName("AIOC 1995") public void EPSG_5133() throws FactoryException
      Tests “AIOC 1995” vertical datum creation from the factory.
      • EPSG datum code: 5133
      • EPSG datum name: AIOC 1995
      • Alias(es) given by EPSG: AIOC95
      • EPSG Usage Extent: Azerbaijan - offshore and Sangachal
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5111

      @Test @DisplayName("Australian Height Datum") public void EPSG_5111() throws FactoryException
      Tests “Australian Height Datum” vertical datum creation from the factory.
      • EPSG datum code: 5111
      • EPSG datum name: Australian Height Datum
      • Alias(es) given by EPSG: AHD, AHD71, AHD-TAS83
      • EPSG Usage Extent: Australia Christmas and Cocos - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5112

      @Test @DisplayName("Australian Height Datum (Tasmania)") public void EPSG_5112() throws FactoryException
      Tests “Australian Height Datum (Tasmania)” vertical datum creation from the factory.
      • EPSG datum code: 5112
      • EPSG datum name: Australian Height Datum (Tasmania)
      • Alias(es) given by EPSG: AHD (Tasmania)
      • EPSG Usage Extent: Australia - Tasmania mainland onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5105

      @Test @DisplayName("Baltic 1977") public void EPSG_5105() throws FactoryException
      Tests “Baltic 1977” vertical datum creation from the factory.
      • EPSG datum code: 5105
      • EPSG datum name: Baltic 1977
      • Alias(es) given by EPSG: Baltic, Baltic Sea
      • EPSG Usage Extent: Europe - FSU onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5184

      @Test @DisplayName("Baltic 1982") public void EPSG_5184() throws FactoryException
      Tests “Baltic 1982” vertical datum creation from the factory.
      • EPSG datum code: 5184
      • EPSG datum name: Baltic 1982
      • EPSG Usage Extent: Bulgaria - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5150

      @Test @DisplayName("Bandar Abbas") public void EPSG_5150() throws FactoryException
      Tests “Bandar Abbas” vertical datum creation from the factory.
      • EPSG datum code: 5150
      • EPSG datum name: Bandar Abbas
      • EPSG Usage Extent: Iran - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5114

      @Test @DisplayName("Canadian Geodetic Vertical Datum of 1928") public void EPSG_5114() throws FactoryException
      Tests “Canadian Geodetic Vertical Datum of 1928” vertical datum creation from the factory.
      • EPSG datum code: 5114
      • EPSG datum name: Canadian Geodetic Vertical Datum of 1928
      • Alias(es) given by EPSG: CVD28, Canadian Vertical Datum of 1928, CGVD28
      • EPSG Usage Extent: Canada
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5106

      @Test @DisplayName("Caspian Sea") public void EPSG_5106() throws FactoryException
      Tests “Caspian Sea” vertical datum creation from the factory.
      • EPSG datum code: 5106
      • EPSG datum name: Caspian Sea
      • Alias(es) given by EPSG: Caspian
      • EPSG Usage Extent: Asia - FSU - Caspian Sea
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5182

      @Test @DisplayName("Deutches Haupthohennetz 1985") public void EPSG_5182() throws FactoryException
      Tests “Deutches Haupthohennetz 1985” vertical datum creation from the factory.
      • EPSG datum code: 5182
      • EPSG datum name: Deutches Haupthohennetz 1985
      • Alias(es) given by EPSG: DHHN85, Deutsches Haupth√∂hennetz 1985
      • EPSG Usage Extent: Germany - West Germany all states
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5181

      @Test @DisplayName("Deutches Haupthohennetz 1992") public void EPSG_5181() throws FactoryException
      Tests “Deutches Haupthohennetz 1992” vertical datum creation from the factory.
      • EPSG datum code: 5181
      • EPSG datum name: Deutches Haupthohennetz 1992
      • Alias(es) given by EPSG: DHHN92, Deutsches Haupth√∂hennetz 1992
      • EPSG Usage Extent: Germany - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5171

      @Test @DisplayName("EGM96 geoid") public void EPSG_5171() throws FactoryException
      Tests “EGM96 geoid” vertical datum creation from the factory.
      • EPSG datum code: 5171
      • EPSG datum name: EGM96 geoid
      • Alias(es) given by EPSG: EGM96
      • EPSG Usage Extent: World
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5129

      @Test @DisplayName("European Vertical Reference Frame 2000") public void EPSG_5129() throws FactoryException
      Tests “European Vertical Reference Frame 2000” vertical datum creation from the factory.
      • EPSG datum code: 5129
      • EPSG datum name: European Vertical Reference Frame 2000
      • Alias(es) given by EPSG: EVRF2000
      • EPSG Usage Extent: Europe
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5215

      @Test @DisplayName("European Vertical Reference Frame 2007") public void EPSG_5215() throws FactoryException
      Tests “European Vertical Reference Frame 2007” vertical datum creation from the factory.
      • EPSG datum code: 5215
      • EPSG datum name: European Vertical Reference Frame 2007
      • Alias(es) given by EPSG: EVRF2007
      • EPSG Usage Extent: Europe
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5124

      @Test @DisplayName("Fahud Height Datum") public void EPSG_5124() throws FactoryException
      Tests “Fahud Height Datum” vertical datum creation from the factory.
      • EPSG datum code: 5124
      • EPSG datum name: Fahud Height Datum
      • Alias(es) given by EPSG: Fahud HD
      • EPSG Usage Extent: Oman - mainland
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5149

      @Test @DisplayName("Fao") public void EPSG_5149() throws FactoryException
      Tests “Fao” vertical datum creation from the factory.
      • EPSG datum code: 5149
      • EPSG datum name: Fao
      • Alias(es) given by EPSG: British Vertical Datum
      • EPSG Usage Extent: Asia - Middle East -SE Iraq and SW Iran
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5188

      @Test @DisplayName("KOC Construction Datum") public void EPSG_5188() throws FactoryException
      Tests “KOC Construction Datum” vertical datum creation from the factory.
      • EPSG datum code: 5188
      • EPSG datum name: KOC Construction Datum
      • Alias(es) given by EPSG: CD
      • EPSG Usage Extent: Kuwait - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5187

      @Test @DisplayName("KOC Well Datum") public void EPSG_5187() throws FactoryException
      Tests “KOC Well Datum” vertical datum creation from the factory.
      • EPSG datum code: 5187
      • EPSG datum name: KOC Well Datum
      • Alias(es) given by EPSG: WD
      • EPSG Usage Extent: Kuwait - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5186

      @Test @DisplayName("Kuwait PWD") public void EPSG_5186() throws FactoryException
      Tests “Kuwait PWD” vertical datum creation from the factory.
      • EPSG datum code: 5186
      • EPSG datum name: Kuwait PWD
      • Alias(es) given by EPSG: PWD
      • EPSG Usage Extent: Kuwait - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5194

      @Test @DisplayName("Lagos 1955") public void EPSG_5194() throws FactoryException
      Tests “Lagos 1955” vertical datum creation from the factory.
      • EPSG datum code: 5194
      • EPSG datum name: Lagos 1955
      • EPSG Usage Extent: Nigeria - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5100

      @Test @DisplayName("Mean Sea Level") public void EPSG_5100() throws FactoryException
      Tests “Mean Sea Level” vertical datum creation from the factory.
      • EPSG datum code: 5100
      • EPSG datum name: Mean Sea Level
      • Alias(es) given by EPSG: MSL
      • EPSG Usage Extent: World
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5102

      @Test @DisplayName("National Geodetic Vertical Datum 1929") public void EPSG_5102() throws FactoryException
      Tests “National Geodetic Vertical Datum 1929” vertical datum creation from the factory.
      • EPSG datum code: 5102
      • EPSG datum name: National Geodetic Vertical Datum 1929
      • Alias(es) given by EPSG: NGVD29
      • EPSG Usage Extent: USA - CONUS - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5119

      @Test @DisplayName("Nivellement General de la France - IGN69") public void EPSG_5119() throws FactoryException
      Tests “Nivellement General de la France - IGN69” vertical datum creation from the factory.
      • EPSG datum code: 5119
      • EPSG datum name: Nivellement General de la France - IGN69
      • Alias(es) given by EPSG: NGF-IGN69, Nivellement general de la France, NGF
      • EPSG Usage Extent: France - mainland onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5118

      @Test @DisplayName("Nivellement General de la France - Lallemand") public void EPSG_5118() throws FactoryException
      Tests “Nivellement General de la France - Lallemand” vertical datum creation from the factory.
      • EPSG datum code: 5118
      • EPSG datum name: Nivellement General de la France - Lallemand
      • Alias(es) given by EPSG: NGF - Lallemand, NGF, Nivellement general de la France
      • EPSG Usage Extent: France - mainland onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5109

      @Test @DisplayName("Normaal Amsterdams Peil") public void EPSG_5109() throws FactoryException
      Tests “Normaal Amsterdams Peil” vertical datum creation from the factory.
      • EPSG datum code: 5109
      • EPSG datum name: Normaal Amsterdams Peil
      • Alias(es) given by EPSG: NAP
      • EPSG Usage Extent: Netherlands
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5103

      @Test @DisplayName("North American Vertical Datum 1988") public void EPSG_5103() throws FactoryException
      Tests “North American Vertical Datum 1988” vertical datum creation from the factory.
      • EPSG datum code: 5103
      • EPSG datum name: North American Vertical Datum 1988
      • Alias(es) given by EPSG: NAVD88
      • EPSG Usage Extent: North America - Mexico and USA - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5101

      @Test @DisplayName("Ordnance Datum Newlyn") public void EPSG_5101() throws FactoryException
      Tests “Ordnance Datum Newlyn” vertical datum creation from the factory.
      • EPSG datum code: 5101
      • EPSG datum name: Ordnance Datum Newlyn
      • Alias(es) given by EPSG: ODN, Newlyn
      • EPSG Usage Extent: UK - Great Britain mainland onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5123

      @Test @DisplayName("PDO Height Datum 1993") public void EPSG_5123() throws FactoryException
      Tests “PDO Height Datum 1993” vertical datum creation from the factory.
      • EPSG datum code: 5123
      • EPSG datum name: PDO Height Datum 1993
      • Alias(es) given by EPSG: PHD93
      • EPSG Usage Extent: Oman - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5104

      @Test @DisplayName("Yellow Sea 1956") public void EPSG_5104() throws FactoryException
      Tests “Yellow Sea 1956” vertical datum creation from the factory.
      • EPSG datum code: 5104
      • EPSG datum name: Yellow Sea 1956
      • Alias(es) given by EPSG: Huang Hai 1956, Yellow Sea
      • EPSG Usage Extent: China - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.
    • EPSG_5137

      @Test @DisplayName("Yellow Sea 1985") public void EPSG_5137() throws FactoryException
      Tests “Yellow Sea 1985” vertical datum creation from the factory.
      • EPSG datum code: 5137
      • EPSG datum name: Yellow Sea 1985
      • Alias(es) given by EPSG: Huang Hai 1985
      • EPSG Usage Extent: China - onshore
      Throws:
      FactoryException - if an error occurred while creating the vertical datum from the EPSG code.