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

sbt-scalaxb.opengis.gml.measures.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


/** Extends the units.xsd and basicTypes.xsd schemas with types for recording measures using specific types of units, especially the measures and units needed for coordinate reference systems and coordinate operations. The specific unit types encoded are length, angle, scale factor, time, area, volume, speed, and grid length. This schema allows angle values to be recorded as single numbers or in degree-minute-second format. 
		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 Subclause 4.7 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/ .
		
*/


/** Value of a length (or distance) quantity, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a length, such as metres or feet.
*/
case class LengthType(value: Double,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends MeasureTypable {
  lazy val uom = attributes("@uom").as[java.net.URI]
}

      
      


/** Value of a scale factor (or ratio) that has no physical unit. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a scale factor, such as percent, permil, or parts-per-million.
*/
case class ScaleType(value: Double,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends MeasureTypable {
  lazy val uom = attributes("@uom").as[java.net.URI]
}

      
      


/** Value of a time or temporal quantity, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a time value, such as seconds or weeks.
*/
case class TimeType(value: Double,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends MeasureTypable {
  lazy val uom = attributes("@uom").as[java.net.URI]
}

      
      


/** Value of a length (or distance) quantity in a grid, where the grid spacing does not have any associated physical units, or does not have a constant physical spacing. This grid length will often be used in a digital image grid, where the base units are likely to be pixel spacings. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for length along the axes of a grid, such as pixel spacings or grid spacings.
*/
case class GridLengthType(value: Double,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends MeasureTypable {
  lazy val uom = attributes("@uom").as[java.net.URI]
}

      
      


/** Value of a spatial area quantity, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for an area, such as square metres or square miles.
*/
case class AreaType(value: Double,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends MeasureTypable {
  lazy val uom = attributes("@uom").as[java.net.URI]
}

      
      


/** Value of a spatial volume quantity, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a volume, such as cubic metres or cubic feet.
*/
case class VolumeType(value: Double,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends MeasureTypable {
  lazy val uom = attributes("@uom").as[java.net.URI]
}

      
      


/** Value of a speed, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a velocity, such as metres per second or miles per hour.
*/
case class SpeedType(value: Double,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends MeasureTypable {
  lazy val uom = attributes("@uom").as[java.net.URI]
}

      
      


/** Value of an angle quantity provided in either degree-minute-second format or single value format.
*/
case class AngleChoiceType(anglechoicetypeoption: scalaxb.DataRecord[opengis.gml.AngleChoiceTypeOption])
      
      

trait AngleChoiceTypeOption

/** Value of an angle quantity recorded as a single number, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for an angle, such as degrees or radians.
*/
case class AngleType(value: Double,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends MeasureTypable {
  lazy val uom = attributes("@uom").as[java.net.URI]
}

      
      


/** Angle value provided in degree-minute-second or degree-minute format.
*/
case class DMSAngleType(degrees: opengis.gml.DegreesType,
  dmsangletypeoption: Option[scalaxb.DataRecord[Any]] = None) extends AngleChoiceTypeOption
      
      

case class DMSAngleTypeSequence1(minutes: BigInt,
  seconds: Option[BigDecimal] = None) extends DMSAngleTypeOption
      

trait DMSAngleTypeOption

/** Integer number of degrees, plus the angle direction. This element can be used for geographic Latitude and Longitude. For Latitude, the XML attribute direction can take the values "N" or "S", meaning North or South of the equator. For Longitude, direction can take the values "E" or "W", meaning East or West of the prime meridian. This element can also be used for other angles. In that case, the direction can take the values "+" or "-" (of SignType), in the specified rotational direction from a specified reference direction.
*/
case class DegreesType(value: BigInt,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
  lazy val direction = attributes.get("@direction") map { _.as[String]}
}

      
      





© 2015 - 2025 Weber Informatics LLC | Privacy Policy