[OpenLayers-Users] SLD_BODY and FeatureId / GmlObjectId

bartvde at osgis.nl bartvde at osgis.nl
Mon Nov 23 14:09:15 EST 2009


Which version of OpenLayers are you using?

The WMS POST layer was done after the 2.8 release.

Best regards,
Bart

> In fact, I am having problem trying to replicate this example:
> http://openlayers.org/dev/examples/WMSPost.html
>
> I can't use this OpenLayers.Layer.WMS.Post()... I get an undefined
> reference
> when trying to use that call.
>
> On Mon, Nov 23, 2009 at 4:57 PM, <bartvde at osgis.nl> wrote:
>
>> 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