
sbt-scalaxb.opengis.gml.referenceSystems.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 reference system definitions. Builds on several other parts of GML 3 to encode the data needed to define reference systems.
This schema encodes the Reference System (RS_) 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. The SC_CRS class is also encoded here, to eliminate the (circular) references from coordinateOperations.xsd to coordinateReferenceSystems.xsd. The RS_SpatialReferenceSystemUsingGeographicIdentifier class is not encoded, since it is not applicable to coordinate positions. The CI_Citation class is not directly encoded, since such information can be included as metaDataProperty elements which are optionally allowed. A modified version of the EX_Extent (DataType) class from ISO 19115 is currently encoded here, using GML 3 schema types. (A more extensive version of the EX_Extent package might be XML encoded in the future, probably in a separate extent.xsd schema.)
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 reference system objects, simplifying and restricting the DefinitionType as needed.
*/
trait AbstractReferenceSystemBaseType extends DefinitionTypable {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def gmlid: Option[String]
}
/** Description of a spatial and/or temporal reference system used by a dataset.
*/
trait AbstractReferenceSystemType extends AbstractReferenceSystemBaseType {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def srsID: Seq[opengis.gml.IdentifierType]
def remarks: Option[opengis.gml.StringOrRefType]
def validArea: Option[opengis.gml.ExtentType]
def scope: Option[String]
def gmlid: Option[String]
}
/** Association to a reference system, either referencing or containing the definition of that reference system.
*/
case class ReferenceSystemRefType(referencesystemreftypesequence1: Option[opengis.gml.ReferenceSystemRefTypeSequence1] = 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 ReferenceSystemRefTypeSequence1(_ReferenceSystem: scalaxb.DataRecord[Any])
/** Association to a CRS abstract coordinate reference system, either referencing or containing the definition of that CRS.
*/
case class CRSRefType(crsreftypesequence1: Option[opengis.gml.CRSRefTypeSequence1] = 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 CRSRefTypeSequence1(_CRS: scalaxb.DataRecord[Any])
/** An identification of a CRS object. The first use of the IdentifierType for an object, if any, is normally the primary identification code, and any others are aliases.
*/
case class IdentifierType(name: scalaxb.DataRecord[Any],
version: Option[String] = None,
remarks: Option[opengis.gml.StringOrRefType] = None)
/** Information about the spatial, vertical, and/or temporal extent of a reference system object. Constraints: At least one of the elements "description", "boundingBox", "boundingPolygon", "verticalExtent", and temporalExtent" must be included, but more that one can be included when appropriate. Furthermore, more than one "boundingBox", "boundingPolygon", "verticalExtent", and/or temporalExtent" element can be included, with more than one meaning the union of the individual domains.
*/
case class ExtentType(description: Option[opengis.gml.StringOrRefType] = None,
extenttypeoption: Seq[scalaxb.DataRecord[opengis.gml.ExtentTypeOption]] = Nil,
verticalExtent: Seq[opengis.gml.EnvelopeTypable] = Nil,
temporalExtent: Seq[opengis.gml.TimePeriodType] = Nil)
trait ExtentTypeOption
© 2015 - 2025 Weber Informatics LLC | Privacy Policy