
sbt-scalaxb.opengis.gml.datums.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotrellis-server-opengis_2.12 Show documentation
Show all versions of geotrellis-server-opengis_2.12 Show documentation
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
/** How to encode datum definitions. Builds on referenceSystems.xsd to encode the data needed to define datums, including the specific subtypes of datums.
This schema encodes the Datum (CD_) package of the extended UML Model for OGC Abstract Specification Topic 2: Spatial Referencing by Coordinates. That UML model is adapted from ISO 19111 - Spatial referencing by coordinates, as described in Annex C of Topic 2.
Caution: The CRS package in GML 3.1 and GML 3.1.1 is preliminary, and is expected to undergo some modifications that are not backward compatible during the development of GML 3.2 (ISO 19136). The GML 3.2 package will implement the model described in the revised version of ISO 19111.
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/ .
*/
/** Basic encoding for datum objects, simplifying and restricting the DefinitionType as needed.
*/
trait AbstractDatumBaseType extends DefinitionTypable {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def gmlid: Option[String]
}
/** A datum specifies the relationship of a coordinate system to the earth, thus creating a coordinate reference system. A datum uses a parameter or set of parameters that determine the location of the origin of the coordinate reference system. Each datum subtype can be associated with only specific types of coordinate systems. This abstract complexType shall not be used, extended, or restricted, in an Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document.
*/
trait AbstractDatumType extends AbstractDatumBaseType {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def datumID: Seq[opengis.gml.IdentifierType]
def remarks: Option[opengis.gml.StringOrRefType]
def anchorPoint: Option[opengis.gml.CodeTypable]
def realizationEpoch: Option[javax.xml.datatype.XMLGregorianCalendar]
def validArea: Option[opengis.gml.ExtentType]
def scope: Option[String]
def gmlid: Option[String]
}
/** Association to a datum, either referencing or containing the definition of that datum.
*/
case class DatumRefType(datumreftypesequence1: Option[opengis.gml.DatumRefTypeSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
}
case class DatumRefTypeSequence1(_Datum: scalaxb.DataRecord[Any])
/** An engineering datum defines the origin of an engineering coordinate reference system, and is used in a region around that origin. This origin can be fixed with respect to the earth (such as a defined point at a construction site), or be a defined point on a moving vehicle (such as on a ship or satellite).
*/
case class EngineeringDatumType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
datumID: Seq[opengis.gml.IdentifierType] = Nil,
remarks: Option[opengis.gml.StringOrRefType] = None,
anchorPoint: Option[opengis.gml.CodeTypable] = None,
realizationEpoch: Option[javax.xml.datatype.XMLGregorianCalendar] = None,
validArea: Option[opengis.gml.ExtentType] = None,
scope: Option[String] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractDatumType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
}
/** Association to an engineering datum, either referencing or containing the definition of that datum.
*/
case class EngineeringDatumRefType(engineeringdatumreftypesequence1: Option[opengis.gml.EngineeringDatumRefTypeSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
}
case class EngineeringDatumRefTypeSequence1(EngineeringDatum: opengis.gml.EngineeringDatumType)
/** An image datum defines the origin of an image coordinate reference system, and is used in a local context only. For more information, see OGC Abstract Specification Topic 2.
*/
case class ImageDatumType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
datumID: Seq[opengis.gml.IdentifierType] = Nil,
remarks: Option[opengis.gml.StringOrRefType] = None,
anchorPoint: Option[opengis.gml.CodeTypable] = None,
realizationEpoch: Option[javax.xml.datatype.XMLGregorianCalendar] = None,
validArea: Option[opengis.gml.ExtentType] = None,
scope: Option[String] = None,
pixelInCell: opengis.gml.PixelInCellType,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractDatumType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
}
/** Specification of the way an image grid is associated with the image data attributes.
*/
case class PixelInCellType(value: String,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends CodeTypable {
lazy val codeSpace = attributes.get("@codeSpace") map { _.as[java.net.URI]}
}
/** Association to an image datum, either referencing or containing the definition of that datum.
*/
case class ImageDatumRefType(imagedatumreftypesequence1: Option[opengis.gml.ImageDatumRefTypeSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
}
case class ImageDatumRefTypeSequence1(ImageDatum: opengis.gml.ImageDatumType)
/** A textual description and/or a set of parameters identifying a particular reference level surface used as a zero-height surface, including its position with respect to the Earth for any of the height types recognized by this standard. There are several types of Vertical Datums, and each may place constraints on the Coordinate Axis with which it is combined to create a Vertical CRS.
*/
case class VerticalDatumType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
datumID: Seq[opengis.gml.IdentifierType] = Nil,
remarks: Option[opengis.gml.StringOrRefType] = None,
anchorPoint: Option[opengis.gml.CodeTypable] = None,
realizationEpoch: Option[javax.xml.datatype.XMLGregorianCalendar] = None,
validArea: Option[opengis.gml.ExtentType] = None,
scope: Option[String] = None,
verticalDatumType: Option[opengis.gml.VerticalDatumTypeType] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractDatumType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
}
/** Type of a vertical datum.
*/
case class VerticalDatumTypeType(value: String,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends CodeTypable {
lazy val codeSpace = attributes.get("@codeSpace") map { _.as[java.net.URI]}
}
/** Association to a vertical datum, either referencing or containing the definition of that datum.
*/
case class VerticalDatumRefType(verticaldatumreftypesequence1: Option[opengis.gml.VerticalDatumRefTypeSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
}
case class VerticalDatumRefTypeSequence1(VerticalDatum: opengis.gml.VerticalDatumType)
/** Partially defines the origin of a temporal coordinate reference system. This type restricts the AbstractDatumType to remove the "anchorPoint" and "realizationEpoch" elements.
*/
trait TemporalDatumBaseType extends AbstractDatumType {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def datumID: Seq[opengis.gml.IdentifierType]
def remarks: Option[opengis.gml.StringOrRefType]
def anchorPoint: Option[opengis.gml.CodeTypable]
def realizationEpoch: Option[javax.xml.datatype.XMLGregorianCalendar]
def validArea: Option[opengis.gml.ExtentType]
def scope: Option[String]
def gmlid: Option[String]
}
/** Defines the origin of a temporal coordinate reference system. This type extends the TemporalDatumRestrictionType to add the "origin" element with the dateTime type.
*/
case class TemporalDatumType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
datumID: Seq[opengis.gml.IdentifierType] = Nil,
remarks: Option[opengis.gml.StringOrRefType] = None,
anchorPoint: Option[opengis.gml.CodeTypable] = None,
realizationEpoch: Option[javax.xml.datatype.XMLGregorianCalendar] = None,
validArea: Option[opengis.gml.ExtentType] = None,
scope: Option[String] = None,
origin: javax.xml.datatype.XMLGregorianCalendar,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends TemporalDatumBaseType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
}
/** Association to a temporal datum, either referencing or containing the definition of that datum.
*/
case class TemporalDatumRefType(temporaldatumreftypesequence1: Option[opengis.gml.TemporalDatumRefTypeSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
}
case class TemporalDatumRefTypeSequence1(TemporalDatum: opengis.gml.TemporalDatumType)
/** A geodetic datum defines the precise location and orientation in 3-dimensional space of a defined ellipsoid (or sphere) that approximates the shape of the earth, or of a Cartesian coordinate system centered in this ellipsoid (or sphere).
*/
case class GeodeticDatumType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
datumID: Seq[opengis.gml.IdentifierType] = Nil,
remarks: Option[opengis.gml.StringOrRefType] = None,
anchorPoint: Option[opengis.gml.CodeTypable] = None,
realizationEpoch: Option[javax.xml.datatype.XMLGregorianCalendar] = None,
validArea: Option[opengis.gml.ExtentType] = None,
scope: Option[String] = None,
usesPrimeMeridian: opengis.gml.PrimeMeridianRefType,
usesEllipsoid: opengis.gml.EllipsoidRefType,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractDatumType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
}
/** Association to a geodetic datum, either referencing or containing the definition of that datum.
*/
case class GeodeticDatumRefType(geodeticdatumreftypesequence1: Option[opengis.gml.GeodeticDatumRefTypeSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
}
case class GeodeticDatumRefTypeSequence1(GeodeticDatum: opengis.gml.GeodeticDatumType)
/** Basic encoding for prime meridian objects, simplifying and restricting the DefinitionType as needed.
*/
trait PrimeMeridianBaseType extends DefinitionTypable {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def gmlid: Option[String]
}
/** A prime meridian defines the origin from which longitude values are determined.
*/
case class PrimeMeridianType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
meridianID: Seq[opengis.gml.IdentifierType] = Nil,
remarks: Option[opengis.gml.StringOrRefType] = None,
greenwichLongitude: opengis.gml.AngleChoiceType,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends PrimeMeridianBaseType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
}
/** Association to a prime meridian, either referencing or containing the definition of that meridian.
*/
case class PrimeMeridianRefType(primemeridianreftypesequence1: Option[opengis.gml.PrimeMeridianRefTypeSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
}
case class PrimeMeridianRefTypeSequence1(PrimeMeridian: opengis.gml.PrimeMeridianType)
/** Basic encoding for ellipsoid objects, simplifying and restricting the DefinitionType as needed.
*/
trait EllipsoidBaseType extends DefinitionTypable {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def gmlid: Option[String]
}
/** An ellipsoid is a geometric figure that can be used to describe the approximate shape of the earth. In mathematical terms, it is a surface formed by the rotation of an ellipse about its minor axis.
*/
case class EllipsoidType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
ellipsoidID: Seq[opengis.gml.IdentifierType] = Nil,
remarks: Option[opengis.gml.StringOrRefType] = None,
semiMajorAxis: opengis.gml.MeasureTypable,
secondDefiningParameter: opengis.gml.SecondDefiningParameterType,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends EllipsoidBaseType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
}
/** Association to an ellipsoid, either referencing or containing the definition of that ellipsoid.
*/
case class EllipsoidRefType(ellipsoidreftypesequence1: Option[opengis.gml.EllipsoidRefTypeSequence1] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
lazy val gmlremoteSchema = attributes.get("@{http://www.opengis.net/gml}remoteSchema") map { _.as[java.net.URI]}
}
case class EllipsoidRefTypeSequence1(Ellipsoid: opengis.gml.EllipsoidType)
/** Definition of the second parameter that defines the shape of an ellipsoid. An ellipsoid requires two defining parameters: semi-major axis and inverse flattening or semi-major axis and semi-minor axis. When the reference body is a sphere rather than an ellipsoid, only a single defining parameter is required, namely the radius of the sphere; in that case, the semi-major axis "degenerates" into the radius of the sphere.
*/
case class SecondDefiningParameterType(seconddefiningparametertypeoption: scalaxb.DataRecord[Any])
trait SecondDefiningParameterTypeOption
sealed trait IsSphere
object IsSphere {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.IsSphere]): IsSphere = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: IsSphere) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[IsSphere] = Seq(Sphere)
}
case object Sphere extends IsSphere { override def toString = "sphere" }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy