
sbt-scalaxb.opengis.gml.coverage.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
/** GML Coverage schema.
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/ .
*/
/** Abstract element which acts as the head of a substitution group for coverages. Note that a coverage is a GML feature.
*/
trait AbstractCoverageType extends AbstractFeatureType {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def boundedBy: Option[opengis.gml.BoundingShapeType]
def location: Option[scalaxb.DataRecord[Any]]
def domainSet: scalaxb.DataRecord[Any]
def rangeSet: opengis.gml.RangeSetType
def gmlid: Option[String]
def dimension: Option[BigInt]
}
/** A continuous coverage as defined in ISO 19123 is a coverage that can return different values for the same feature attribute at different direct positions within a single spatiotemporal object in its spatiotemporal domain
*/
case class AbstractContinuousCoverageType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
boundedBy: Option[opengis.gml.BoundingShapeType] = None,
location: Option[scalaxb.DataRecord[Any]] = None,
domainSet: scalaxb.DataRecord[Any],
rangeSet: opengis.gml.RangeSetType,
coverageFunction: Option[opengis.gml.CoverageFunctionType] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractCoverageType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
lazy val dimension = attributes.get("@dimension") map { _.as[BigInt]}
}
/** A discrete coverage consists of a domain set, range set and optionally a coverage function. The domain set consists of either geometry or temporal objects, finite in number. The range set is comprised of a finite number of attribute values each of which is associated to every direct position within any single spatiotemporal object in the domain. In other words, the range values are constant on each spatiotemporal object in the domain. This coverage function maps each element from the coverage domain to an element in its range. This definition conforms to ISO 19123.
*/
trait AbstractDiscreteCoverageType extends AbstractCoverageType {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def boundedBy: Option[opengis.gml.BoundingShapeType]
def location: Option[scalaxb.DataRecord[Any]]
def domainSet: scalaxb.DataRecord[Any]
def rangeSet: opengis.gml.RangeSetType
def coverageFunction: Option[opengis.gml.CoverageFunctionType]
def gmlid: Option[String]
def dimension: Option[BigInt]
}
/** The spatiotemporal domain of a coverage.
Typically
* a geometry collection,
* an implicit geometry (e.g. a grid),
* an explicit or implicit collection of time instances or periods, or
N.B. Temporal geometric complexes and temporal grids are not yet implemented in GML.
*/
trait DomainSetTypable {
def domainsettypableoption: Option[scalaxb.DataRecord[opengis.gml.DomainSetTypableOption]]
def xlinktype: xlink.TypeType
def xlinkhref: Option[java.net.URI]
def xlinkrole: Option[java.net.URI]
def xlinkarcrole: Option[java.net.URI]
def xlinktitle: Option[String]
def xlinkshow: Option[xlink.ShowType]
def xlinkactuate: Option[xlink.ActuateType]
def gmlremoteSchema: Option[java.net.URI]
}
/** The spatiotemporal domain of a coverage.
Typically
* a geometry collection,
* an implicit geometry (e.g. a grid),
* an explicit or implicit collection of time instances or periods, or
N.B. Temporal geometric complexes and temporal grids are not yet implemented in GML.
*/
case class DomainSetType(domainsettypableoption: Option[scalaxb.DataRecord[opengis.gml.DomainSetTypableOption]] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends DomainSetTypable {
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]}
}
trait DomainSetTypableOption
case class RangeSetType(rangesettypeoption: Seq[scalaxb.DataRecord[Any]] = Nil)
trait RangeSetTypeOption
/** The function or rule which defines the map from members of the domainSet to the range.
More functions will be added to this list
*/
case class CoverageFunctionType(coveragefunctiontypeoption: scalaxb.DataRecord[opengis.gml.CoverageFunctionTypeOption])
trait CoverageFunctionTypeOption
case class DataBlockType(rangeParameters: opengis.gml.RangeParametersType,
datablocktypeoption: scalaxb.DataRecord[Any]) extends RangeSetTypeOption
trait DataBlockTypeOption
case class FileType(rangeParameters: opengis.gml.RangeParametersType,
fileName: java.net.URI,
fileStructure: opengis.gml.FileValueModelType,
mimeType: Option[java.net.URI] = None,
compression: Option[java.net.URI] = None) extends RangeSetTypeOption
sealed trait FileValueModelType
object FileValueModelType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.FileValueModelType]): FileValueModelType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: FileValueModelType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[FileValueModelType] = Seq(RecordInterleaved)
}
case object RecordInterleaved extends FileValueModelType { override def toString = "Record Interleaved" }
/** Metadata about the rangeSet. Definition of record structure.
This is required if the rangeSet is encoded in a DataBlock.
We use a gml:_Value with empty values as a map of the composite value structure.
*/
case class RangeParametersType(rangeparameterstypesequence1: Option[opengis.gml.RangeParametersTypeSequence1] = 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 RangeParametersTypeSequence1(valueObjectOption1: scalaxb.DataRecord[Any])
/** Defines how values in the domain are mapped to the range set. The start point and the sequencing rule are specified here.
*/
trait GridFunctionTypable extends CoverageFunctionTypeOption {
def sequenceRule: Option[opengis.gml.SequenceRuleType]
def startPoint: Option[Seq[BigInt]]
}
/** Defines how values in the domain are mapped to the range set. The start point and the sequencing rule are specified here.
*/
case class GridFunctionType(sequenceRule: Option[opengis.gml.SequenceRuleType] = None,
startPoint: Option[Seq[BigInt]] = None) extends GridFunctionTypable
/** Exends GridFunctionType with a lookUpTable. This contains a list of indexes of members within the rangeSet corresponding with the members of the domainSet. The domainSet is traversed in list order if it is enumerated explicitly, or in the order specified by a SequenceRule if the domain is an implicit set. The length of the lookUpTable corresponds with the length of the subset of the domainSet for which the coverage is defined.
*/
case class IndexMapType(sequenceRule: Option[opengis.gml.SequenceRuleType] = None,
startPoint: Option[Seq[BigInt]] = None,
lookUpTable: Seq[BigInt]) extends GridFunctionTypable
case class SequenceRuleType(value: opengis.gml.SequenceRuleNames,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val order = attributes.get("@order") map { _.as[IncrementOrder]}
}
sealed trait SequenceRuleNames
object SequenceRuleNames {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.SequenceRuleNames]): SequenceRuleNames = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: SequenceRuleNames) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[SequenceRuleNames] = Seq(Linear, Boustrophedonic, Cantoru45diagonal, Spiral, Morton, Hilbert)
}
case object Linear extends SequenceRuleNames { override def toString = "Linear" }
case object Boustrophedonic extends SequenceRuleNames { override def toString = "Boustrophedonic" }
case object Cantoru45diagonal extends SequenceRuleNames { override def toString = "Cantor-diagonal" }
case object Spiral extends SequenceRuleNames { override def toString = "Spiral" }
case object Morton extends SequenceRuleNames { override def toString = "Morton" }
case object Hilbert extends SequenceRuleNames { override def toString = "Hilbert" }
sealed trait IncrementOrder
object IncrementOrder {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.IncrementOrder]): IncrementOrder = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: IncrementOrder) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[IncrementOrder] = Seq(U43xu43y, U43yu43x, U43xu45y, U45xu45y)
}
case object U43xu43y extends IncrementOrder { override def toString = "+x+y" }
case object U43yu43x extends IncrementOrder { override def toString = "+y+x" }
case object U43xu45y extends IncrementOrder { override def toString = "+x-y" }
case object U45xu45y extends IncrementOrder { override def toString = "-x-y" }
/** A discrete coverage type whose domain is defined by a collection of point
*/
case class MultiPointCoverageType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
boundedBy: Option[opengis.gml.BoundingShapeType] = None,
location: Option[scalaxb.DataRecord[Any]] = None,
domainSet: scalaxb.DataRecord[Any],
rangeSet: opengis.gml.RangeSetType,
coverageFunction: Option[opengis.gml.CoverageFunctionType] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractDiscreteCoverageType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
lazy val dimension = attributes.get("@dimension") map { _.as[BigInt]}
}
case class MultiPointDomainType(domainsettypableoption: Option[scalaxb.DataRecord[opengis.gml.DomainSetTypableOption]] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends DomainSetTypable {
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 MultiPointDomainTypeSequence1(MultiPoint: opengis.gml.MultiPointType)
/** A discrete coverage type whose domain is defined by a collection of curves.
*/
case class MultiCurveCoverageType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
boundedBy: Option[opengis.gml.BoundingShapeType] = None,
location: Option[scalaxb.DataRecord[Any]] = None,
domainSet: scalaxb.DataRecord[Any],
rangeSet: opengis.gml.RangeSetType,
coverageFunction: Option[opengis.gml.CoverageFunctionType] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractDiscreteCoverageType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
lazy val dimension = attributes.get("@dimension") map { _.as[BigInt]}
}
case class MultiCurveDomainType(domainsettypableoption: Option[scalaxb.DataRecord[opengis.gml.DomainSetTypableOption]] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends DomainSetTypable {
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 MultiCurveDomainTypeSequence1(MultiCurve: opengis.gml.MultiCurveType)
/** A discrete coverage type whose domain is defined by a collection of surface patches (includes polygons, triangles, rectangles, etc).
*/
case class MultiSurfaceCoverageType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
boundedBy: Option[opengis.gml.BoundingShapeType] = None,
location: Option[scalaxb.DataRecord[Any]] = None,
domainSet: scalaxb.DataRecord[Any],
rangeSet: opengis.gml.RangeSetType,
coverageFunction: Option[opengis.gml.CoverageFunctionType] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractDiscreteCoverageType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
lazy val dimension = attributes.get("@dimension") map { _.as[BigInt]}
}
case class MultiSurfaceDomainType(domainsettypableoption: Option[scalaxb.DataRecord[opengis.gml.DomainSetTypableOption]] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends DomainSetTypable {
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 MultiSurfaceDomainTypeSequence1(MultiSurface: opengis.gml.MultiSurfaceType)
/** A discrete coverage type whose domain is defined by a collection of Solids.
*/
case class MultiSolidCoverageType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
boundedBy: Option[opengis.gml.BoundingShapeType] = None,
location: Option[scalaxb.DataRecord[Any]] = None,
domainSet: scalaxb.DataRecord[Any],
rangeSet: opengis.gml.RangeSetType,
coverageFunction: Option[opengis.gml.CoverageFunctionType] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractDiscreteCoverageType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
lazy val dimension = attributes.get("@dimension") map { _.as[BigInt]}
}
case class MultiSolidDomainType(domainsettypableoption: Option[scalaxb.DataRecord[opengis.gml.DomainSetTypableOption]] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends DomainSetTypable {
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 MultiSolidDomainTypeSequence1(MultiSolid: opengis.gml.MultiSolidType)
case class GridCoverageType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
boundedBy: Option[opengis.gml.BoundingShapeType] = None,
location: Option[scalaxb.DataRecord[Any]] = None,
domainSet: scalaxb.DataRecord[Any],
rangeSet: opengis.gml.RangeSetType,
coverageFunction: Option[opengis.gml.CoverageFunctionType] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractDiscreteCoverageType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
lazy val dimension = attributes.get("@dimension") map { _.as[BigInt]}
}
case class GridDomainType(domainsettypableoption: Option[scalaxb.DataRecord[opengis.gml.DomainSetTypableOption]] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends DomainSetTypable {
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 GridDomainTypeSequence1(Grid: opengis.gml.GridTypable)
case class RectifiedGridCoverageType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
boundedBy: Option[opengis.gml.BoundingShapeType] = None,
location: Option[scalaxb.DataRecord[Any]] = None,
domainSet: scalaxb.DataRecord[Any],
rangeSet: opengis.gml.RangeSetType,
coverageFunction: Option[opengis.gml.CoverageFunctionType] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AbstractDiscreteCoverageType {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
lazy val dimension = attributes.get("@dimension") map { _.as[BigInt]}
}
case class RectifiedGridDomainType(domainsettypableoption: Option[scalaxb.DataRecord[opengis.gml.DomainSetTypableOption]] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends DomainSetTypable {
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 RectifiedGridDomainTypeSequence1(RectifiedGrid: opengis.gml.RectifiedGridType)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy