All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sbt-scalaxb.opengis.gml.units.scala Maven / Gradle / Ivy

Go to download

GeoTrellis Server is a set of components designed to simplify viewing, processing, and serving raster data from arbitrary sources with an emphasis on doing so in a functional style.

The newest version!
// Generated by scalaxb.
package opengis.gml


/** Builds on gmlBase.xsd to encode units of measure (or uom), including definitions of units of measure and dictionaries of such definitions. GML 3.0 candidate schema, primary editor: Arliss Whiteside.			
	Parts of this schema are based on Subclause 6.5.7 of ISO/CD 19103 Geographic information - Conceptual schema language, on Subclause A.5.2.2.3 of ISO/CD 19118 Geographic information - Encoding, and on most of OpenGIS Recommendation Paper OGC 02-007r4 Units of Measure Use and Definition Recommendations.
		
		GML is an OGC Standard.
		Copyright (c) 2001,2005,2010 Open Geospatial Consortium.
		To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
		
*/


/** Reference to a unit of measure definition that applies to all the numerical values described by the element containing this element. Notice that a complexType which needs to include the uom attribute can do so by extending this complexType. Alternately, this complexType can be used as a pattern for a new complexType.
*/
trait UnitOfMeasureTypable {
  def uom: java.net.URI
}


/** Reference to a unit of measure definition that applies to all the numerical values described by the element containing this element. Notice that a complexType which needs to include the uom attribute can do so by extending this complexType. Alternately, this complexType can be used as a pattern for a new complexType.
*/
case class UnitOfMeasureType(attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends UnitOfMeasureTypable {
  lazy val uom = attributes("@uom").as[java.net.URI]
}

      
      


/** Definition of a unit of measure (or uom). The definition includes a quantityType property, which indicates the phenomenon to which the units apply, and a catalogSymbol, which gives the short symbol used for this unit. This element is used when the relationship of this unit to other units or units systems is unknown.
*/
trait UnitDefinitionTypable extends DefinitionTypable {
  def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
  def quantityType: opengis.gml.StringOrRefType
  def catalogSymbol: Option[opengis.gml.CodeTypable]
  def gmlid: Option[String]
}


/** Definition of a unit of measure (or uom). The definition includes a quantityType property, which indicates the phenomenon to which the units apply, and a catalogSymbol, which gives the short symbol used for this unit. This element is used when the relationship of this unit to other units or units systems is unknown.
*/
case class UnitDefinitionType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
  quantityType: opengis.gml.StringOrRefType,
  catalogSymbol: Option[opengis.gml.CodeTypable] = None,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends UnitDefinitionTypable {
  lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
}

      
      


/** Definition of a unit of measure which is a base unit from the system of units.  A base unit cannot be derived by combination of other base units within this system.  Sometimes known as "fundamental unit".
*/
case class BaseUnitType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
  quantityType: opengis.gml.StringOrRefType,
  catalogSymbol: Option[opengis.gml.CodeTypable] = None,
  unitsSystem: opengis.gml.ReferenceType,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends UnitDefinitionTypable {
  lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
}

      
      


/** Definition of a unit of measure which is defined through algebraic combination of more primitive units, which are usually base units from a particular system of units. Derived units based directly on base units are usually preferred for quantities other than the base units or fundamental quantities within a system.  If a derived unit is not the preferred unit, the ConventionalUnit element should be used instead.
*/
case class DerivedUnitType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
  quantityType: opengis.gml.StringOrRefType,
  catalogSymbol: Option[opengis.gml.CodeTypable] = None,
  derivationUnitTerm: Seq[opengis.gml.DerivationUnitTermType] = Nil,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends UnitDefinitionTypable {
  lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
}

      
      


/** Definition of a unit of measure which is related to a preferred unit for this quantity type through a conversion formula.  A method for deriving this unit by algebraic combination of more primitive units, may also be provided.
*/
case class ConventionalUnitType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
  quantityType: opengis.gml.StringOrRefType,
  catalogSymbol: Option[opengis.gml.CodeTypable] = None,
  conventionalunittypeoption: scalaxb.DataRecord[opengis.gml.ConventionalUnitTypeOption],
  derivationUnitTerm: Seq[opengis.gml.DerivationUnitTermType] = Nil,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends UnitDefinitionTypable {
  lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
}

      
      

trait ConventionalUnitTypeOption

/** Definition of one unit term for a derived unit of measure. This unit term references another unit of measure (uom) and provides an integer exponent applied to that unit in defining the compound unit. The exponent can be positive or negative, but not zero.
*/
case class DerivationUnitTermType(attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends UnitOfMeasureTypable {
  lazy val uom = attributes("@uom").as[java.net.URI]
  lazy val exponent = attributes.get("@exponent") map { _.as[BigInt]}
}

      
      


/** Relation of a unit to the preferred unit for this quantity type, specified by an arithmetic conversion (scaling and/or offset). A preferred unit is either a base unit or a derived unit selected for all units of one quantity type. The mandatory attribute "uom" shall reference the preferred unit that this conversion applies to. The conversion is specified by one of two alternative elements: "factor" or "formula".
*/
case class ConversionToPreferredUnitType(conversiontopreferredunittypeoption: scalaxb.DataRecord[Any],
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends UnitOfMeasureTypable with ConventionalUnitTypeOption {
  lazy val uom = attributes("@uom").as[java.net.URI]
}

      
      

trait ConversionToPreferredUnitTypeOption

/** Paremeters of a simple formula by which a value using this unit of measure can be converted to the corresponding value using the preferred unit of measure. The formula element contains elements a, b, c and d, whose values use the XML Schema type "double". These values are used in the formula y = (a + bx) / (c + dx), where x is a value using this unit, and y is the corresponding value using the preferred unit. The elements a and d are optional, and if values are not provided, those parameters are considered to be zero. If values are not provided for both a and d, the formula is equivalent to a fraction with numerator and denominator parameters.
*/
case class FormulaType(a: Option[Double] = None,
  b: Double,
  c: Double,
  d: Option[Double] = None)
      
      





© 2015 - 2025 Weber Informatics LLC | Privacy Policy