Hi,

plz, how can i use BBox strategy with a wfs layer défined in a mapfile?
 
i tested this script but it does not work:
 
wfs = new OpenLayers.Layer.Vector("WFS",
     {
          strategies: [
               new OpenLayers.Strategy.BBOX()              
          ],
          protocol: new OpenLayers.Protocol.HTTP({
               url: " http://localhost:81/cgi-bin/mapserv.exe?map=C:/OLWebSite/App_Data/olvbmapfileOracleWFS.map &",
               params: {
                    format: "WFS",
                    service: "WFS",
                    request: "GetFeature",
                    srs: "EPSG:27563",
                    VERSION : "1.0.0",
                    typename : 'EAU_TRONCON'
               },
               format: new OpenLayers.Format.GML()
          })
     },
     {
          extractAttributes:true,
          isBaseLayer:false,
          displayInLayerSwitcher: true                      
     });
 
can any one help me plz?

when i tried to zoom, i had a message error on "node.getElementsByTagNameNS" statement.

Best regards,
Youness ELMEDRAOUI
Les informations figurant sur cet e-mail ont un caractère strictement confidentiel et sont exclusivement adressées au destinataire mentionné ci-dessus.Tout usage, reproduction ou divulgation de cet e-mail est strictement interdit si vous n'en êtes pas le destinataire.Dans ce cas, veuillez nous en avertir immédiatement par la même voie et détruire l'original. Merci
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to