[OpenLayers-Users] WFS Not Returning Coordinates

Blake Crosby me at blakecrosby.com
Thu May 27 10:35:49 EDT 2010


Hello,

I'm using WFS Protocol on a vector layer (as per the example) to plot 
data on the map from a wfs server:

	var geographic = new OpenLayers.Projection("EPSG:4326");
              var layer = new OpenLayers.Layer.Vector("WFS", {
                 strategies: [new OpenLayers.Strategy.BBOX()],
                 protocol: new OpenLayers.Protocol.WFS({
                 url:  "http://mapserver.worldflightplanner.com/radar/",
                 featureType: "flightrules",
		featureNS: "http://mapserver.gis.umn.edu/mapserver",	
		featurePrefix: "ms",
		version: "1.1.0",
		geometryName: "location",
		srsName: "EPSG:4326",
		extractAttribute: true
         	}),projection: geographic
            });

This works fine, however, the returned GML from the WFS does not contain 
any coordinates, just the metadata. Is this something wrong with my 
Mapserver configuration, or my OL call?

You can see the request, and the returned data here:

http://pastebin.org/284683

Thanks,
Blake



More information about the Users mailing list