Ticket #2308 (reopened enhancement)
WFS spatial filter "equals" with a BBOX in lat/long returned null
| Reported by: | nsavard | Owned by: | assefa |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 release |
| Component: | WFS Server | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When I issue a GetFeature?? request with an "equals" spatial filter and a bbox in lat/long the server returns null. I tested with 5.0-rc2 on Linux. There are two tests with "equals" filter.
The feature returned which is bounded by a polygon should be "Quebec, Iles de la Madeleine (AREA: 4833029.500)" and the one located at a specific coordinate should be Cheticamp. See msautotest (wfs_filter_equals_poly.xml and wfs_filter_equals.xml). The two requests are respectively:
QUERY_STRING="map=[MAPFILE]&SERVICE=WFS&VERSION=1.0.0& REQUEST=GetFeature?&TYPENAME=province&FILTER=<Filter><Equals> <PropertyName?>Geometry</PropertyName><gml:Polygon> <gml:outerBoundaryIs><gml:LinearRing> <gml:coordinates>-61.748897101358892 47.258393824294707,-61.75096395282408 47.275550067023246,-61.730321527607451 47.282116089229753,-61.719829698475976 47.269592918433993,-61.732190995311512 47.25507337571689,-61.748897101358892 47.258393824294707</gml:coordinates></gml:LinearRing> </gml:outerBoundaryIs></gml:Polygon></Equals></Filter>"
and:
QUERY_STRING="map=[MAPFILE]&SERVICE=WFS&VERSION=1.0.0& REQUEST=GetFeature?&TYPENAME=popplace&FILTER=<Filter><Equals> <PropertyName?>Geometry</PropertyName><gml:Point> <gml:coordinates>-60.214963466386187,46.123322047124134 </gml:coordinates></gml:Point></Equals></Filter>"
