[OpenLayers-Users] Not receiving any features back

Smaran Harihar smaran.harihar at gmail.com
Thu Nov 29 12:43:29 PST 2012


Hi Guys,

I am trying to obtain the feature info back from the WMS layer using the
WFS Protocol,

wfsProtocol = new OpenLayers.Protocol.WFS.fromWMSLayer(layerNode.layer);
                                    wfsProtocol.read({
                                        filter: pfilter,
                                        callback: processSpatialQuery,
                                        scope: new
OpenLayers.Strategy.BBOX()
                                    });

And I am getting the feature back in Response
<http://dpaste.com/839098/>but for some reason, the e.feature is
displaying an empty array. Not sure
what is going wrong here?

The post XML looks like this <http://dpaste.com/839108/>. Any idea what is
wrong?

-- 
Thanks & Regards
Smaran Harihar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121129/c73792fe/attachment.html>


More information about the Users mailing list