
sbt-scalaxb.opengis.wmts.wmtsGetCapabilities_response.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.wmts
/**
This XML Schema Document encodes the WMTS GetCapabilities
operations response message.
WMTS is an OGC Standard.
Copyright (c) 2009,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/.
*/
case class Capabilities(ServiceIdentification: Option[opengis.ows.ServiceIdentification] = None,
ServiceProvider: Option[opengis.ows.ServiceProvider] = None,
OperationsMetadata: Option[opengis.ows.OperationsMetadata] = None,
Contents: Option[opengis.wmts.ContentsType] = None,
Themes: Seq[opengis.wmts.Themes] = Nil,
WSDL: Seq[opengis.ows.OnlineResourceTypable] = Nil,
ServiceMetadataURL: Seq[opengis.ows.OnlineResourceTypable] = Nil,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends opengis.ows.CapabilitiesBaseTypable {
lazy val version = attributes("@version").as[String]
lazy val updateSequence = attributes.get("@updateSequence") map { _.as[String]}
}
case class ContentsType(DatasetDescriptionSummary: Seq[scalaxb.DataRecord[Any]] = Nil,
OtherSource: Seq[opengis.ows.MetadataType] = Nil,
TileMatrixSet: Seq[opengis.wmts.TileMatrixSet] = Nil) extends opengis.ows.ContentsBaseTypable
case class LayerType(Title: Seq[opengis.ows.LanguageStringType] = Nil,
AbstractValue: Seq[opengis.ows.LanguageStringType] = Nil,
Keywords: Seq[opengis.ows.KeywordsType] = Nil,
WGS84BoundingBox: Seq[opengis.ows.WGS84BoundingBoxType] = Nil,
Identifier: opengis.ows.CodeTypable,
BoundingBox: Seq[scalaxb.DataRecord[Any]] = Nil,
Metadata: Seq[opengis.ows.MetadataType] = Nil,
DatasetDescriptionSummary: Seq[scalaxb.DataRecord[Any]] = Nil,
Style: Seq[opengis.wmts.Style] = Nil,
Format: Seq[String] = Nil,
InfoFormat: Seq[String] = Nil,
Dimension: Seq[opengis.wmts.Dimension] = Nil,
TileMatrixSetLink: Seq[opengis.wmts.TileMatrixSetLink] = Nil,
ResourceURL: Seq[opengis.wmts.URLTemplateType] = Nil) extends opengis.ows.DatasetDescriptionSummaryBaseTypable
case class Style(Title: Seq[opengis.ows.LanguageStringType] = Nil,
AbstractValue: Seq[opengis.ows.LanguageStringType] = Nil,
Keywords: Seq[opengis.ows.KeywordsType] = Nil,
Identifier: opengis.ows.CodeTypable,
LegendURL: Seq[opengis.wmts.LegendURL] = Nil,
attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends opengis.ows.DescriptionTypable {
lazy val isDefault = attributes.get("@isDefault") map { _.as[Boolean]}
}
case class LegendURL(attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends opengis.ows.OnlineResourceTypable {
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 format = attributes.get("@format") map { _.as[String]}
lazy val minScaleDenominator = attributes.get("@minScaleDenominator") map { _.as[Double]}
lazy val maxScaleDenominator = attributes.get("@maxScaleDenominator") map { _.as[Double]}
lazy val width = attributes.get("@width") map { _.as[BigInt]}
lazy val height = attributes.get("@height") map { _.as[BigInt]}
}
case class Dimension(Title: Seq[opengis.ows.LanguageStringType] = Nil,
AbstractValue: Seq[opengis.ows.LanguageStringType] = Nil,
Keywords: Seq[opengis.ows.KeywordsType] = Nil,
Identifier: opengis.ows.CodeTypable,
UOM: Option[opengis.ows.DomainMetadataType] = None,
UnitSymbol: Option[String] = None,
Default: Option[String] = None,
Current: Option[Boolean] = None,
Value: Seq[String] = Nil) extends opengis.ows.DescriptionTypable
case class TileMatrixSetLink(TileMatrixSet: String,
TileMatrixSetLimits: Option[opengis.wmts.TileMatrixSetLimits] = None)
case class TileMatrixSetLimits(TileMatrixLimits: Seq[opengis.wmts.TileMatrixLimits] = Nil)
case class TileMatrixLimits(TileMatrix: String,
MinTileRow: BigInt,
MaxTileRow: BigInt,
MinTileCol: BigInt,
MaxTileCol: BigInt)
sealed trait KnownResourceTypeCodeType
object KnownResourceTypeCodeType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.wmts.KnownResourceTypeCodeType]): KnownResourceTypeCodeType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: KnownResourceTypeCodeType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[KnownResourceTypeCodeType] = Seq(Tile, FeatureInfo)
}
case object Tile extends KnownResourceTypeCodeType { override def toString = "tile" }
case object FeatureInfo extends KnownResourceTypeCodeType { override def toString = "FeatureInfo" }
case class URLTemplateType(attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
lazy val format = attributes("@format").as[String]
lazy val resourceType = attributes("@resourceType").as[String]
lazy val template = attributes("@template").as[String]
}
case class TileMatrixSet(Title: Seq[opengis.ows.LanguageStringType] = Nil,
AbstractValue: Seq[opengis.ows.LanguageStringType] = Nil,
Keywords: Seq[opengis.ows.KeywordsType] = Nil,
Identifier: opengis.ows.CodeTypable,
BoundingBox: Option[scalaxb.DataRecord[Any]] = None,
SupportedCRS: java.net.URI,
WellKnownScaleSet: Option[java.net.URI] = None,
TileMatrix: Seq[opengis.wmts.TileMatrix] = Nil) extends opengis.ows.DescriptionTypable
case class TileMatrix(Title: Seq[opengis.ows.LanguageStringType] = Nil,
AbstractValue: Seq[opengis.ows.LanguageStringType] = Nil,
Keywords: Seq[opengis.ows.KeywordsType] = Nil,
Identifier: opengis.ows.CodeTypable,
ScaleDenominator: Double,
TopLeftCorner: Seq[Double],
TileWidth: BigInt,
TileHeight: BigInt,
MatrixWidth: BigInt,
MatrixHeight: BigInt) extends opengis.ows.DescriptionTypable
case class Themes(Theme: Seq[opengis.wmts.Theme] = Nil)
case class Theme(Title: Seq[opengis.ows.LanguageStringType] = Nil,
AbstractValue: Seq[opengis.ows.LanguageStringType] = Nil,
Keywords: Seq[opengis.ows.KeywordsType] = Nil,
Identifier: opengis.ows.CodeTypable,
Theme: Seq[opengis.wmts.Theme] = Nil,
LayerRef: Seq[java.net.URI] = Nil) extends opengis.ows.DescriptionTypable
© 2015 - 2025 Weber Informatics LLC | Privacy Policy