these represent a map of output values and thresholds for the categorize
function
see:
https://docs.geoserver.org/latest/en/user/styling/sld/tipstricks/transformation-func.html#categorize
On 07-04-2020 21:53, George Jones wrote:
Hi all, I have a question about the lot dimensions code in the below
whitespace( its only about whats underneath the wms_scale_denominator
and have only included the code above and below it as reference). The
only question I have is about the values : “400” ,” 3m”,”800”, “4m” and
what they mean.
<sld:Font>
<sld:CssParameter name="font-family">Overpass</sld:CssParameter>
<CssParameter 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>2.5m</ogc:Literal>
<ogc:Literal>400</ogc:Literal>
<ogc:Litera>3m</ogc:Literal>
<ogc:Literal>800</ogc:Literal>
<ogc:Literal>4m</ogc:Literal>
<ogc:Literal>1600</ogc:Literal>
<ogc:Literal>5m</ogc:Literal>
</ogc:Function>
</CssParameter>
<sld:CssParameter
name="font-style">normal</sld:CssParameter>
<sld:CssParameter
name="font-weight">normal</sld:CssParameter>
</sld:Font>
<sld:LabelPlacement>
<sld:PointPlacement>
<sld:AnchorPoint>
<sld:AnchorPointX>0.5</sld:AnchorPointX>
<sld:AnchorPointY>0.5</sld:AnchorPointY>
</sld:AnchorPoint>
<sld:Displacement>
<sld:DisplacementX>0</sld:DisplacementX>
<sld:DisplacementY>-2</sld:DisplacementY>
</sld:Displacement>
<sld:Rotation>
<ogc:Add>
<ogc:PropertyName>angle</ogc:PropertyName>
<ogc:Literal>-90</ogc:Literal>
</ogc:Add>
</sld:Rotation>
</sld:PointPlacement>
</sld:LabelPlacement>
Thanks!
*George Jones*
/GIS Technician, City of Aberdeen,South Dakota/
------------------------------------------------------------------------
AVG logo <https://www.avg.com/internet-security>
This email has been checked for viruses by AVG antivirus software.
www.avg.com <https://www.avg.com/internet-security>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________
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
_______________________________________________
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