Hi, If you use Mapserver 5.6.x, then it's a bug.
WFS Server - GetFeature POST request does not return geometry http://trac.osgeo.org/mapserver/ticket/3235 Arnd -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Blake Crosby Gesendet: Donnerstag, 27. Mai 2010 16:36 An: [email protected] Betreff: [OpenLayers-Users] WFS Not Returning Coordinates 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 _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
