Hello,We are helping a customer with symbologies. They have a symbology which uses the functions 'endPoint' and 'endAngle' for point symbolizer (triangles) in order to represent lines as arrows. These functions are working as expected on the map, but are ignored in the legend. As a result the legend is a bit confusing. I would expect functions supported in the symbology to be also supported in the legend. Attached is an image of the actual and expected results and the corresponding SLD file.
Is this a known issue, or a feature, or could we consider opening an issue about this?
Thanks in advance Best regards, Cécile -- *camptocamp* INNOVATIVE SOLUTIONS BY OPEN SOURCE EXPERTS *Cécile Vuilleumier * Geospatial developer * * *Camptocamp SA* Leberngasse 21 4600 Olten Switzerland +41 62 544 03 77 www.camptocamp.com <http://www.camptocamp.com>
<?xml version="1.0" encoding="utf-8"?> <StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"> <!--Generated by bridge_style (0.1)--> <NamedLayer> <Name>Fliessrichtungen</Name> <UserStyle> <Title>Fliessrichtungen</Title> <FeatureTypeStyle> <Rule> <Name>nachgewiesen</Name> <ogc:Filter> <ogc:PropertyIsEqualTo> <ogc:PropertyName>nachgew</ogc:PropertyName> <ogc:Literal>1</ogc:Literal> </ogc:PropertyIsEqualTo> </ogc:Filter> <LineSymbolizer> <Stroke> <CssParameter name="stroke">#005ce6</CssParameter> <CssParameter name="stroke-width">1</CssParameter> <CssParameter name="stroke-opacity">1.0</CssParameter> <CssParameter name="stroke-linejoin">round</CssParameter> <CssParameter name="stroke-linecap">butt</CssParameter> </Stroke> <PerpendicularOffset>0.0</PerpendicularOffset> </LineSymbolizer> <PointSymbolizer> <Geometry> <ogc:Function name="endPoint"> <ogc:PropertyName>shape</ogc:PropertyName> </ogc:Function> </Geometry> <Graphic> <Mark> <WellKnownName>ttf://ESRI Dimensioning#0x21</WellKnownName> <Fill> <CssParameter name="fill">#005ce6</CssParameter> <CssParameter name="fill-opacity">1.0</CssParameter> </Fill> <Stroke> <CssParameter name="stroke">#000000</CssParameter> <CssParameter name="stroke-width">0</CssParameter> <CssParameter name="stroke-opacity">1.0</CssParameter> </Stroke> </Mark> <Opacity>1.0</Opacity> <Size>10</Size> <Rotation> <ogc:Add> <ogc:Function name="endAngle"> <ogc:PropertyName>shape</ogc:PropertyName> </ogc:Function> <ogc:Literal>180</ogc:Literal> </ogc:Add> </Rotation> </Graphic> </PointSymbolizer> </Rule> <Rule> <Name>vermutet</Name> <ogc:Filter> <ogc:PropertyIsEqualTo> <ogc:PropertyName>nachgew</ogc:PropertyName> <ogc:Literal>0</ogc:Literal> </ogc:PropertyIsEqualTo> </ogc:Filter> <LineSymbolizer> <Stroke> <CssParameter name="stroke">#005ce6</CssParameter> <CssParameter name="stroke-width">1</CssParameter> <CssParameter name="stroke-opacity">1.0</CssParameter> <CssParameter name="stroke-linejoin">round</CssParameter> <CssParameter name="stroke-linecap">butt</CssParameter> <CssParameter name="stroke-dasharray">4 4</CssParameter> </Stroke> <PerpendicularOffset>0.0</PerpendicularOffset> </LineSymbolizer> <PointSymbolizer> <Geometry> <ogc:Function name="endPoint"> <ogc:PropertyName>shape</ogc:PropertyName> </ogc:Function> </Geometry> <Graphic> <Mark> <WellKnownName>ttf://ESRI Dimensioning#0x21</WellKnownName> <Fill> <CssParameter name="fill">#005ce6</CssParameter> <CssParameter name="fill-opacity">1.0</CssParameter> </Fill> <Stroke> <CssParameter name="stroke">#000000</CssParameter> <CssParameter name="stroke-width">0</CssParameter> <CssParameter name="stroke-opacity">1.0</CssParameter> </Stroke> </Mark> <Opacity>1.0</Opacity> <Size>10</Size> <Rotation> <ogc:Add> <ogc:Function name="endAngle"> <ogc:PropertyName>shape</ogc:PropertyName> </ogc:Function> <ogc:Literal>180</ogc:Literal> </ogc:Add> </Rotation> </Graphic> </PointSymbolizer> </Rule> </FeatureTypeStyle> </UserStyle> </NamedLayer> </StyledLayerDescriptor>
_______________________________________________ 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users