"Fossies" - the Fresh Open Source Software Archive

Member "geotools-21.2/modules/unsupported/css/src/test/resources/css/integration/flat_amenities.sld" (26 Jun 2019, 9427 Bytes) of package /linux/misc/geotools-21.2-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:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" 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:PropertyIsEqualTo>
   10               <ogc:PropertyName>type</ogc:PropertyName>
   11               <ogc:Literal>aerodrome</ogc:Literal>
   12             </ogc:PropertyIsEqualTo>
   13           </ogc:Filter>
   14           <sld:MaxScaleDenominator>800000.0</sld:MaxScaleDenominator>
   15           <sld:TextSymbolizer>
   16             <sld:Geometry>
   17               <ogc:Function name="centroid">
   18                 <ogc:PropertyName>geometry</ogc:PropertyName>
   19               </ogc:Function>
   20             </sld:Geometry>
   21             <sld:Label><![CDATA[ ]]></sld:Label>
   22             <sld:Fill/>
   23             <sld:Graphic>
   24               <sld:Mark>
   25                 <sld:WellKnownName>cross</sld:WellKnownName>
   26               </sld:Mark>
   27               <sld:Size>2</sld:Size>
   28             </sld:Graphic>
   29             <sld:Priority>2150</sld:Priority>
   30           </sld:TextSymbolizer>
   31         </sld:Rule>
   32         <sld:Rule>
   33           <ogc:Filter>
   34             <ogc:Or>
   35               <ogc:PropertyIsEqualTo>
   36                 <ogc:PropertyName>type</ogc:PropertyName>
   37                 <ogc:Literal>alpine_hut</ogc:Literal>
   38               </ogc:PropertyIsEqualTo>
   39               <ogc:PropertyIsEqualTo>
   40                 <ogc:PropertyName>type</ogc:PropertyName>
   41                 <ogc:Literal>peak</ogc:Literal>
   42               </ogc:PropertyIsEqualTo>
   43               <ogc:PropertyIsEqualTo>
   44                 <ogc:PropertyName>type</ogc:PropertyName>
   45                 <ogc:Literal>volcano</ogc:Literal>
   46               </ogc:PropertyIsEqualTo>
   47               <ogc:PropertyIsEqualTo>
   48                 <ogc:PropertyName>type</ogc:PropertyName>
   49                 <ogc:Literal>wilderness_hut</ogc:Literal>
   50               </ogc:PropertyIsEqualTo>
   51             </ogc:Or>
   52           </ogc:Filter>
   53           <sld:MaxScaleDenominator>400000.0</sld:MaxScaleDenominator>
   54           <sld:TextSymbolizer>
   55             <sld:Geometry>
   56               <ogc:Function name="centroid">
   57                 <ogc:PropertyName>geometry</ogc:PropertyName>
   58               </ogc:Function>
   59             </sld:Geometry>
   60             <sld:Label><![CDATA[ ]]></sld:Label>
   61             <sld:Fill/>
   62             <sld:Graphic>
   63               <sld:Mark>
   64                 <sld:WellKnownName>cross</sld:WellKnownName>
   65               </sld:Mark>
   66               <sld:Size>2</sld:Size>
   67             </sld:Graphic>
   68             <sld:Priority>2150</sld:Priority>
   69           </sld:TextSymbolizer>
   70         </sld:Rule>
   71         <sld:Rule>
   72           <ogc:Filter>
   73             <ogc:And>
   74               <ogc:PropertyIsNotEqualTo>
   75                 <ogc:PropertyName>type</ogc:PropertyName>
   76                 <ogc:Literal>alcohol</ogc:Literal>
   77               </ogc:PropertyIsNotEqualTo>
   78               <ogc:PropertyIsNotEqualTo>
   79                 <ogc:PropertyName>type</ogc:PropertyName>
   80                 <ogc:Literal>wine</ogc:Literal>
   81               </ogc:PropertyIsNotEqualTo>
   82             </ogc:And>
   83           </ogc:Filter>
   84           <sld:MaxScaleDenominator>3000.0</sld:MaxScaleDenominator>
   85           <sld:TextSymbolizer>
   86             <sld:Geometry>
   87               <ogc:Function name="centroid">
   88                 <ogc:PropertyName>geometry</ogc:PropertyName>
   89               </ogc:Function>
   90             </sld:Geometry>
   91             <sld:Label><![CDATA[ ]]></sld:Label>
   92             <sld:Fill/>
   93             <sld:Graphic>
   94               <sld:Mark>
   95                 <sld:WellKnownName>cross</sld:WellKnownName>
   96               </sld:Mark>
   97               <sld:Size>2</sld:Size>
   98             </sld:Graphic>
   99             <sld:Priority>2150</sld:Priority>
  100           </sld:TextSymbolizer>
  101         </sld:Rule>
  102         <sld:Rule>
  103           <ogc:Filter>
  104             <ogc:And>
  105               <ogc:PropertyIsNotEqualTo>
  106                 <ogc:PropertyName>type</ogc:PropertyName>
  107                 <ogc:Literal>alcohol</ogc:Literal>
  108               </ogc:PropertyIsNotEqualTo>
  109               <ogc:PropertyIsNotEqualTo>
  110                 <ogc:PropertyName>type</ogc:PropertyName>
  111                 <ogc:Literal>art</ogc:Literal>
  112               </ogc:PropertyIsNotEqualTo>
  113               <ogc:PropertyIsNotEqualTo>
  114                 <ogc:PropertyName>type</ogc:PropertyName>
  115                 <ogc:Literal>music</ogc:Literal>
  116               </ogc:PropertyIsNotEqualTo>
  117               <ogc:PropertyIsNotEqualTo>
  118                 <ogc:PropertyName>type</ogc:PropertyName>
  119                 <ogc:Literal>stationery</ogc:Literal>
  120               </ogc:PropertyIsNotEqualTo>
  121             </ogc:And>
  122           </ogc:Filter>
  123           <sld:MinScaleDenominator>3000.0</sld:MinScaleDenominator>
  124           <sld:MaxScaleDenominator>6000.0</sld:MaxScaleDenominator>
  125           <sld:TextSymbolizer>
  126             <sld:Geometry>
  127               <ogc:Function name="centroid">
  128                 <ogc:PropertyName>geometry</ogc:PropertyName>
  129               </ogc:Function>
  130             </sld:Geometry>
  131             <sld:Label><![CDATA[ ]]></sld:Label>
  132             <sld:Fill/>
  133             <sld:Graphic>
  134               <sld:Mark>
  135                 <sld:WellKnownName>cross</sld:WellKnownName>
  136               </sld:Mark>
  137               <sld:Size>2</sld:Size>
  138             </sld:Graphic>
  139             <sld:Priority>2150</sld:Priority>
  140           </sld:TextSymbolizer>
  141         </sld:Rule>
  142         <sld:Rule>
  143           <sld:MinScaleDenominator>6000.0</sld:MinScaleDenominator>
  144           <sld:MaxScaleDenominator>25000.0</sld:MaxScaleDenominator>
  145           <sld:TextSymbolizer>
  146             <sld:Geometry>
  147               <ogc:Function name="centroid">
  148                 <ogc:PropertyName>geometry</ogc:PropertyName>
  149               </ogc:Function>
  150             </sld:Geometry>
  151             <sld:Label><![CDATA[ ]]></sld:Label>
  152             <sld:Fill/>
  153             <sld:Graphic>
  154               <sld:Mark>
  155                 <sld:WellKnownName>cross</sld:WellKnownName>
  156               </sld:Mark>
  157               <sld:Size>2</sld:Size>
  158             </sld:Graphic>
  159             <sld:Priority>2150</sld:Priority>
  160           </sld:TextSymbolizer>
  161         </sld:Rule>
  162         <sld:Rule>
  163           <ogc:Filter>
  164             <ogc:Or>
  165               <ogc:PropertyIsEqualTo>
  166                 <ogc:PropertyName>type</ogc:PropertyName>
  167                 <ogc:Literal>alcohol</ogc:Literal>
  168               </ogc:PropertyIsEqualTo>
  169               <ogc:PropertyIsEqualTo>
  170                 <ogc:PropertyName>type</ogc:PropertyName>
  171                 <ogc:Literal>art</ogc:Literal>
  172               </ogc:PropertyIsEqualTo>
  173               <ogc:PropertyIsEqualTo>
  174                 <ogc:PropertyName>type</ogc:PropertyName>
  175                 <ogc:Literal>music</ogc:Literal>
  176               </ogc:PropertyIsEqualTo>
  177               <ogc:PropertyIsEqualTo>
  178                 <ogc:PropertyName>type</ogc:PropertyName>
  179                 <ogc:Literal>stationery</ogc:Literal>
  180               </ogc:PropertyIsEqualTo>
  181             </ogc:Or>
  182           </ogc:Filter>
  183           <sld:MinScaleDenominator>3000.0</sld:MinScaleDenominator>
  184           <sld:MaxScaleDenominator>6000.0</sld:MaxScaleDenominator>
  185           <sld:TextSymbolizer>
  186             <sld:Geometry>
  187               <ogc:Function name="centroid">
  188                 <ogc:PropertyName>geometry</ogc:PropertyName>
  189               </ogc:Function>
  190             </sld:Geometry>
  191             <sld:Label><![CDATA[ ]]></sld:Label>
  192             <sld:Fill/>
  193             <sld:Graphic>
  194               <sld:Mark>
  195                 <sld:WellKnownName>circle</sld:WellKnownName>
  196                 <sld:Fill>
  197                   <sld:CssParameter name="fill">#ac39ac</sld:CssParameter>
  198                 </sld:Fill>
  199               </sld:Mark>
  200               <sld:Size>4</sld:Size>
  201             </sld:Graphic>
  202             <sld:Priority>2150</sld:Priority>
  203           </sld:TextSymbolizer>
  204         </sld:Rule>
  205         <sld:Rule>
  206           <ogc:Filter>
  207             <ogc:Or>
  208               <ogc:PropertyIsEqualTo>
  209                 <ogc:PropertyName>type</ogc:PropertyName>
  210                 <ogc:Literal>alcohol</ogc:Literal>
  211               </ogc:PropertyIsEqualTo>
  212               <ogc:PropertyIsEqualTo>
  213                 <ogc:PropertyName>type</ogc:PropertyName>
  214                 <ogc:Literal>wine</ogc:Literal>
  215               </ogc:PropertyIsEqualTo>
  216             </ogc:Or>
  217           </ogc:Filter>
  218           <sld:MaxScaleDenominator>3000.0</sld:MaxScaleDenominator>
  219           <sld:TextSymbolizer>
  220             <sld:Geometry>
  221               <ogc:Function name="centroid">
  222                 <ogc:PropertyName>geometry</ogc:PropertyName>
  223               </ogc:Function>
  224             </sld:Geometry>
  225             <sld:Label><![CDATA[ ]]></sld:Label>
  226             <sld:Fill/>
  227             <sld:Graphic>
  228               <sld:Mark>
  229                 <sld:WellKnownName>file://symbols/shop/alcohol.svg</sld:WellKnownName>
  230                 <sld:Fill>
  231                   <sld:CssParameter name="fill">#ac39ac</sld:CssParameter>
  232                 </sld:Fill>
  233               </sld:Mark>
  234               <sld:Size>14</sld:Size>
  235             </sld:Graphic>
  236             <sld:Priority>2150</sld:Priority>
  237           </sld:TextSymbolizer>
  238         </sld:Rule>
  239       </sld:FeatureTypeStyle>
  240     </sld:UserStyle>
  241   </sld:NamedLayer>
  242 </sld:StyledLayerDescriptor>
  243