Verifies that the software allows correct definition of a user-defined vertical CRS.
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:
Copy
public class MyTest extends Test3210 {
public MyTest() {
super(new MyFactories());
}
}
Since:
1.0
Field Summary
Fields
Factory to use for building
VerticalCRS
instances, or
null
if none.
The factory to use for creating coordinate system instances.
Factory to use for building
VerticalDatum
instances, or
null
if none.
Constructor Summary
Constructors
Creates a new test using the given factories.
Method Summary
All Methods Instance Methods Concrete Methods
Returns the vertical CRS instance to be tested.
void
Tests “GIGS vertCRS U1 height” vertical CRS creation from the factory.
void
Tests “GIGS vertCRS U1 depth” vertical CRS creation from the factory.
void
Tests “GIGS vertCRS U2 height” vertical CRS creation from the factory.
void
Tests “GIGS vertCRS U2 depth” vertical CRS creation from the factory.
void
Tests “GIGS vertCRS V1 height” vertical CRS creation from the factory.
void
Tests “GIGS vertCRS V1 depth” vertical CRS creation from the factory.
void
Tests “GIGS vertCRS W1 height” vertical CRS creation from the factory.
void
Tests “GIGS vertCRS W1 depth” vertical CRS creation from the factory.
void
Tests “GIGS vertCRS V2 height” vertical CRS creation from the factory.
Methods inherited from class Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Field Details
crsFactory
Factory to use for building
VerticalCRS
instances, or
null
if none.
csFactory
The factory to use for creating coordinate system instances.
Constructor Details
Test3210
Creates a new test using the given factories.
The factories needed by this class are
CRSFactory
,
CSFactory
and
DatumFactory
.
If a requested factory is
null
, then the tests which depend on it will be skipped.
Parameters:
factories
- factories for creating the instances to test.
Method Details
getIdentifiedObject
Returns the vertical CRS instance to be tested. When this method is invoked for the first time,
it creates the projected CRS to test by invoking the corresponding method from
CRSFactory
with the current
properties
map, vertical datum, and vertical coordinate system in the
arguments. The created object is then cached and returned in all subsequent invocations of this method.
Specified by:
getIdentifiedObject
in class Series3000 <VerticalCRS >
Returns:
the vertical CRS instance to test.
Throws:
FactoryException
- if an error occurred while creating the vertical CRS instance.
GIGS_64502
Tests “GIGS vertCRS U1 depth” vertical CRS creation from the factory.
GIGS vertical CRS code: 64502
GIGS vertical name: GIGS vertCRS U1 depth
EPSG equivalence: 5336 – Black Sea depth
EPSG coordinate system code: 6498
Coordinate system axes
Name Abbreviation Orientation Unit
Gravity-related depth D down metre
Throws:
FactoryException
- if an error occurred while creating the vertical CRS from the properties.
GIGS_64501
Tests “GIGS vertCRS U1 height” vertical CRS creation from the factory.
GIGS vertical CRS code: 64501
GIGS vertical name: GIGS vertCRS U1 height
EPSG equivalence: 5735 – Black Sea height
EPSG coordinate system code: 6499
Coordinate system axes
Name Abbreviation Orientation Unit
Gravity-related height H up metre
Throws:
FactoryException
- if an error occurred while creating the vertical CRS from the properties.
GIGS_64504
Tests “GIGS vertCRS U2 depth” vertical CRS creation from the factory.
GIGS vertical CRS code: 64504
GIGS vertical name: GIGS vertCRS U2 depth
EPSG coordinate system code: 6495
Coordinate system axes
Name Abbreviation Orientation Unit
Gravity-related depth D down foot
Remarks: No direct EPSG equivalent.
But would be Black Sea depth (ft).
Throws:
FactoryException
- if an error occurred while creating the vertical CRS from the properties.
GIGS_64503
Tests “GIGS vertCRS U2 height” vertical CRS creation from the factory.
GIGS vertical CRS code: 64503
GIGS vertical name: GIGS vertCRS U2 height
EPSG coordinate system code: 1030
Coordinate system axes
Name Abbreviation Orientation Unit
Gravity-related height H up foot
Remarks: No direct EPSG equivalent.
But would be Black Sea height (ft).
Throws:
FactoryException
- if an error occurred while creating the vertical CRS from the properties.
GIGS_64506
Tests “GIGS vertCRS V1 depth” vertical CRS creation from the factory.
GIGS vertical CRS code: 64506
GIGS vertical name: GIGS vertCRS V1 depth
EPSG equivalence: 5612 – Baltic 1977 depth
EPSG coordinate system code: 6498
Coordinate system axes
Name Abbreviation Orientation Unit
Gravity-related depth D down metre
Throws:
FactoryException
- if an error occurred while creating the vertical CRS from the properties.
GIGS_64505
Tests “GIGS vertCRS V1 height” vertical CRS creation from the factory.
GIGS vertical CRS code: 64505
GIGS vertical name: GIGS vertCRS V1 height
EPSG equivalence: 5705 – Baltic 1977 height
EPSG coordinate system code: 6499
Coordinate system axes
Name Abbreviation Orientation Unit
Gravity-related height H up metre
Throws:
FactoryException
- if an error occurred while creating the vertical CRS from the properties.
GIGS_64509
Tests “GIGS vertCRS V2 height” vertical CRS creation from the factory.
GIGS vertical CRS code: 64509
GIGS vertical name: GIGS vertCRS V2 height
EPSG coordinate system code: 6497
Coordinate system axes
Name Abbreviation Orientation Unit
Gravity-related height H up ftUS
Remarks: No direct EPSG equivalent.
But would be Baltic 1977 height (ftUS).
Throws:
FactoryException
- if an error occurred while creating the vertical CRS from the properties.
GIGS_64508
Tests “GIGS vertCRS W1 depth” vertical CRS creation from the factory.
GIGS vertical CRS code: 64508
GIGS vertical name: GIGS vertCRS W1 depth
EPSG equivalence: 5706 – Caspian depth
EPSG coordinate system code: 6498
Coordinate system axes
Name Abbreviation Orientation Unit
Gravity-related depth D down metre
Throws:
FactoryException
- if an error occurred while creating the vertical CRS from the properties.
GIGS_64507
Tests “GIGS vertCRS W1 height” vertical CRS creation from the factory.
GIGS vertical CRS code: 64507
GIGS vertical name: GIGS vertCRS W1 height
EPSG equivalence: 5611 – Caspian height
EPSG coordinate system code: 6499
Coordinate system axes
Name Abbreviation Orientation Unit
Gravity-related height H up metre
Throws:
FactoryException
- if an error occurred while creating the vertical CRS from the properties.