[OpenLayers-Users] Working with Openlayers.Layer.Vector and WFS
Robert Zimmermann
zimmermann at zimrob.de
Sat Jul 17 05:24:25 EDT 2010
Supplement ...
When I use the featureNS like in the bottom. Then I have following XML
Response
"Could not locate {http://domain.com:8080/geoserver/wfs}pcd_exportdata in
catalog."
When I don't use it then I can see all Point- data with all features
-----Ursprüngliche Nachricht-----
Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Robert Zimmermann
Gesendet: Samstag, 17. Juli 2010 11:18
An: 'Eduardo Ramos'; users at openlayers.org
Betreff: Re: [OpenLayers-Users] Working with Openlayers.Layer.Vector and WFS
Hi ...
I have the same problem like Edu.
But I have also a understanding problem. What is a featureNS? Why do I need
it?
My Layerdefinition is this:
//VECTOR LAYER
var wfs = new OpenLayers.Layer.Vector("WFS Vector Layer", {
strategies: [new OpenLayers.Strategy.BBOX()],
protocol: new OpenLayers.Protocol.WFS({
url: "http://domain.com:8080/geoserver/wfs",
featureType: "pcd_exportdata"
featureNS: "http://domain.com:8080/geoserver/wfs"
})
});
map.addLayer(wfs);
when I looking in the XML Response, then i can see all Point- data with all
feature.
Regards,
Robert.
-----Ursprüngliche Nachricht-----
Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Eduardo Ramos
Gesendet: Freitag, 16. Juli 2010 18:23
An: users at openlayers.org
Betreff: Re: [OpenLayers-Users] Working with Openlayers.Layer.Vector and WFS
I'm working with IIS 7
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Working-with-Openlayers-Layer-Vector-
and-WFS-tp5301971p5302694.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
More information about the Users
mailing list