Ticket #2722 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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

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

Change History

Changed 5 years ago by mgleahy

  • summary changed from Raster layer using tileindex cannot be queried. to Raster layer using tileindex with relative paths cannot be queried.

Changed 5 years ago by pramsey

  • status changed from new to closed
  • resolution set to duplicate

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

Changed 5 years ago by mgleahy

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.

Changed 5 years ago by pramsey

  • status changed from closed to reopened
  • resolution duplicate deleted

Fair enough :)

Changed 5 years ago by pramsey

Changed 5 years ago by pramsey

Let me know if the patch helps.

Changed 5 years ago by mgleahy

That seems to work well. Thanks.

Changed 5 years ago by pramsey

  • status changed from reopened to closed
  • resolution set to fixed

Committed to 5.2 branch at r7990

Committed to trunk at r7991

Changed 5 years ago by pramsey

  • version changed from unspecified to 5.2
  • milestone set to 5.2.1 release
Note: See TracTickets for help on using tickets.