Package org.apache.sis.referencing
Enum CommonCRS.Engineering
- All Implemented Interfaces:
Serializable
,Comparable<CommonCRS.Engineering>
,java.lang.constant.Constable
- Enclosing class:
CommonCRS
Frequently-used engineering CRS and datum that are guaranteed to be available in SIS.
Below is an alphabetical list of object names available in this enumeration:
Temporal objects accessible by enumeration constants Name or alias Object type Enumeration value Computer display CRS, Datum GEODISPLAY
Computer display CRS, Datum DISPLAY
- Since:
- 1.1
- Version:
- 1.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCartesian coordinate system with (right, down) oriented axes in pixel units.Cartesian coordinate system with (east, south) oriented axes in pixel units.Cartesian coordinate system with (column, row) oriented axes in unity units.A single-dimensional coordinate system for time in seconds since an unknown epoch. -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Engineering
(org.opengis.referencing.datum.EngineeringDatum datum) Creates a new enumeration value with the specified datum. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.referencing.crs.EngineeringCRS
crs()
Returns the coordinate reference system associated to this engineering object.org.opengis.referencing.datum.EngineeringDatum
datum()
Returns the datum associated to this engineering object.static CommonCRS.Engineering
Returns the enum constant of this type with the specified name.static CommonCRS.Engineering[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GEODISPLAY
Cartesian coordinate system with (east, south) oriented axes in pixel units. Axis directions areEAST
andSOUTH
, which implies that the coordinate system can be related to a geospatial system in some way. The CRS is defined by the OGC Web Map Service Interface specification.Computer display properties WMS identifier: CRS:1 Primary names: "Computer display" Direction: AxisDirection.EAST
,SOUTH
Unit: Units.PIXEL
-
DISPLAY
Cartesian coordinate system with (right, down) oriented axes in pixel units. This definition does not require the data to be geospatial.Computer display properties Primary names: "Computer display" Direction: AxisDirection.DISPLAY_RIGHT
,DISPLAY_DOWN
Unit: Units.PIXEL
-
GRID
Cartesian coordinate system with (column, row) oriented axes in unity units. This definition does not require the data to be geospatial.Grid properties Primary names: "Cell indices" Direction: AxisDirection.COLUMN_POSITIVE
,ROW_POSITIVE
Unit: Units.UNITY
-
TIME
A single-dimensional coordinate system for time in seconds since an unknown epoch. This definition can be used as a fallback whenCommonCRS.Temporal
enumeration cannot be used, for example because the temporal datum epoch is unknown.Time properties Primary names: "Time" Direction: AxisDirection.FUTURE
Unit: Units.SECOND
- See Also:
-
-
Field Details
-
datum
private final org.opengis.referencing.datum.EngineeringDatum datumThe datum. -
crs
private org.opengis.referencing.crs.EngineeringCRS crsThe CRS, built when first needed.
-
-
Constructor Details
-
Engineering
private Engineering(org.opengis.referencing.datum.EngineeringDatum datum) Creates a new enumeration value with the specified datum.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
crs
public org.opengis.referencing.crs.EngineeringCRS crs()Returns the coordinate reference system associated to this engineering object.- Returns:
- the CRS associated to this enum.
-
datum
public org.opengis.referencing.datum.EngineeringDatum datum()Returns the datum associated to this engineering object.- Returns:
- the datum associated to this enum.
-