I'm getting this error mesage using the ogc funtion Categorize used to show the font size of a label at diferents scales. I use to reference the example shown at https://docs.geoserver.org/stable/en/user/styling/sld/reference/textsymbolizer.html
the sld style I wrote and shoot the error is this:

            <se:Font>
              <se:SvgParameter name="font-family">Arial</se:SvgParameter>
              <se:SvgParameter name="font-size">
                <ogc:Function name="Categorize">
                   <!-- Value to transform -->
                   <ogc:Function name="env">
<ogc:Literal>wms_scale_denominator</ogc:Literal>
                   </ogc:Function>
                   <ogc:Literal>8</ogc:Literal>
                   <ogc:Literal>20000</ogc:Literal>
                   <ogc:Literal>14</ogc:Literal>
                   <ogc:Literal>5000</ogc:Literal>
                </ogc:Function>
              </se:SvgParameter>
              <se:SvgParameter name="font-weight">bold</se:SvgParameter>
            </se:Font>

What is wrong with the syntax. I'm using Geoserver 2.12.0 on linux Ubuntu 16.4.

Thanks

Martin
_______________________________________________
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to