Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#2722 closed defect (fixed)

Raster layer using tileindex with relative paths cannot be queried.

Reported by: mgleahy Owned by: sdlime
Priority: normal Milestone: 5.2.1 release
Component: MapServer C Library Version: 5.2
Severity: normal Keywords:
Cc:

Description

I have a raster layer that uses a tileindex that specifies image locations relative to the tileindex's location. The layer will draw fine, but queries on the layer return no results (at least when I'm using PHP/MapScript). The same mapfile layer, php code, and image data will work fine if I use a tileindex with absolute filenames. My post on the users mailing shows an example of the layer definition in the mapfile, and my php code executing the point query: http://lists.osgeo.org/pipermail/mapserver-users/2008-July/056937.html

It's not a show-stopper, but it's nice to be able to have the tileindex portable along with the image data.

Attachments (1)

rasterquery.patch (1.4 KB ) - added by pramsey 16 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by mgleahy, 16 years ago

Summary: Raster layer using tileindex cannot be queried.Raster layer using tileindex with relative paths cannot be queried.

comment:2 by pramsey, 16 years ago

Resolution: duplicate
Status: newclosed

Looks the same as #2369, which was fixed for 5.2 release.

comment:3 by mgleahy, 16 years ago

I was using 5.2 when I encountered this, and #2369 makes no mention of any problems with the query tool. As I said, the layer would draw fine, but I couldn't get query results. As soon as I made the paths absolute, the query results started to work.

comment:4 by pramsey, 16 years ago

Resolution: duplicate
Status: closedreopened

Fair enough :)

by pramsey, 16 years ago

Attachment: rasterquery.patch added

comment:5 by pramsey, 16 years ago

Let me know if the patch helps.

comment:6 by mgleahy, 16 years ago

That seems to work well. Thanks.

comment:7 by pramsey, 15 years ago

Resolution: fixed
Status: reopenedclosed

Committed to 5.2 branch at r7990

Committed to trunk at r7991

comment:8 by pramsey, 15 years ago

Milestone: 5.2.1 release
Version: unspecified5.2
Note: See TracTickets for help on using tickets.