"Fossies" - the Fresh Open Source Software Archive

Member "geotools-22.0/modules/unsupported/css/src/test/resources/css/integration/planet_polygon.sld" (18 Sep 2019, 4236 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:And>
   48               <ogc:PropertyIsNotEqualTo>
   49                 <ogc:PropertyName>waterway</ogc:PropertyName>
   50                 <ogc:Literal>riverbank</ogc:Literal>
   51               </ogc:PropertyIsNotEqualTo>
   52               <ogc:PropertyIsEqualTo>
   53                 <ogc:PropertyName>natural</ogc:PropertyName>
   54                 <ogc:Literal>water</ogc:Literal>
   55               </ogc:PropertyIsEqualTo>
   56             </ogc:And>
   57           </ogc:Filter>
   58           <sld:PolygonSymbolizer>
   59             <sld:Fill>
   60               <sld:CssParameter name="fill">#FF0000</sld:CssParameter>
   61             </sld:Fill>
   62           </sld:PolygonSymbolizer>
   63         </sld:Rule>
   64         <sld:Rule>
   65           <ogc:Filter>
   66             <ogc:And>
   67               <ogc:PropertyIsNotEqualTo>
   68                 <ogc:PropertyName>waterway</ogc:PropertyName>
   69                 <ogc:Literal>riverbank</ogc:Literal>
   70               </ogc:PropertyIsNotEqualTo>
   71               <ogc:PropertyIsEqualTo>
   72                 <ogc:PropertyName>natural</ogc:PropertyName>
   73                 <ogc:Literal>wetland</ogc:Literal>
   74               </ogc:PropertyIsEqualTo>
   75             </ogc:And>
   76           </ogc:Filter>
   77           <sld:PolygonSymbolizer>
   78             <sld:Fill>
   79               <sld:CssParameter name="fill">#00FF00</sld:CssParameter>
   80             </sld:Fill>
   81           </sld:PolygonSymbolizer>
   82         </sld:Rule>
   83         <sld:Rule>
   84           <ogc:Filter>
   85             <ogc:And>
   86               <ogc:PropertyIsEqualTo>
   87                 <ogc:PropertyName>waterway</ogc:PropertyName>
   88                 <ogc:Literal>riverbank</ogc:Literal>
   89               </ogc:PropertyIsEqualTo>
   90               <ogc:PropertyIsNotEqualTo>
   91                 <ogc:PropertyName>natural</ogc:PropertyName>
   92                 <ogc:Literal>water</ogc:Literal>
   93               </ogc:PropertyIsNotEqualTo>
   94               <ogc:PropertyIsNotEqualTo>
   95                 <ogc:PropertyName>natural</ogc:PropertyName>
   96                 <ogc:Literal>wetland</ogc:Literal>
   97               </ogc:PropertyIsNotEqualTo>
   98             </ogc:And>
   99           </ogc:Filter>
  100           <sld:PolygonSymbolizer>
  101             <sld:Fill>
  102               <sld:CssParameter name="fill">#0000FF</sld:CssParameter>
  103             </sld:Fill>
  104           </sld:PolygonSymbolizer>
  105         </sld:Rule>
  106         <sld:VendorOption name="ruleEvaluation">first</sld:VendorOption>
  107       </sld:FeatureTypeStyle>
  108     </sld:UserStyle>
  109   </sld:NamedLayer>
  110 </sld:StyledLayerDescriptor>
  111