[OpenLayers-Users] SLD_BODY and FeatureId / GmlObjectId

Pedro Baracho pedropbaracho at gmail.com
Mon Nov 23 14:31:13 EST 2009


lol

guess what...

besides the OL version (I am using nightly build now), it was missing a #
before the color code.

On Mon, Nov 23, 2009 at 5:09 PM, <bartvde at osgis.nl> wrote:

> 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
> >> >
> >>
> >>
> >>
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091123/c05fa25c/attachment.html


More information about the Users mailing list