Dear users,
Anyone of you had experienced problems with SLD filters created for complex
features?
Have this complex feature:
http://klimeto.com/geoserver/ows?service=WFS&version=2.0.0&request=GetFeature&typeName=elu:ExistingLandUseObject&count=1
And this is the SLD code filter fragment:
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>
elu:ExistingLandUseObject/elu:hilucsLandUse/@xlink:href</ogc:PropertyName>
<ogc:Literal>
http://inspire.ec.europa.eu/codelist/HILUCSValue/1_PrimaryProduction
</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
The GeoServer WMS error is:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
ServiceExceptionReport SYSTEM "
http://klimeto.com:80/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1" >
<ServiceException>
The requested Style can not be used with this layer. The style
specifies an attribute of
elu:ExistingLandUseObject/elu:hilucsLandUse/@xlink:href and the layer is:
elu:ExistingLandUseObject
</ServiceException>
</ServiceExceptionReport>
Could anyone give any clue?
Thank you in advance,
Tomas
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users