⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 styledlayerdescriptor.xsd

📁 联合国农粮署牵头开发的geonetwork源代码最新版
💻 XSD
📖 第 1 页 / 共 2 页
字号:
<?xml version="1.0" encoding="UTF-8"?><xsd:schema targetNamespace="http://www.opengis.net/sld"            xmlns:sld="http://www.opengis.net/sld"            xmlns:ogc="http://www.opengis.net/ogc"            xmlns:xlink="http://www.w3.org/1999/xlink"            xmlns:xsd="http://www.w3.org/2001/XMLSchema"            elementFormDefault="qualified">  <xsd:import namespace="http://www.w3.org/1999/xlink"              schemaLocation="xlinks.xsd"/>  <xsd:import namespace="http://www.opengis.net/ogc"              schemaLocation="filter.xsd"/><!-- *********************************************************************** -->  <xsd:annotation>    <xsd:documentation>      STYLED LAYER DESCRIPTOR version 1.0.0 (2002-09-21)    </xsd:documentation>  </xsd:annotation>  <xsd:element name="StyledLayerDescriptor">    <xsd:annotation>      <xsd:documentation>        A StyledLayerDescriptor is a sequence of styled layers, represented        at the first level by NamedLayer and UserLayer elements.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:Name" minOccurs="0"/>        <xsd:element ref="sld:Title" minOccurs="0"/>        <xsd:element ref="sld:Abstract" minOccurs="0"/>        <xsd:choice minOccurs="0" maxOccurs="unbounded">          <xsd:element ref="sld:NamedLayer"/>          <xsd:element ref="sld:UserLayer"/>        </xsd:choice>      </xsd:sequence>      <xsd:attribute name="version" type="xsd:string" use="required"                     fixed="1.0.0"/>    </xsd:complexType>  </xsd:element>  <xsd:element name="Name" type="xsd:string"/>  <xsd:element name="Title" type="xsd:string"/>  <xsd:element name="Abstract" type="xsd:string"/><!-- *********************************************************************** -->  <xsd:annotation>    <xsd:documentation>      LAYERS AND STYLES    </xsd:documentation>  </xsd:annotation>  <xsd:element name="NamedLayer">    <xsd:annotation>      <xsd:documentation>        A NamedLayer is a layer of data that has a name advertised by a WMS.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:Name"/>        <xsd:element ref="sld:LayerFeatureConstraints" minOccurs="0"/>        <xsd:choice minOccurs="0" maxOccurs="unbounded">          <xsd:element ref="sld:NamedStyle"/>          <xsd:element ref="sld:UserStyle"/>        </xsd:choice>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="NamedStyle">    <xsd:annotation>      <xsd:documentation>        A NamedStyle is used to refer to a style that has a name in a WMS.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:Name"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="UserLayer">    <xsd:annotation>      <xsd:documentation>        A UserLayer allows a user-defined layer to be built from WFS and        WCS data.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:Name" minOccurs="0"/>                <xsd:choice minOccurs="0">	        <xsd:element ref="sld:InlineFeature"/>	        <xsd:element ref="sld:RemoteOWS" minOccurs="0"/>	</xsd:choice>	        <xsd:element ref="sld:LayerFeatureConstraints"/>        <xsd:element ref="sld:UserStyle" maxOccurs="unbounded"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>    <xsd:element name="InlineFeature">    <xsd:complexType>      <xsd:sequence>         <xsd:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>           </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="RemoteOWS">    <xsd:annotation>      <xsd:documentation>        A RemoteOWS gives a reference to a remote WFS/WCS/other-OWS server.       </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:Service"/>        <xsd:element ref="sld:OnlineResource"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="Service">    <xsd:annotation>      <xsd:documentation>        A Service refers to the type of a remote OWS server.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleType>      <xsd:restriction base="xsd:string">        <xsd:enumeration value="WFS"/>        <xsd:enumeration value="WCS"/>      </xsd:restriction>    </xsd:simpleType>  </xsd:element>  <xsd:element name="OnlineResource">    <xsd:annotation>      <xsd:documentation>        An OnlineResource is typically used to refer to an HTTP URL.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:attributeGroup ref="xlink:simpleLink"/>    </xsd:complexType>  </xsd:element>  <xsd:element name="LayerFeatureConstraints">    <xsd:annotation>      <xsd:documentation>        LayerFeatureConstraints define what features &amp; feature types are        referenced in a layer.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:FeatureTypeConstraint" maxOccurs="unbounded"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="FeatureTypeConstraint">    <xsd:annotation>      <xsd:documentation>        A FeatureTypeConstraint identifies a specific feature type and        supplies fitlering.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:FeatureTypeName" minOccurs="0"/>        <xsd:element ref="ogc:Filter" minOccurs="0"/>        <xsd:element ref="sld:Extent" minOccurs="0" maxOccurs="unbounded"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="FeatureTypeName" type="xsd:string"/>  <xsd:element name="Extent">    <xsd:annotation>      <xsd:documentation>        An Extent gives feature/coverage/raster/matrix dimension extent.       </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:Name"/>        <xsd:element ref="sld:Value"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="Value" type="xsd:string"/>  <xsd:element name="UserStyle">    <xsd:annotation>      <xsd:documentation>        A UserStyle allows user-defined styling and is semantically        equivalent to a WMS named style.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:Name" minOccurs="0"/>        <xsd:element ref="sld:Title" minOccurs="0"/>        <xsd:element ref="sld:Abstract" minOccurs="0"/>        <xsd:element ref="sld:IsDefault" minOccurs="0"/>        <xsd:element ref="sld:FeatureTypeStyle" maxOccurs="unbounded"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="IsDefault" type="xsd:string"/><!-- *********************************************************************** -->  <xsd:annotation>    <xsd:documentation>      FEATURE-TYPE STYLING    </xsd:documentation>  </xsd:annotation>  <xsd:element name="FeatureTypeStyle">  <xsd:annotation>    <xsd:documentation>      A FeatureTypeStyle contains styling information specific to one      feature type.  This is the SLD level that separates the 'layer'      handling from the 'feature' handling.    </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:Name" minOccurs="0"/>        <xsd:element ref="sld:Title" minOccurs="0"/>        <xsd:element ref="sld:Abstract" minOccurs="0"/>        <xsd:element ref="sld:FeatureTypeName" minOccurs="0"/>        <xsd:element ref="sld:SemanticTypeIdentifier" minOccurs="0"                    maxOccurs="unbounded"/>        <xsd:element ref="sld:Rule" maxOccurs="unbounded"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="SemanticTypeIdentifier" type="xsd:string"/>  <xsd:element name="Rule">    <xsd:annotation>      <xsd:documentation>        A Rule is used to attach property/scale conditions to and group        the individual symbolizers used for rendering.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:Name" minOccurs="0"/>        <xsd:element ref="sld:Title" minOccurs="0"/>        <xsd:element ref="sld:Abstract" minOccurs="0"/>        <xsd:element ref="sld:LegendGraphic" minOccurs="0"/>        <xsd:choice minOccurs="0">          <xsd:element ref="ogc:Filter"/>          <xsd:element ref="sld:ElseFilter"/>        </xsd:choice>        <xsd:element ref="sld:MinScaleDenominator" minOccurs="0"/>        <xsd:element ref="sld:MaxScaleDenominator" minOccurs="0"/>        <xsd:element ref="sld:Symbolizer" maxOccurs="unbounded"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="LegendGraphic">    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:Graphic"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="ElseFilter">    <xsd:complexType/>  </xsd:element>  <xsd:element name="MinScaleDenominator" type="xsd:double"/>  <xsd:element name="MaxScaleDenominator" type="xsd:double"/><!-- *********************************************************************** -->  <xsd:annotation>    <xsd:documentation>      SYMBOLIZERS    </xsd:documentation>  </xsd:annotation>  <xsd:element name="Symbolizer" type="sld:SymbolizerType" abstract="true"/>  <xsd:complexType name="SymbolizerType" abstract="true">    <xsd:annotation>      <xsd:documentation>        A "SymbolizerType" is an abstract type for encoding the graphical        properties used to portray geographic information.  Concrete symbol        types are derived from this base type.      </xsd:documentation>    </xsd:annotation>  </xsd:complexType><!-- *********************************************************************** -->  <xsd:annotation>    <xsd:documentation>      LINE SYMBOLIZER    </xsd:documentation>  </xsd:annotation>  <xsd:element name="LineSymbolizer" substitutionGroup="sld:Symbolizer">    <xsd:annotation>      <xsd:documentation>        A LineSymbolizer is used to render a "stroke" along a linear geometry.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:complexContent>        <xsd:extension base="sld:SymbolizerType">          <xsd:sequence>            <xsd:element ref="sld:Geometry" minOccurs="0"/>            <xsd:element ref="sld:Stroke" minOccurs="0"/>          </xsd:sequence>        </xsd:extension>      </xsd:complexContent>    </xsd:complexType>  </xsd:element>  <xsd:element name="Geometry">    <xsd:annotation>      <xsd:documentation>        A Geometry gives reference to a (the) geometry property of a        feature to be used for rendering.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="ogc:PropertyName"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="Stroke">    <xsd:annotation>      <xsd:documentation>        A "Stroke" specifies the appearance of a linear geometry.  It is        defined in parallel with SVG strokes.  The following CssParameters        may be used: "stroke" (color), "stroke-opacity", "stroke-width",        "stroke-linejoin", "stroke-linecap", "stroke-dasharray", and        "stroke-dashoffset".      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:choice minOccurs="0">          <xsd:element ref="sld:GraphicFill"/>          <xsd:element ref="sld:GraphicStroke"/>        </xsd:choice>        <xsd:element ref="sld:CssParameter" minOccurs="0"                     maxOccurs="unbounded"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="CssParameter">    <xsd:annotation>      <xsd:documentation>        A "CssParameter" refers to an SVG/CSS graphical-formatting        parameter.  The parameter is identified using the "name" attribute        and the content of the element gives the SVG/CSS-coded value.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType mixed="true">      <xsd:complexContent>        <xsd:extension base="sld:ParameterValueType">          <xsd:attribute name="name" type="xsd:string" use="required"/>        </xsd:extension>      </xsd:complexContent>    </xsd:complexType>  </xsd:element>  <xsd:complexType name="ParameterValueType" mixed="true">    <xsd:annotation>      <xsd:documentation>        The "ParameterValueType" uses WFS-Filter expressions to give        values for SLD graphic parameters.  A "mixed" element-content        model is used with textual substitution for values.      </xsd:documentation>    </xsd:annotation>    <xsd:sequence minOccurs="0" maxOccurs="unbounded">      <xsd:element ref="ogc:expression"/>    </xsd:sequence>  </xsd:complexType>  <xsd:element name="GraphicFill">    <xsd:annotation>      <xsd:documentation>        A "GraphicFill" defines repeated-graphic filling (stippling)        pattern for an area geometry.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:Graphic"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="GraphicStroke">    <xsd:annotation>      <xsd:documentation>        A "GraphicStroke" defines a repated-linear graphic pattern to be used        for stroking a line.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="sld:Graphic"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element><!-- *********************************************************************** -->  <xsd:annotation>    <xsd:documentation>      POLYGON SYMBOLIZER    </xsd:documentation>  </xsd:annotation>  <xsd:element name="PolygonSymbolizer" substitutionGroup="sld:Symbolizer">    <xsd:annotation>      <xsd:documentation>        A "PolygonSymbolizer" specifies the rendering of a polygon or        area geometry, including its interior fill and border stroke.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:complexContent>        <xsd:extension base="sld:SymbolizerType">          <xsd:sequence>            <xsd:element ref="sld:Geometry" minOccurs="0"/>            <xsd:element ref="sld:Fill" minOccurs="0"/>            <xsd:element ref="sld:Stroke" minOccurs="0"/>          </xsd:sequence>        </xsd:extension>      </xsd:complexContent>    </xsd:complexType>  </xsd:element>  <xsd:element name="Fill">    <xsd:annotation>      <xsd:documentation>        A "Fill" specifies the pattern for filling an area geometry.        The allowed CssParameters are: "fill" (color) and "fill-opacity".

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -