Opened 17 years ago
Closed 16 years ago
#2297 closed defect (fixed)
WFS Filter : DWITHIN does not respect the units parameter
Reported by: | assefa | Owned by: | assefa |
---|---|---|---|
Priority: | normal | Milestone: | 5.2 release |
Component: | WFS Server | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | nsavard, szekerest@… |
Description
Reported by Norm
When executing the requeste with a buffer in degre, I get the corrct result. But if I use a buffer in Meter, the results are incorrect
Requete buffer en degre # Verify DWITHIN Result: Sydney # RUN_PARMS: wfs_filter_dwithin.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=popplace&FILTER=<Filter><DWithin><PropertyName>Geometry</PropertyName><gml:Point><gml:coordinates>-60.18,46.10</gml:coordinates></gml:Point><Distance units='dd'>0.05</Distance></DWithin></Filter>" > [RESULT]
Requete buffer en metre # Verify DWITHIN Result: Sydney # RUN_PARMS: wfs_filter_dwithin.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=popplace&FILTER=<Filter><DWithin><PropertyName>Geometry</PropertyName><gml:Point><gml:coordinates>-60.18,46.10</gml:coordinates></gml:Point><Distance units='meter'>1000</Distance></DWithin></Filter>" > [RESULT]
Change History (13)
comment:1 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 16 years ago
Milestone: | 5.0.1 release → 5.2 release |
---|
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Assefa:
I get msautotest errors (after svn up, building) with msautotest against wfs_filter_dwithin_units.xml. See diff at http://devgeo.cciw.ca/ms_tmp/wfs_filter_dwithin_units.diff
comment:5 by , 16 years ago
I can not reproduce this locally. Tom, the diff seems to indicate that the units is not used at all. Norm can you confirm this with latest mapserver svn ?
comment:9 by , 16 years ago
There was memory corruption fixed in r7748.
Tom, Norm please test if possible.
Tamas signaled today a problem with msautotest re this specific test. I am hopeful this fix would eliminate the problem. I will send an e-mail to him to do a test with the fix.
comment:10 by , 16 years ago
Assefa: I just tested this and it works (the only msautotest that is still broken in wfs_filter.map is test wfs_filter_equals_poly.xml).
Feel free to close unless others find issues.
comment:11 by , 16 years ago
Cc: | added |
---|
Thanks Tom,
I have added Tamas in cc on this bug. If his tests passes, I will close the bug.
committed in r 7739
add msauto a test r7740.
Marking as fixed. Please reopen if there is an issue.