That isn't a valid filter. Looks like another QGIS bug.
Ian
On Thu, 7 May 2015 5:48 pm Ismail, Mark <[email protected]> wrote:
> I have exported a simple sld from qgis – it didn’t work in 2.6.2 so I
> tried 2.7.0
>
> Are they not supported or have I set something up wrong ?
>
>
>
> The error generated is :-
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <!DOCTYPE ServiceExceptionReport SYSTEM "
> http://geodev.knowsley.gov.uk:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd
> ">
>
> <ServiceExceptionReport version="*1.1.1*"><ServiceException>
> java.io.IOException: java.lang.RuntimeException: Parsing failed for Filter:
> java.lang.RuntimeException: Unable to find function Literal
> java.lang.RuntimeException: Parsing failed for Filter:
> java.lang.RuntimeException: Unable to find function Literal Parsing failed
> for Filter: java.lang.RuntimeException: Unable to find function Literal
> Unable to find function Literal </ServiceException></
> ServiceExceptionReport>
>
>
>
> And from the log :-
>
> Caused by: java.lang.RuntimeException: Unable to find function Literal
>
> at
> org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:205)
>
> at
> org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:152)
>
> at
> org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:127)
>
> at
> org.geotools.filter.FilterParsingUtils.lookupExtendedOperator(FilterParsingUtils.java:170)
>
> at
> org.geotools.filter.FilterParsingUtils.parseExtendedOperators(FilterParsingUtils.java:139)
>
> at
> org.geotools.filter.v1_1.FilterTypeBinding.parse(FilterTypeBinding.java:111)
>
> at
> org.geotools.xml.impl.ParseExecutor.visit(ParseExecutor.java:155)
>
> ... 127 more
>
> SLD :-
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="
> http://www.opengis.net/ogc" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance" version="1.1.0" xmlns:xlink="
> http://www.w3.org/1999/xlink" xsi:schemaLocation="
> http://www.opengis.net/sld
> http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" xmlns:se="
> http://www.opengis.net/se">
>
> <NamedLayer>
>
> <se:Name>Advisory_Disabled_Bays</se:Name>
>
> <UserStyle>
>
> <se:Name>Advisory_Disabled_Bays</se:Name>
>
> <se:FeatureTypeStyle>
>
> <se:Rule>
>
> <se:Name>Single symbol</se:Name>
>
> <se:PolygonSymbolizer>
>
> <se:Fill>
>
> <se:SvgParameter name="fill">#ffffff</se:SvgParameter>
>
> </se:Fill>
>
> <se:Stroke>
>
> <se:SvgParameter name="stroke">#728584</se:SvgParameter>
>
> <se:SvgParameter name="stroke-width">0.26</se:SvgParameter>
>
> <se:SvgParameter
> name="stroke-linejoin">bevel</se:SvgParameter>
>
> </se:Stroke>
>
> </se:PolygonSymbolizer>
>
> <se:PolygonSymbolizer>
>
> <se:Fill>
>
> <se:GraphicFill>
>
> <se:Graphic>
>
> <se:Mark>
>
> <se:WellKnownName>horline</se:WellKnownName>
>
> <se:Stroke>
>
> <se:SvgParameter
> name="stroke">#000000</se:SvgParameter>
>
> <se:SvgParameter
> name="stroke-width">0.26</se:SvgParameter>
>
> </se:Stroke>
>
> </se:Mark>
>
> <se:Size>2</se:Size>
>
> <se:Rotation>
>
> <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
>
> <ogc:Literal>45</ogc:Literal>
>
> </ogc:Filter>
>
> </se:Rotation>
>
> <se:Displacement>
>
> <se:DisplacementX>0.850904</se:DisplacementX>
>
> <se:DisplacementY>0.525322</se:DisplacementY>
>
> </se:Displacement>
>
> </se:Graphic>
>
> </se:GraphicFill>
>
> </se:Fill>
>
> </se:PolygonSymbolizer>
>
> <se:PolygonSymbolizer>
>
> <se:Fill>
>
> <se:GraphicFill>
>
> <se:Graphic>
>
> <se:Mark>
>
> <se:WellKnownName>horline</se:WellKnownName>
>
> <se:Stroke>
>
> <se:SvgParameter
> name="stroke">#000000</se:SvgParameter>
>
> <se:SvgParameter
> name="stroke-width">0.26</se:SvgParameter>
>
> </se:Stroke>
>
> </se:Mark>
>
> <se:Size>2</se:Size>
>
> <se:Rotation>
>
> <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
>
> <ogc:Literal>135</ogc:Literal>
>
> </ogc:Filter>
>
> </se:Rotation>
>
> <se:Displacement>
>
> <se:DisplacementX>0</se:DisplacementX>
>
> <se:DisplacementY>0</se:DisplacementY>
>
> </se:Displacement>
>
> </se:Graphic>
>
> </se:GraphicFill>
>
> </se:Fill>
>
> </se:PolygonSymbolizer>
>
> </se:Rule>
>
> </se:FeatureTypeStyle>
>
> </UserStyle>
>
> </NamedLayer>
>
> </StyledLayerDescriptor>
>
>
>
> *Mark Ismail*
> This e-mail and any attachments are confidential. It may contain
> privileged information and is intended for the named recipient(s) only. It
> must not be distributed without consent. If you are not one of the intended
> recipients, please notify the sender immediately and do not disclose,
> distribute, or retain this email or any part of it and do not take any
> action based on it.
>
> Unless expressly stated, opinions in this email are those of the
> individual sender, and not of Knowsley MBC. Legally binding obligations can
> only be created for, or be entered into on behalf of, Knowsley MBC by duly
> authorised officers or representatives.
>
> Knowsley MBC excludes any liability whatsoever for any offence caused, any
> direct or consequential loss arising from the use, or reliance on, this
> e-mail or its contents. We believe but do not warrant that this e-mail and
> any attachments are virus free. You must therefore take full responsibility
> for virus checking and no responsibility is accepted for loss or damage
> arising from viruses or changes made to this message after it was sent.
> Knowsley MBC reserves the right to monitor and/or record all e-mail
> communications through its network in accordance with relevant legislation.
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users