
sbt-scalaxb.opengis.sld.GetMap.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.sld
/**
Styled Layer Descriptor version 1.1.0 (2010-02-01)
SLD is an OGC Standard.
Copyright (c) 2007,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
*/
case class GetMapType(StyledLayerDescriptor: opengis.sld.StyledLayerDescriptor,
CRS: String,
BoundingBox: opengis.sld.ows.BoundingBoxTypable,
Output: opengis.sld.OutputType,
Exceptions: Option[opengis.sld.ExceptionsType] = None,
Time: Option[javax.xml.datatype.XMLGregorianCalendar] = None,
Elevation: Option[opengis.sld.ElevationType] = None,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val version = attributes("@version").as[String]
}
case class Size(Width: BigInt,
Height: BigInt)
case class OutputType(Size: opengis.sld.Size,
Format: String,
Transparent: Option[Boolean] = None,
BGcolor: Option[String] = None)
sealed trait ExceptionsType
object ExceptionsType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.sld.ExceptionsType]): ExceptionsType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: ExceptionsType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[ExceptionsType] = Seq(XML, INIMAGE, BLANK)
}
case object XML extends ExceptionsType { override def toString = "XML" }
case object INIMAGE extends ExceptionsType { override def toString = "INIMAGE" }
case object BLANK extends ExceptionsType { override def toString = "BLANK" }
case class ElevationType(elevationtypeoption: Seq[scalaxb.DataRecord[Any]] = Nil)
trait ElevationTypeOption
case class IntervalType(Min: Double,
Max: Double)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy