[OpenLayers-Users] problem with WFS GetFeature

Andreas Hocevar ahocevar at opengeo.org
Wed Nov 25 02:31:56 EST 2009


Hi,

can you please try the following and report back if it works:

pablo lopez wrote:
>             control = new OpenLayers.Control.GetFeature({
>                 protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layer),

Instead, use

                protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layer, {
                    featurePrefix: "feature"
                }),

That's the only idea I have.

Regards,
Andreas.

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list