[OpenLayers-Users] set extractAttributes to true for WFS layer
myOpenLayersUName
joanne.mcgraw at SYMPATICO.CA
Thu Apr 29 15:11:42 EDT 2010
Thank you, David, for your response. I did have the required configuration
"gml_include_items" "all" in the Layer's metadata object.
As it turns out, the attributes were being downloaded after all; I was
simply looking in the wrong place for them. I finally found them in the
Layer object's Feature array. Each feature contained the necessary geometry
and attributes.
I had a brain f**t yesterday and was thinking that information would be
available through Layer.attributes and Layer.geometry arrays. A good night's
sleep resulted in my remembering that was not the hierarchy of things in the
Layer and that that info was attached to each individual feature in the
Layer.features object.
I'm sorry to have wasted everyone's time. However, I did think I'd add this
note in case someone else had the same mental hiccup I did.
Cheers all!
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/set-extractAttributes-to-true-for-WFS-layer-tp4977018p4981792.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list