
sbt-scalaxb.opengis.gml.grids.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
/** Grid geometries
A subset of implicit geometries
Designed for use with GML Coverage schema, but maybe useful elsewhere as well.
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/ .
*/
/** An unrectified grid, which is a network composed of two or more sets of equally spaced parallel lines in which the members of each set intersect the members of the other sets at right angles.
*/
trait GridTypable extends AbstractGeometryType {
def standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence
def limits: opengis.gml.GridLimitsType
def axisName: Seq[String]
def gmlid: Option[String]
def gid: Option[String]
def srsName: Option[java.net.URI]
def srsDimension: Option[BigInt]
def axisLabels: Option[Seq[String]]
def uomLabels: Option[Seq[String]]
def dimension: BigInt
}
/** An unrectified grid, which is a network composed of two or more sets of equally spaced parallel lines in which the members of each set intersect the members of the other sets at right angles.
*/
case class GridType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
limits: opengis.gml.GridLimitsType,
axisName: Seq[String] = Nil,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends GridTypable {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
lazy val gid = attributes.get("@gid") map { _.as[String]}
lazy val srsName = attributes.get("@srsName") map { _.as[java.net.URI]}
lazy val srsDimension = attributes.get("@srsDimension") map { _.as[BigInt]}
lazy val axisLabels = attributes.get("@axisLabels") map { _.as[Seq[String]]}
lazy val uomLabels = attributes.get("@uomLabels") map { _.as[Seq[String]]}
lazy val dimension = attributes("@dimension").as[BigInt]
}
case class GridLimitsType(GridEnvelope: opengis.gml.GridEnvelopeType)
/** Provides grid coordinate values for the diametrically opposed corners of an envelope that bounds a section of grid. The value of a single coordinate is the number of offsets from the origin of the grid in the direction of a specific axis.
*/
case class GridEnvelopeType(low: Seq[BigInt],
high: Seq[BigInt])
/** A rectified grid has an origin and vectors that define its post locations.
*/
case class RectifiedGridType(standardObjectPropertiesSequence1: opengis.gml.StandardObjectPropertiesSequence,
limits: opengis.gml.GridLimitsType,
axisName: Seq[String] = Nil,
origin: opengis.gml.PointPropertyType,
offsetVector: Seq[opengis.gml.VectorType] = Nil,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends GridTypable {
lazy val gmlid = attributes.get("@{http://www.opengis.net/gml}id") map { _.as[String]}
lazy val gid = attributes.get("@gid") map { _.as[String]}
lazy val srsName = attributes.get("@srsName") map { _.as[java.net.URI]}
lazy val srsDimension = attributes.get("@srsDimension") map { _.as[BigInt]}
lazy val axisLabels = attributes.get("@axisLabels") map { _.as[Seq[String]]}
lazy val uomLabels = attributes.get("@uomLabels") map { _.as[Seq[String]]}
lazy val dimension = attributes("@dimension").as[BigInt]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy