WFS GetFeature using FILTER & BBOX

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Thu Mar 16 06:25:02 PST 2006


Joost,

  I have tested your filter with local data/coordinates and I do get 
correct values.  I could test it locally if you provide a simple 
map/shape/query repoducing the problem.

Later,

Van Ulden, Joost wrote:
> 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
> ============================================
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the MapServer-users mailing list