Ticket #3453 (reopened defect)
msQueryByRect does not use tolerance
| Reported by: | bartvde | Owned by: | aboudreault |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 release |
| Component: | MapServer C Library | Version: | 5.4 |
| Severity: | normal | Keywords: | |
| Cc: | sdlime |
Description
I just checked the msQueryByRect() code and it doesn't seem to use tolerance. I think it should so this is a bug. The fix should be relatively simple: expand the search rect by the layers tolerance value and then proceed as normal. If you'd create a ticket and perhaps a test case I'd be happy to fix this ASAP in 5.6 and trunk... Steve -----Original Message----- From: mapserver-dev-bounces@lists.osgeo.org [mailto:mapserver-dev-bounces@lists.osgeo.org] On Behalf Of Bart van den Eijnden Sent: Sunday, May 09, 2010 2:12 PM To: MapServer Dev Mailing List Subject: [mapserver-dev] WFS BBOX on point layers Hi list, when a very small BBOX filter is sent to Mapserver WFS, and the source layer is a point layer, it is very hard to actually select the point, normally no result is given. Does Mapserver use TOLERANCE in this particular case? I can't seem to influence the situation by increasing TOLERANCE. Using MS 5.4. TIA. Best regards, Bart
Change History
Note: See
TracTickets for help on using
tickets.
