All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sbt-scalaxb.opengis.sld.StyledLayerDescriptor.scala Maven / Gradle / Ivy

Go to download

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 StyledLayerDescriptor(Name: Option[String] = None,
  Description: Option[opengis.se.DescriptionType] = None,
  UseSLDLibrary: Seq[opengis.sld.UseSLDLibrary] = Nil,
  styledlayerdescriptoroption: Seq[scalaxb.DataRecord[opengis.sld.StyledLayerDescriptorOption]] = Nil,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) {
  lazy val version = attributes("@version").as[opengis.se.VersionType]
}

      
      

trait StyledLayerDescriptorOption

case class UseSLDLibrary(OnlineResource: opengis.se.OnlineResourceType)
      
      


case class NamedLayer(Name: String,
  Description: Option[opengis.se.DescriptionType] = None,
  LayerFeatureConstraints: Option[opengis.sld.LayerFeatureConstraints] = None,
  namedlayeroption: Seq[scalaxb.DataRecord[opengis.sld.NamedLayerOption]] = Nil) extends StyledLayerDescriptorOption
      
      

trait NamedLayerOption

case class NamedStyle(Name: String,
  Description: Option[opengis.se.DescriptionType] = None) extends NamedLayerOption
      
      


case class UserLayer(Name: Option[String] = None,
  Description: Option[opengis.se.DescriptionType] = None,
  userlayeroption: Option[scalaxb.DataRecord[opengis.sld.UserLayerOption]] = None,
  userlayeroption2: Option[scalaxb.DataRecord[opengis.sld.UserLayerOption2]] = None,
  UserStyle: Seq[opengis.sld.UserStyle] = Nil) extends StyledLayerDescriptorOption
      
      

trait UserLayerOption2
trait UserLayerOption

case class RemoteOWS(Service: opengis.sld.Service,
  OnlineResource: opengis.se.OnlineResourceType) extends UserLayerOption
      
      

sealed trait Service

object Service {
  def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.sld.Service]): Service = fmt.reads(scala.xml.Text(value), Nil) match {
    case Right(x: Service) => x
    case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
  }
  lazy val values: Seq[Service] = Seq(WFSValue, WCSValue)
}

case object WFSValue extends Service { override def toString = "WFS" }
case object WCSValue extends Service { override def toString = "WCS" }


case class InlineFeature(FeatureCollection: Seq[opengis.gml.FeatureCollectionTypable] = Nil) extends UserLayerOption
      
      


case class LayerFeatureConstraints(FeatureTypeConstraint: Seq[opengis.sld.FeatureTypeConstraint] = Nil) extends UserLayerOption2
      
      


case class FeatureTypeConstraint(FeatureTypeName: Option[javax.xml.namespace.QName] = None,
  Filter: Option[opengis.ogc.FilterType] = None,
  Extent: Seq[opengis.sld.Extent] = Nil)
      
      


case class LayerCoverageConstraints(CoverageConstraint: Seq[opengis.sld.CoverageConstraint] = Nil) extends UserLayerOption2
      
      


case class CoverageConstraint(CoverageName: String,
  CoverageExtent: Option[opengis.sld.CoverageExtent] = None)
      
      


case class CoverageExtent(coverageextentoption: Seq[scalaxb.DataRecord[Any]] = Nil)
      
      

trait CoverageExtentOption

case class RangeAxis(Name: String,
  Value: String)
      
      


case class Extent(Name: String,
  Value: String)
      
      


case class UserStyle(Name: Option[String] = None,
  Description: Option[opengis.se.DescriptionType] = None,
  IsDefault: Option[Boolean] = None,
  userstyleoption: Seq[scalaxb.DataRecord[Any]] = Nil) extends NamedLayerOption
      
      

trait UserStyleOption




© 2015 - 2025 Weber Informatics LLC | Privacy Policy