From: Frank G. <fg...@us...> - 2012-03-30 12:27:03
|
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 <ja...@co...> > > <Rotation> > > <ogc:Function name="startAngle"> > > <ogc:PropertyName>the_geom</ogc:PropertyName> > > </ogc:Function> > > </Rotation> |