"Fossies" - the Fresh Open Source Software Archive

Member "geotools-22.0/modules/unsupported/css/src/test/resources/css/integration/planet_polygon-first.sld" (18 Sep 2019, 3293 Bytes) of package /linux/misc/geotools-22.0-project.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0" encoding="UTF-8"?><sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" version="1.0.0">
    2   <sld:NamedLayer>
    3     <sld:Name/>
    4     <sld:UserStyle>
    5       <sld:Name>Default Styler</sld:Name>
    6       <sld:FeatureTypeStyle>
    7         <sld:Rule>
    8           <ogc:Filter>
    9             <ogc:And>
   10               <ogc:PropertyIsEqualTo>
   11                 <ogc:PropertyName>waterway</ogc:PropertyName>
   12                 <ogc:Literal>riverbank</ogc:Literal>
   13               </ogc:PropertyIsEqualTo>
   14               <ogc:PropertyIsEqualTo>
   15                 <ogc:PropertyName>natural</ogc:PropertyName>
   16                 <ogc:Literal>water</ogc:Literal>
   17               </ogc:PropertyIsEqualTo>
   18             </ogc:And>
   19           </ogc:Filter>
   20           <sld:PolygonSymbolizer>
   21             <sld:Fill>
   22               <sld:CssParameter name="fill">#0000FF</sld:CssParameter>
   23             </sld:Fill>
   24           </sld:PolygonSymbolizer>
   25         </sld:Rule>
   26         <sld:Rule>
   27           <ogc:Filter>
   28             <ogc:And>
   29               <ogc:PropertyIsEqualTo>
   30                 <ogc:PropertyName>waterway</ogc:PropertyName>
   31                 <ogc:Literal>riverbank</ogc:Literal>
   32               </ogc:PropertyIsEqualTo>
   33               <ogc:PropertyIsEqualTo>
   34                 <ogc:PropertyName>natural</ogc:PropertyName>
   35                 <ogc:Literal>wetland</ogc:Literal>
   36               </ogc:PropertyIsEqualTo>
   37             </ogc:And>
   38           </ogc:Filter>
   39           <sld:PolygonSymbolizer>
   40             <sld:Fill>
   41               <sld:CssParameter name="fill">#0000FF</sld:CssParameter>
   42             </sld:Fill>
   43           </sld:PolygonSymbolizer>
   44         </sld:Rule>
   45         <sld:Rule>
   46           <ogc:Filter>
   47             <ogc:PropertyIsEqualTo>
   48               <ogc:PropertyName>natural</ogc:PropertyName>
   49               <ogc:Literal>water</ogc:Literal>
   50             </ogc:PropertyIsEqualTo>
   51           </ogc:Filter>
   52           <sld:PolygonSymbolizer>
   53             <sld:Fill>
   54               <sld:CssParameter name="fill">#FF0000</sld:CssParameter>
   55             </sld:Fill>
   56           </sld:PolygonSymbolizer>
   57         </sld:Rule>
   58         <sld:Rule>
   59           <ogc:Filter>
   60             <ogc:PropertyIsEqualTo>
   61               <ogc:PropertyName>natural</ogc:PropertyName>
   62               <ogc:Literal>wetland</ogc:Literal>
   63             </ogc:PropertyIsEqualTo>
   64           </ogc:Filter>
   65           <sld:PolygonSymbolizer>
   66             <sld:Fill>
   67               <sld:CssParameter name="fill">#00FF00</sld:CssParameter>
   68             </sld:Fill>
   69           </sld:PolygonSymbolizer>
   70         </sld:Rule>
   71         <sld:Rule>
   72           <ogc:Filter>
   73             <ogc:PropertyIsEqualTo>
   74               <ogc:PropertyName>waterway</ogc:PropertyName>
   75               <ogc:Literal>riverbank</ogc:Literal>
   76             </ogc:PropertyIsEqualTo>
   77           </ogc:Filter>
   78           <sld:PolygonSymbolizer>
   79             <sld:Fill>
   80               <sld:CssParameter name="fill">#0000FF</sld:CssParameter>
   81             </sld:Fill>
   82           </sld:PolygonSymbolizer>
   83         </sld:Rule>
   84         <sld:VendorOption name="ruleEvaluation">first</sld:VendorOption>
   85       </sld:FeatureTypeStyle>
   86     </sld:UserStyle>
   87   </sld:NamedLayer>
   88 </sld:StyledLayerDescriptor>
   89