Geographic Information Systems Asked by ConcreteJungle on June 24, 2021
I have a point layer with an attribute field containing decimal values. In Qgis, with the help of data defined overide i have managed to make the size of a point dependent on the value of a field (see picture below).
Now i want to emplement this in Geoserver through SLD: Is there a way to simply "call" the value of an object from a specific attribute field and bypass it to the <se:Size></se:Size> element?
Meaning if the value within a specified attribute field is 70,5 for for a point-object the value of <se:Size></se:Size> will be 70,5.
Thanks,
You can use any expression inside the size tag - in this case you want to use a PropertyName
expression so something like:
<se:Size><ogc:PropertyName>myAttr</ogc:PropertyName></se:Size>
Answered by Ian Turton on June 24, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP