[OpenLayers-Users] SLD_BODY and FeatureId / GmlObjectId

bartvde at osgis.nl bartvde at osgis.nl
Mon Nov 23 13:57:36 EST 2009


Hi,

this is not really an OpenLayers question, but more a question for the
mailing list of your WMS product.

Best regards,
Bart

> 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.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list