WFS GetFeature using FILTER & BBOX

Van Ulden, Joost jvanulde at NRCAN.GC.CA
Wed Mar 15 21:47:27 EST 2006


Hi all,

For some reason my WFS doesn't want to filter features based on a given
extent.  I have tried the following:

http://localhost/services/mapserv.exe?map=d9c83f0c-a133-4593-8940-2760be
affd6b.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=provinc
e_5_shp&FILTER=<Filter><BBOX><PropertyName>msGeometry</PropertyName><gml
:Box><gml:coordinates>-80.19456,56.959736%20-79.134,57.808184</gml:coord
inates></gml:Box></BBOX></Filter>

AND

http://localhost/services/mapserv.exe?map=d9c83f0c-a133-4593-8940-2760be
affd6b.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=provinc
e_5_shp&BBOX=-80.481795,61.09592,-78.493245,62.68676

In both instances MapServer is returning all features(i.e. ignoring the
BBOX altogether).  I am using v4.8rc2.  Any suggestions would be
helpful.

Cheers,
  
============================================
Joost van Ulden
Programmer/Analyst
Natural Resources Canada / Ressources naturelles Canada Geological
Survey of Canada / Commission geologique du Canada
101 - 605 Robson Street / 101 - 605 rue Robson Vancouver, B.C. /
Vancouver (C.B.) V6B 5J3
Office/Bureau: 604.666.7525
fax/telecopieur: 604.666.1124
jvanulde at nrcan.gc.ca
============================================



More information about the mapserver-users mailing list