Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3588 closed defect (fixed)

Regression: INDEXQUERY uses MS_QUERY_BY_POINT instead of MS_QUERY_BY_INDEX

Reported by: marksigep Owned by: sdlime
Priority: normal Milestone: 5.6.6 release
Component: MapServer C Library Version: 5.6
Severity: normal Keywords:
Cc:

Description

After moving from 5.4.0 to 5.6.5 I noticed indexquery no longer worked. Reviewing the source, line 1797 of mapserv.c sets the mode to

mapserv->map->query.type = MS_QUERY_BY_POINT;

instead of

mapserv->map->query.type = MS_QUERY_BY_INDEX;

which causes the query to fail.

Attachments (1)

patch.txt (481 bytes ) - added by marksigep 13 years ago.
patch to correct problem

Download all attachments as: .zip

Change History (5)

by marksigep, 13 years ago

Attachment: patch.txt added

patch to correct problem

comment:1 by sdlime, 13 years ago

Status: newassigned

Nuts, sorry about that...

comment:2 by sdlime, 13 years ago

Resolution: fixed
Status: assignedclosed

Just checked and this had already been fixed in trunk and the 5.6 branch. Probably since the 5.6.5 release. Marking as fixed...

Steve

comment:3 by sdlime, 13 years ago

Milestone: 5.6.5 release5.6.6 release

comment:4 by sdlime, 13 years ago

Found the change set (for completeness):

http://trac.osgeo.org/mapserver/changeset/10421

Steve

Note: See TracTickets for help on using tickets.