[OpenLayers-Users] How to display WFS layer from MapServer?

Luís de Sousa luis.a.de.sousa at gmail.com
Fri May 17 07:52:50 PDT 2013


Hello again,

Considering these questions with the proxy I decided to set up the layer in
a MapServer instance in the development machine. Here's now the set up:

    buildsWFS = new OpenLayers.Layer.Vector("BuildingsWFS", {
        strategies: [new OpenLayers.Strategy.Fixed()],
        projection: new OpenLayers.Projection("EPSG:28992"),
        protocol: new OpenLayers.Protocol.WFS({
            url:
"http://localhost/cgi-bin/mapserv?map=/var/www/MapFiles/test.map",
            featureType: "buildings_gml",
            featureNS: "http://mapserver.gis.umn.edu/mapserver"
            srsName: "EPSG:28992",
        })
    }); 

But the results are essentially the same, no requests are sent to server and
they layer doesn't show up.

Thank you.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-display-WFS-layer-from-MapServer-tp5053728p5054030.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list