
sbt-scalaxb.opengis.gml.direction.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
/** This schema defines "direction" element and type.
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/ .
*/
/**
*/
case class DirectionPropertyType(directionpropertytypeoption: scalaxb.DataRecord[Any],
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]}
}
trait DirectionPropertyTypeOption
/** Direction expressed as a vector, either using components, or using angles.
*/
case class DirectionVectorType(directionvectortypeoption: scalaxb.DataRecord[opengis.gml.DirectionVectorTypeOption]) extends DirectionPropertyTypeOption
trait DirectionVectorTypeOption
case class DirectionVectorTypeSequence1(horizontalAngle: opengis.gml.AngleType,
verticalAngle: opengis.gml.AngleType) extends DirectionVectorTypeOption
sealed trait CompassPointEnumeration
object CompassPointEnumeration {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.CompassPointEnumeration]): CompassPointEnumeration = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: CompassPointEnumeration) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[CompassPointEnumeration] = Seq(N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW)
}
case object N extends CompassPointEnumeration { override def toString = "N" }
case object NNE extends CompassPointEnumeration { override def toString = "NNE" }
case object NE extends CompassPointEnumeration { override def toString = "NE" }
case object ENE extends CompassPointEnumeration { override def toString = "ENE" }
case object E extends CompassPointEnumeration { override def toString = "E" }
case object ESE extends CompassPointEnumeration { override def toString = "ESE" }
case object SE extends CompassPointEnumeration { override def toString = "SE" }
case object SSE extends CompassPointEnumeration { override def toString = "SSE" }
case object S extends CompassPointEnumeration { override def toString = "S" }
case object SSW extends CompassPointEnumeration { override def toString = "SSW" }
case object SW extends CompassPointEnumeration { override def toString = "SW" }
case object WSW extends CompassPointEnumeration { override def toString = "WSW" }
case object W extends CompassPointEnumeration { override def toString = "W" }
case object WNW extends CompassPointEnumeration { override def toString = "WNW" }
case object NW extends CompassPointEnumeration { override def toString = "NW" }
case object NNW extends CompassPointEnumeration { override def toString = "NNW" }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy