On Tue, Sep 30, 2008 at 12:50:32PM +0200, Jorge de Jesus wrote: > Hi to all > This is probably a newbie question.... > > I have a WFS service that replies with point features (inside the > feature collection) like this: > <gml:featureMember> > <ms:qeberpsceu79rpjiade43099p6 fid="0"> > <ms:msGeometry> > <gml:Point srsName="EPSG:4326"> > <gml:coordinates>5.759029,50.993000</gml:coordinates> > </gml:Point> > </ms:msGeometry> > <ms:cat>0</ms:cat> > <ms:z>1022</ms:z> > </ms:qeberpsceu79rpjiade43099p6> > </gml:featureMember> > > Assuming a normal WFS layer script like this > > test_wfs = new OpenLayers.Layer.WFS( "test_data", > "http://localhost/aci2/ows.php?", > {typename: "qeberpsceu79rpjiade43099p6"}, > { extractAttributes: true, featureClass: > OpenLayers.Feature.WFS}); > map.addLayer(test_wfs);
http://faq.openlayers.org/wfs/im-trying-to-use-wfs-why-wont-my-vector-data-show-up/ > For what I understood from the documentation the features (which I > understand as <ms:cat> and <ms:z>) These are your attributes on your feature, which is ms:qeberpsceu79rpjiade43099p6 . -- Chris Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
