Hmm, just copied from the wrong editor, but here we go :
<PointSymbolizer>
<Geometry>
<ogc:Function name="startPoint">
<ogc:PropertyName>the_geom</ogc:PropertyName>
</ogc:Function>
</Geometry>
<Graphic>
<Mark>
<WellKnownName>shape://oarrow</WellKnownName>
<Fill/>
<Stroke>
<CssParameter name="stroke">#000000</CssParameter>
</Stroke>
</Mark>
<Size>20</Size>
<Rotation>
<ogc:Add>
<ogc:Function name="startAngle">
<ogc:PropertyName>the_geom</ogc:PropertyName>
</ogc:Function>
<ogc:Literal>180.0</ogc:Literal>
</ogc:Add>
</Rotation>
</Graphic>
</PointSymbolizer>
Hope that's what you expected ;)
Frank
see also :
http://docs.geotools.org/stable/javadocs/org/opengis/filter/expression/Add.html
2012/3/30 Jakob Lanstorp <[email protected]>
>
> <Rotation>
>
> <ogc:Function name="startAngle">
>
> <ogc:PropertyName>the_geom</ogc:PropertyName>
>
> </ogc:Function>
>
> </Rotation>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users