<se:Rule>
<se:Name>Scientific station</se:Name>
<se:Description>
<se:Title>Scientific station</se:Title>
</se:Description>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>featurecla</ogc:PropertyName>
<ogc:Literal>Scientific station</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
<se:PointSymbolizer>
<se:Graphic>
<se:Mark>
<se:WellKnownName>circle</se:WellKnownName>
<se:Fill>
<se:SvgParameter name="fill">#ffffff</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#000000</se:SvgParameter>
</se:Stroke>
</se:Mark>
<se:Size>1.8</se:Size>
</se:Graphic>
</se:PointSymbolizer>
</se:Rule>
* {
fill: lightgray;
stroke: black;
stroke-width: 2;
}
[PERSONS < 2000000]{
fill: #4DFF4D;
}
[PERSONS >= 2000000] [PERSONS < 4000000]{
fill: #FF4D4D;
}
[PERSONS >= 4000000]{
fill: #4D4DFF;
}
interpolate
instead of many filters <se:Fill>
<se:SvgParameter name="fill">
<ogc:Function name="Interpolate">
<ogc:Mul>
<ogc:Div>
<ogc:PropertyName>gdp_md_est</ogc:PropertyName>
<ogc:PropertyName>pop_est</ogc:PropertyName>
</ogc:Div>
<ogc:Literal>1000000</ogc:Literal>
</ogc:Mul>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>#a63e75</ogc:Literal>
<ogc:Literal>1000</ogc:Literal>
<ogc:Literal>#eaa28a</ogc:Literal>
<ogc:Literal>5000</ogc:Literal>
<ogc:Literal>#f9cd90</ogc:Literal>
<ogc:Literal>10000</ogc:Literal>
<ogc:Literal>#c4ef6d</ogc:Literal>
<ogc:Literal>20000</ogc:Literal>
<ogc:Literal>#56a617</ogc:Literal>
<ogc:Literal>color</ogc:Literal>
</ogc:Function>
</se:SvgParameter>
</se:Fill>
<se:PolygonSymbolizer>
<se:Geometry>
<ogc:Function name="buffer">
<ogc:Function name="Centroid">
<ogc:PropertyName>geom</ogc:PropertyName>
</ogc:Function>
<ogc:Mul>
<ogc:Literal>12.0</ogc:Literal>
<ogc:Div>
<ogc:Function name="pow">
<ogc:PropertyName>pop_est</ogc:PropertyName>
<ogc:Literal>0.5</ogc:Literal>
</ogc:Function>
<!--<ogc:Literal>1000000000</ogc:Literal> sqrt -->
<ogc:Literal>31622</ogc:Literal>
</ogc:Div>
</ogc:Mul>
</ogc:Function>
</se:Geometry>
<sld:VendorOption name="followLine">
true</sld:VendorOption>
LineSymbolizer
!ColorBrewer to the rescue
don't use rainbows unless you want to appear on #cartofail
<VendorOption name="partials">