Class SC_DerivedCRSType

java.lang.Object
org.apache.sis.internal.jaxb.referencing.SC_DerivedCRSType

public final class SC_DerivedCRSType extends Object
JAXB data container for a DerivedCRSType pseudo code list. SIS does not actually provide that code list (we implement the associated interfaces instead, e.g. VerticalCRS for SC_DerivedCRSType.vertical), so we reconstruct in this adapter what would be marshalled if we had that code list.
Since:
0.7
Version:
0.7
  • Field Details

    • codeSpace

      String codeSpace
      The code space (e.g. "EPSG").
    • value

      String value
      The derived CRS type. Can be one of the following values (from ISO 19111:2007):
      • geodetic
      • vertical
      • time (from ISO 19162)
      • engineering
      • image
  • Constructor Details

    • SC_DerivedCRSType

      public SC_DerivedCRSType(String type)
      Creates a pseudo code list for the given value.
      Parameters:
      type - the ISO 19111 code.
    • SC_DerivedCRSType

      private SC_DerivedCRSType()
      Empty constructor for JAXB only.
  • Method Details

    • fromWKT

      public static SC_DerivedCRSType fromWKT(String keyword)
      Returns an instance from the given WKT keyword. The given keyword can be one of the following values (from ISO 19162):
      • GeodeticCRS
      • VerticalCRS
      • TimeCRS
      • EngineeringCRS
      Parameters:
      keyword - the ISO 19162 (WKT 2) keyword, or null.
      Returns:
      the pseudo code list with ISO 19111 keyword, or null.