Verifies reference ellipsoid parameters bundled with the geoscience software.
Test method: | Compare ellipsoid definitions included in the software against the EPSG Dataset. |
---|---|
Test data: | GIGS_lib_2202_Ellipsoid.txt
and EPSG Dataset.
Contains EPSG code and name for the ellipsoid,
commonly encountered alternative name(s) for the same object,
the value and units for the semi-major axis ,
the conversion ratio to metres for these units, and then a second parameter which will be either
the value of the inverse flattening (unitless) or
the value of the semi-minor axis (in the same units as the semi-major axis).
This class additionally contain a flag to indicate that the figure is a sphere:
if false the figure is an oblate ellipsoid. |
Tested API: | DatumAuthorityFactory.createEllipsoid(String) . |
Expected result: | Ellipsoid definitions bundled with software, if any, should have same name and defining parameters as in the EPSG Dataset. Equivalent alternative parameters are acceptable but should be reported. The values of the parameters should be correct to at least 10 significant figures. For ellipsoids defined by Clarke and Everest, as well as those adopted by IUGG as International, several variants exist. These must be clearly distinguished. Ellipsoids 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 Test2202 {
public MyTest() {
super(new MyDatumAuthorityFactory());
}
}
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DatumAuthorityFactory
Factory to use for buildingEllipsoid
instances, ornull
if none.double
The expected inverse flattening, orDouble.NaN
if the second defining parameters is not this field.boolean
Indicates if the figure of the Earth is a sphere.double
The expected semi-major axis length, in the units specified by the EPSG dataset.double
The expected semi-minor axis length, orDouble.NaN
if the second defining parameters is not this field. -
Constructor Summary
ConstructorsConstructorDescriptionTest2202
(DatumAuthorityFactory datumFactory) Creates a new test using the given factory. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Tests “Airy 1830” ellipsoid creation from the factory.void
Tests “Airy Modified 1849” ellipsoid creation from the factory.void
Tests “Australian National Spheroid” ellipsoid creation from the factory.void
Tests “Bessel 1841” ellipsoid creation from the factory.void
Tests “Bessel Modified” ellipsoid creation from the factory.void
Tests “Clarke 1858” ellipsoid creation from the factory.void
Tests “Clarke 1866” ellipsoid creation from the factory.void
Tests “Clarke 1866 Michigan” ellipsoid creation from the factory (deprecated).void
Tests “Clarke 1880 (Benoit)” ellipsoid creation from the factory.void
Tests “Clarke 1880 (IGN)” ellipsoid creation from the factory.void
Tests “Clarke 1880 (RGS)” ellipsoid creation from the factory.void
Tests “Clarke 1880 (Arc)” ellipsoid creation from the factory.void
Tests “Clarke 1880 (SGA 1922)” ellipsoid creation from the factory.void
Tests “Everest 1830 (1937 Adjustment)” ellipsoid creation from the factory.void
Tests “Everest 1830 (1967 Definition)” ellipsoid creation from the factory.void
Tests “Everest 1830 Modified” ellipsoid creation from the factory.void
Tests “GRS 1980” ellipsoid creation from the factory.void
Tests “Helmert 1906” ellipsoid creation from the factory.void
Tests “Indonesian National Spheroid” ellipsoid creation from the factory.void
Tests “International 1924” ellipsoid creation from the factory.void
Tests “Krassowsky 1940” ellipsoid creation from the factory.void
Tests “NWL 9D” ellipsoid creation from the factory.void
Tests “Plessis 1817” ellipsoid creation from the factory.void
Tests “Struve 1860” ellipsoid creation from the factory.void
Tests “War Office” ellipsoid creation from the factory.void
Tests “WGS 84” ellipsoid creation from the factory.void
Tests “GEM 10C” ellipsoid creation from the factory.void
Tests “OSU86F” ellipsoid creation from the factory.void
Tests “OSU91A” ellipsoid creation from the factory.void
Tests “Clarke 1880” ellipsoid creation from the factory.void
Tests “GRS 1967” ellipsoid creation from the factory.void
Tests “Average Terrestrial System 1977” ellipsoid creation from the factory.void
Tests “Everest (1830 Definition)” ellipsoid creation from the factory.void
Tests “WGS 72” ellipsoid creation from the factory.void
Tests “Everest 1830 (1962 Definition)” ellipsoid creation from the factory.void
Tests “Everest 1830 (1975 Definition)” ellipsoid creation from the factory.void
Tests “Bessel Namibia (GLM)” ellipsoid creation from the factory.void
Tests “GRS 1980 Authalic Sphere” spheroid creation from the factory.void
Tests “IAG 1975” ellipsoid creation from the factory.void
Tests “GRS 1967 Modified” ellipsoid creation from the factory.void
Tests “Danish 1876” ellipsoid creation from the factory.void
Tests “Clarke 1866 Authalic Sphere” spheroid creation from the factory.void
Tests “Hough 1960” ellipsoid creation from the factory.void
Tests “PZ-90” ellipsoid creation from the factory.void
Tests “Clarke 1880 (international foot)” ellipsoid creation from the factory.void
Tests “Everest 1830 (RSO 1969)” ellipsoid creation from the factory.void
Tests “International 1924 Authalic Sphere” spheroid creation from the factory.void
Tests “Hughes 1980” ellipsoid creation from the factory.void
Tests “Popular Visualisation Sphere” spheroid creation from the factory (deprecated).Returns the ellipsoid instance to be tested.double
getSemiMajorAxis
(boolean inMetres) Returns the length of the semi-major axis, either in the units specified by the EPSG dataset or in metres.double
getSemiMinorAxis
(boolean inMetres) Returns the length of the semi-minor axis, either in the units specified by the EPSG dataset or in metres.Methods inherited from class Series2000
getVerifiableName
-
Field Details
-
semiMajorAxis
public double semiMajorAxisThe expected semi-major axis length, in the units specified by the EPSG dataset. This value can also be obtained as a length in metres by a call to thegetSemiMajorAxis(boolean)
method. This field is set by all test methods before to create and verify theEllipsoid
instance.- See Also:
-
semiMinorAxis
public double semiMinorAxisThe expected semi-minor axis length, orDouble.NaN
if the second defining parameters is not this field. If notNaN
, the value is in the same units thansemiMajorAxis
. This value can be obtained as a length in metres by a call to thegetSemiMinorAxis(boolean)
method. This field is set by all test methods before to create and verify theEllipsoid
instance.- See Also:
-
inverseFlattening
public double inverseFlatteningThe expected inverse flattening, orDouble.NaN
if the second defining parameters is not this field. This field is set by all test methods before to create and verify theEllipsoid
instance. -
isSphere
public boolean isSphereIndicates if the figure of the Earth is a sphere. Iffalse
the figure is an oblate ellipsoid. This field is set by all test methods before to create and verify theEllipsoid
instance. -
datumAuthorityFactory
Factory to use for buildingEllipsoid
instances, ornull
if none. This is the factory used by thegetIdentifiedObject()
method.
-
-
Constructor Details
-
Test2202
Creates a new test using the given factory. If a given factory isnull
, then the tests which depend on it will be skipped.- Parameters:
datumFactory
- factory for creatingEllipsoid
instances.
-
-
Method Details
-
getIdentifiedObject
Returns the ellipsoid instance to be tested. When this method is invoked for the first time, it creates the ellipsoid to test by invoking theDatumAuthorityFactory.createEllipsoid(String)
method with the currentSeries2000.code
value in argument. The created object is then cached and returned in all subsequent invocations of this method.- Specified by:
getIdentifiedObject
in classSeries2000<Ellipsoid>
- Returns:
- the ellipsoid instance to test.
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid instance.
-
getSemiMajorAxis
public double getSemiMajorAxis(boolean inMetres) Returns the length of the semi-major axis, either in the units specified by the EPSG dataset or in metres.- Parameters:
inMetres
-true
for the length in metres.- Returns:
- the semi-major axis length, guaranteed to be in metres if
inMetres
istrue
. - See Also:
-
getSemiMinorAxis
public double getSemiMinorAxis(boolean inMetres) Returns the length of the semi-minor axis, either in the units specified by the EPSG dataset or in metres. This method can be invoked only if the semi-minor axis length is the second defining parameter.- Parameters:
inMetres
-true
for the length in metres.- Returns:
- the semi-minor axis length, guaranteed to be in metres if
inMetres
istrue
. - See Also:
-
EPSG_7001
Tests “Airy 1830” ellipsoid creation from the factory.- EPSG ellipsoid code: 7001
- EPSG ellipsoid name: Airy 1830
- Semi-major axis (a): 6377563.396 metre
- Inverse flattening (1/f): 299.3249646
- EPSG Usage Extent: United Kingdom
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7002
Tests “Airy Modified 1849” ellipsoid creation from the factory.- EPSG ellipsoid code: 7002
- EPSG ellipsoid name: Airy Modified 1849
- Semi-major axis (a): 6377340.189 metre
- Inverse flattening (1/f): 299.3249646
- EPSG Usage Extent: Ireland
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7003
Tests “Australian National Spheroid” ellipsoid creation from the factory.- EPSG ellipsoid code: 7003
- EPSG ellipsoid name: Australian National Spheroid
- Alias(es) given by EPSG: ANS
- Semi-major axis (a): 6378160.0 metre
- Inverse flattening (1/f): 298.25
- EPSG Usage Extent: Australia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7041
@Test @DisplayName("Average Terrestrial System 1977") public void EPSG_7041() throws FactoryExceptionTests “Average Terrestrial System 1977” ellipsoid creation from the factory.- EPSG ellipsoid code: 7041
- EPSG ellipsoid name: Average Terrestrial System 1977
- Semi-major axis (a): 6378135.0 metre
- Inverse flattening (1/f): 298.257
- EPSG Usage Extent: Canada
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7004
Tests “Bessel 1841” ellipsoid creation from the factory.- EPSG ellipsoid code: 7004
- EPSG ellipsoid name: Bessel 1841
- Semi-major axis (a): 6377397.155 metre
- Inverse flattening (1/f): 299.1528128
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7005
Tests “Bessel Modified” ellipsoid creation from the factory.- EPSG ellipsoid code: 7005
- EPSG ellipsoid name: Bessel Modified
- Semi-major axis (a): 6377492.018 metre
- Inverse flattening (1/f): 299.1528128
- EPSG Usage Extent: Norway; Sweden
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7046
Tests “Bessel Namibia (GLM)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7046
- EPSG ellipsoid name: Bessel Namibia (GLM)
- Semi-major axis (a): 6377397.155 German legal metre
- Inverse flattening (1/f): 299.1528128
- EPSG Usage Extent: Namibia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7007
Tests “Clarke 1858” ellipsoid creation from the factory.- EPSG ellipsoid code: 7007
- EPSG ellipsoid name: Clarke 1858
- Semi-major axis (a): 20926348 Clarke's foot
- Semi-minor axis (b): 20855233 Clarke's foot
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7008
Tests “Clarke 1866” ellipsoid creation from the factory.- EPSG ellipsoid code: 7008
- EPSG ellipsoid name: Clarke 1866
- Semi-major axis (a): 6378206.4 metre
- Semi-minor axis (b): 6356583.8 metre
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7052
Tests “Clarke 1866 Authalic Sphere” spheroid creation from the factory.- EPSG ellipsoid code: 7052
- EPSG ellipsoid name: Clarke 1866 Authalic Sphere
- Semi-major axis (a): 6370997.0 metre
- Semi-minor axis (b): 6370997.0 metre
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7034
Tests “Clarke 1880” ellipsoid creation from the factory.- EPSG ellipsoid code: 7034
- EPSG ellipsoid name: Clarke 1880
- Semi-major axis (a): 20926202 Clarke's foot
- Semi-minor axis (b): 20854895 Clarke's foot
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7013
Tests “Clarke 1880 (Arc)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7013
- EPSG ellipsoid name: Clarke 1880 (Arc)
- Alias(es) given by EPSG: Modified Clarke 1880 (South Africa), Clarke 1880 (Cape)
- Semi-major axis (a): 6378249.145 metre
- Inverse flattening (1/f): 293.4663077
- EPSG Usage Extent: South Africa
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7010
Tests “Clarke 1880 (Benoit)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7010
- EPSG ellipsoid name: Clarke 1880 (Benoit)
- Semi-major axis (a): 6378300.789 metre
- Semi-minor axis (b): 6356566.435 metre
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7011
Tests “Clarke 1880 (IGN)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7011
- EPSG ellipsoid name: Clarke 1880 (IGN)
- Semi-major axis (a): 6378249.2 metre
- Semi-minor axis (b): 6356515.0 metre
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7055
@Test @DisplayName("Clarke 1880 (international foot)") public void EPSG_7055() throws FactoryExceptionTests “Clarke 1880 (international foot)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7055
- EPSG ellipsoid name: Clarke 1880 (international foot)
- Semi-major axis (a): 20926202 foot
- Semi-minor axis (b): 20854895 foot
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7009
Tests “Clarke 1866 Michigan” ellipsoid creation from the factory (deprecated). This is test is executed only ifSeries2000.isDeprecatedObjectCreationSupported
istrue
.- EPSG ellipsoid code: 7009
- EPSG ellipsoid name: Clarke 1866 Michigan
- Semi-major axis (a): 20926631.531
- Semi-minor axis (b): 20855688.674
- Deprecated: Ellipsoid scaling moved from datum to map projection to accord with NGS practice.
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7012
Tests “Clarke 1880 (RGS)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7012
- EPSG ellipsoid name: Clarke 1880 (RGS)
- Alias(es) given by EPSG: Clarke Modified 1880
- Semi-major axis (a): 6378249.145 metre
- Inverse flattening (1/f): 293.465
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7014
Tests “Clarke 1880 (SGA 1922)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7014
- EPSG ellipsoid name: Clarke 1880 (SGA 1922)
- Semi-major axis (a): 6378249.2 metre
- Inverse flattening (1/f): 293.46598
- EPSG Usage Extent: France
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7051
Tests “Danish 1876” ellipsoid creation from the factory.- EPSG ellipsoid code: 7051
- EPSG ellipsoid name: Danish 1876
- Semi-major axis (a): 6377019.27 metre
- Inverse flattening (1/f): 300
- EPSG Usage Extent: Denmark
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7042
Tests “Everest (1830 Definition)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7042
- EPSG ellipsoid name: Everest (1830 Definition)
- Semi-major axis (a): 20922931.8 Indian foot
- Semi-minor axis (b): 20853374.58 Indian foot
- EPSG Usage Extent: Asia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7015
@Test @DisplayName("Everest 1830 (1937 Adjustment)") public void EPSG_7015() throws FactoryExceptionTests “Everest 1830 (1937 Adjustment)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7015
- EPSG ellipsoid name: Everest 1830 (1937 Adjustment)
- Semi-major axis (a): 6377276.345 metre
- Inverse flattening (1/f): 300.8017
- EPSG Usage Extent: India
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7044
@Test @DisplayName("Everest 1830 (1962 Definition)") public void EPSG_7044() throws FactoryExceptionTests “Everest 1830 (1962 Definition)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7044
- EPSG ellipsoid name: Everest 1830 (1962 Definition)
- Semi-major axis (a): 6377301.243 metre
- Inverse flattening (1/f): 300.8017255
- EPSG Usage Extent: Asia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7016
@Test @DisplayName("Everest 1830 (1967 Definition)") public void EPSG_7016() throws FactoryExceptionTests “Everest 1830 (1967 Definition)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7016
- EPSG ellipsoid name: Everest 1830 (1967 Definition)
- Semi-major axis (a): 6377298.556 metre
- Inverse flattening (1/f): 300.8017
- EPSG Usage Extent: East Malaysia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7045
@Test @DisplayName("Everest 1830 (1975 Definition)") public void EPSG_7045() throws FactoryExceptionTests “Everest 1830 (1975 Definition)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7045
- EPSG ellipsoid name: Everest 1830 (1975 Definition)
- Semi-major axis (a): 6377299.151 metre
- Inverse flattening (1/f): 300.8017255
- EPSG Usage Extent: Asia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7056
Tests “Everest 1830 (RSO 1969)” ellipsoid creation from the factory.- EPSG ellipsoid code: 7056
- EPSG ellipsoid name: Everest 1830 (RSO 1969)
- Semi-major axis (a): 6377295.664 metre
- Inverse flattening (1/f): 300.8017
- EPSG Usage Extent: Malaysia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7018
Tests “Everest 1830 Modified” ellipsoid creation from the factory.- EPSG ellipsoid code: 7018
- EPSG ellipsoid name: Everest 1830 Modified
- Semi-major axis (a): 6377304.063 metre
- Inverse flattening (1/f): 300.8017
- EPSG Usage Extent: West Malaysia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7031
Tests “GEM 10C” ellipsoid creation from the factory.- EPSG ellipsoid code: 7031
- EPSG ellipsoid name: GEM 10C
- Semi-major axis (a): 6378137.0 metre
- Inverse flattening (1/f): 298.257223563
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7036
Tests “GRS 1967” ellipsoid creation from the factory.- EPSG ellipsoid code: 7036
- EPSG ellipsoid name: GRS 1967
- Alias(es) given by EPSG: International 1967
- Semi-major axis (a): 6378160.0 metre
- Inverse flattening (1/f): 298.247167427
- EPSG Usage Extent: Australia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7050
Tests “GRS 1967 Modified” ellipsoid creation from the factory.- EPSG ellipsoid code: 7050
- EPSG ellipsoid name: GRS 1967 Modified
- Alias(es) given by EPSG: GRS 1967
- Semi-major axis (a): 6378160.0 metre
- Inverse flattening (1/f): 298.25
- EPSG Usage Extent: Australia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7019
Tests “GRS 1980” ellipsoid creation from the factory.- EPSG ellipsoid code: 7019
- EPSG ellipsoid name: GRS 1980
- Alias(es) given by EPSG: International 1979
- Semi-major axis (a): 6378137.0 metre
- Inverse flattening (1/f): 298.257222101
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7048
Tests “GRS 1980 Authalic Sphere” spheroid creation from the factory.- EPSG ellipsoid code: 7048
- EPSG ellipsoid name: GRS 1980 Authalic Sphere
- Semi-major axis (a): 6371007.0 metre
- Semi-minor axis (b): 6371007.0 metre
- EPSG Usage Extent: Australia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7020
Tests “Helmert 1906” ellipsoid creation from the factory.- EPSG ellipsoid code: 7020
- EPSG ellipsoid name: Helmert 1906
- Semi-major axis (a): 6378200.0 metre
- Inverse flattening (1/f): 298.3
- EPSG Usage Extent: Egypt
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7053
Tests “Hough 1960” ellipsoid creation from the factory.- EPSG ellipsoid code: 7053
- EPSG ellipsoid name: Hough 1960
- Semi-major axis (a): 6378270.0 metre
- Inverse flattening (1/f): 297
- EPSG Usage Extent: USA
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7058
Tests “Hughes 1980” ellipsoid creation from the factory.- EPSG ellipsoid code: 7058
- EPSG ellipsoid name: Hughes 1980
- Semi-major axis (a): 6378273.0 metre
- Semi-minor axis (b): 6356889.449 metre
- EPSG Usage Extent: Polar
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7049
Tests “IAG 1975” ellipsoid creation from the factory.- EPSG ellipsoid code: 7049
- EPSG ellipsoid name: IAG 1975
- Alias(es) given by EPSG: Xian 1980
- Semi-major axis (a): 6378140.0 metre
- Inverse flattening (1/f): 298.257
- EPSG Usage Extent: China
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7021
Tests “Indonesian National Spheroid” ellipsoid creation from the factory.- EPSG ellipsoid code: 7021
- EPSG ellipsoid name: Indonesian National Spheroid
- Semi-major axis (a): 6378160.0 metre
- Inverse flattening (1/f): 298.247
- EPSG Usage Extent: Indonesia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7022
Tests “International 1924” ellipsoid creation from the factory.- EPSG ellipsoid code: 7022
- EPSG ellipsoid name: International 1924
- Alias(es) given by EPSG: Hayford 1909
- Semi-major axis (a): 6378388.0 metre
- Inverse flattening (1/f): 297
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7057
@Test @DisplayName("International 1924 Authalic Sphere") public void EPSG_7057() throws FactoryExceptionTests “International 1924 Authalic Sphere” spheroid creation from the factory.- EPSG ellipsoid code: 7057
- EPSG ellipsoid name: International 1924 Authalic Sphere
- Semi-major axis (a): 6371228.0 metre
- Semi-minor axis (b): 6371228.0 metre
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7024
Tests “Krassowsky 1940” ellipsoid creation from the factory.- EPSG ellipsoid code: 7024
- EPSG ellipsoid name: Krassowsky 1940
- Semi-major axis (a): 6378245.0 metre
- Inverse flattening (1/f): 298.3
- EPSG Usage Extent: Russia; Asia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7025
Tests “NWL 9D” ellipsoid creation from the factory.- EPSG ellipsoid code: 7025
- EPSG ellipsoid name: NWL 9D
- Alias(es) given by EPSG: WGS 66
- Semi-major axis (a): 6378145.0 metre
- Inverse flattening (1/f): 298.25
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7032
Tests “OSU86F” ellipsoid creation from the factory.- EPSG ellipsoid code: 7032
- EPSG ellipsoid name: OSU86F
- Semi-major axis (a): 6378136.2 metre
- Inverse flattening (1/f): 298.257223563
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7033
Tests “OSU91A” ellipsoid creation from the factory.- EPSG ellipsoid code: 7033
- EPSG ellipsoid name: OSU91A
- Semi-major axis (a): 6378136.3 metre
- Inverse flattening (1/f): 298.257223563
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7027
Tests “Plessis 1817” ellipsoid creation from the factory.- EPSG ellipsoid code: 7027
- EPSG ellipsoid name: Plessis 1817
- Semi-major axis (a): 6376523.0 metre
- Inverse flattening (1/f): 308.64
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7059
Tests “Popular Visualisation Sphere” spheroid creation from the factory (deprecated). This is test is executed only ifSeries2000.isDeprecatedObjectCreationSupported
istrue
.- EPSG ellipsoid code: 7059
- EPSG ellipsoid name: Popular Visualisation Sphere
- Semi-major axis (a): 6378137
- Semi-minor axis (b): 6378137
- Deprecated: IOGP revised its approach to description of Popular Visualisation CRS.
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7054
Tests “PZ-90” ellipsoid creation from the factory.- EPSG ellipsoid code: 7054
- EPSG ellipsoid name: PZ-90
- Semi-major axis (a): 6378136.0 metre
- Inverse flattening (1/f): 298.257839303
- EPSG Usage Extent: Russia
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7028
Tests “Struve 1860” ellipsoid creation from the factory.- EPSG ellipsoid code: 7028
- EPSG ellipsoid name: Struve 1860
- Semi-major axis (a): 6378298.3 metre
- Inverse flattening (1/f): 294.73
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7029
Tests “War Office” ellipsoid creation from the factory.- EPSG ellipsoid code: 7029
- EPSG ellipsoid name: War Office
- Alias(es) given by EPSG: McCaw 1924
- Semi-major axis (a): 6378300.0 metre
- Inverse flattening (1/f): 296
- EPSG Usage Extent: Ghana
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7043
Tests “WGS 72” ellipsoid creation from the factory.- EPSG ellipsoid code: 7043
- EPSG ellipsoid name: WGS 72
- Alias(es) given by EPSG: NWL 10D
- Semi-major axis (a): 6378135.0 metre
- Inverse flattening (1/f): 298.26
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-
EPSG_7030
Tests “WGS 84” ellipsoid creation from the factory.- EPSG ellipsoid code: 7030
- EPSG ellipsoid name: WGS 84
- Alias(es) given by EPSG: WGS84
- Semi-major axis (a): 6378137.0 metre
- Inverse flattening (1/f): 298.257223563
- EPSG Usage Extent: Numerous
- Throws:
FactoryException
- if an error occurred while creating the ellipsoid from the EPSG code.
-