Bug report #6155
Updated by Andrea Aime about 7 years ago
To reproduced using master:
1. natural earth quickstart dataset
2. qgis "new symbology" styles from under dark (thanks!)
3. Using the 10m_rivers_lake_centerlines_scale_ranks layer
4. export to SLD
Resulting Rules generate with empty LineSymbolizers:
<pre>
<sld:Rule>
<sld:Name>0.000 - 0.200</sld:Name>
<ogc:Filter>
<ogc:And>
<ogc:PropertyIsGreaterThan>
<ogc:PropertyName>StrokeWeig</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
</ogc:PropertyIsGreaterThan>
<ogc:PropertyIsLessThanOrEqualTo>
<ogc:PropertyName>StrokeWeig</ogc:PropertyName>
<ogc:Literal>0.2</ogc:Literal>
</ogc:PropertyIsLessThanOrEqualTo>
</ogc:And>
</ogc:Filter>
<sld:LineSymbolizer>
<sld:Stroke/>
</sld:LineSymbolizer>
</sld:Rule>
</pre>
1. natural earth quickstart dataset
2. qgis "new symbology" styles from under dark (thanks!)
3. Using the 10m_rivers_lake_centerlines_scale_ranks layer
4. export to SLD
Resulting Rules generate with empty LineSymbolizers:
<pre>
<sld:Rule>
<sld:Name>0.000 - 0.200</sld:Name>
<ogc:Filter>
<ogc:And>
<ogc:PropertyIsGreaterThan>
<ogc:PropertyName>StrokeWeig</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
</ogc:PropertyIsGreaterThan>
<ogc:PropertyIsLessThanOrEqualTo>
<ogc:PropertyName>StrokeWeig</ogc:PropertyName>
<ogc:Literal>0.2</ogc:Literal>
</ogc:PropertyIsLessThanOrEqualTo>
</ogc:And>
</ogc:Filter>
<sld:LineSymbolizer>
<sld:Stroke/>
</sld:LineSymbolizer>
</sld:Rule>
</pre>