Hi list,
i would like to create an sld for lines with an symbol (flag) at the start/endpoint of the line.
So I tried this but it’s rendered the center of the graphic extent at the start/endpoint:
rule1
darkgrey LineA solid blue line with a 2 pixel width
#989050
2
<ogc:Function name=“startPoint”>
ogc:PropertyNameCGEOM</ogc:PropertyName>
</ogc:Function>
image/svg+xml
20
<ogc:Function name=“endPoint”>
ogc:PropertyNameCGEOM</ogc:PropertyName>
</ogc:Function>
image/svg+xml
20
Under the documentation [1] I’ve found the positioning can manipulated by an invisible rectangle with the desired relative position for the symbols. Some searches were not successful
Can someone help?
[1] http://docs.geoserver.org/stable/en/user/styling/sld-extensions/pointsymbols.html
Thanks!
Stephan