I had gone through
https://docs.geoserver.org/stable/en/user/styling/sld/extensions/rendering-transform.html#contour-extraction
Unfortunately below transformation with COUNT and SUM never works. It only
works with MIN and MAX function.
Is there any resolution ? my aim is to get count, by grouping few
attributes and to have colored marker based on count value.
example
- count < 100 red color
- count > 100 and count < 1000 green
- count > 1000
<Transformation>
<ogc:Function name="vec:GroupCandidateSelection">
<ogc:Function name="parameter">
<ogc:Literal>data</ogc:Literal>
</ogc:Function>
<ogc:Function name="parameter">
<ogc:Literal>operationAttribute</ogc:Literal>
<ogc:Literal>st:numericAttribute</ogc:Literal>
</ogc:Function>
<ogc:Function name="parameter">
<ogc:Literal>aggregation</ogc:Literal>
<ogc:Literal>COUNT</ogc:Literal>
</ogc:Function>
<ogc:Function name="parameter">
<ogc:Literal>groupingAttributes</ogc:Literal>
<ogc:Literal>st:inferredAttribute</ogc:Literal>
<ogc:Literal>st:inferredAttribute2</ogc:Literal>
</ogc:Function>
</ogc:Function>
</Transformation>
--
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users