[OpenLayers-Users] SLD_BODY and FeatureId / GmlObjectId

Pedro Baracho pedropbaracho at gmail.com
Mon Nov 23 13:48:51 EST 2009


Does anyone have an example of a SLD using as a Filter the FeatureId or
GmlObjectId option?

I am trying to use it but I don't get any results.

Here is my SLD code:

<StyledLayerDescriptor version="1.0.0">
  <UserLayer>
    <Name>Layer</Name>
    <UserStyle><Name>UserSelection</Name>
        <FeatureTypeStyle>
          <Rule>
            <Filter xmlns:gml="http://www.opengis.net/gml">
                <GmlObjectId gml:id="Layer.ID/>
            </Filter>
            <PolygonSymbolizer><Fill><CssParameter
name="fill">FF0000</CssParameter></Fill></PolygonSymbolizer>
         </Rule>
       </FeatureTypeStyle>
</UserStyle></UserLayer></StyledLayerDescriptor>

Thanks for the help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091123/c41a3e07/attachment.html


More information about the Users mailing list