Opened 16 years ago

Closed 14 years ago

Last modified 13 years ago

#2796 closed enhancement (fixed)

raster query on tiled index layers

Reported by: assefa Owned by: warmerdam
Priority: normal Milestone: 6.0 release
Component: GDAL Support Version: unspecified
Severity: normal Keywords: raster query tileindex
Cc: dmorissette

Description (last modified by warmerdam)

Currently mapserver raster query with tileindex assumes that the tileindex file is a shape file. This ends up giving for requests such as GetFeatureInfo errors that look like this msShapefileOpen(): Unable to access file. (f:/msapps/gmap-ms40/htdocs/my_layer_idx

Example of setup:

 LAYER
  NAME bathymetry
  METADATA
    "wms_title" "Elevation/Bathymetry"
  END
  TYPE RASTER
  STATUS DEFAULT
#  TILEINDEX "bath_mapserver.shp"
   TILEINDEX my_layer_idx

LAYER
        NAME "my_layer_idx"
        CONNECTION ppostgis
        ...

Change History (6)

comment:1 by dmorissette, 15 years ago

Cc: dmorissette added
Milestone: 5.6 release

Frank, Assefa, this issue came up at the MapServer BOF at FOSS4G. Are there chances of getting this fixed in 5.6 or would it have to wait until 6.0?

comment:2 by warmerdam, 15 years ago

Description: modified (diff)

This can certainly be implemented, but it seems imprudent to try and wedge it in for 5.6 at this point. There is lots of potential for subtly breaking stuff.

I'm surprised that there was interest in such an esoteric item!

comment:3 by dmorissette, 14 years ago

Milestone: 5.6 release6.0 release

comment:4 by warmerdam, 14 years ago

Keywords: raster query tileindex added
Resolution: fixed
Status: newclosed

Support for non-shapefile tileindexes implemented in trunk (r10080) with tests as well (r10079).

comment:5 by aboudreault, 13 years ago

It seems that this ticket has caused a regression. I'm working on the ticket #3532 and with the changeset r10080, the following request doesn't work anymore: { http://PathToMapserver/mapserv?map=PathToMapfile/bug.map&TIME=2010-09-02T00:00:00Z&SRS=EPSG:4326&STYLES=&LAYERS=terra&TRANSPARENT=true&FORMAT=image/png&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&BBOX=-35,10,-20,40&WIDTH=512&HEIGHT=256&X=300&Y=150&INFO_FORMAT=text/plain&QUERY_LAYERS=terra }

I've also tested a new layer of type raster that points directly to the .tif file rather than using a tileindex and the raster query works as expected. It may be not directly related to this ticket... but somehow... there is a problem doing a raster query on a shapefile tileindex.

comment:6 by aboudreault, 13 years ago

Ok... there is no regression. The request was working before but it shouldn't.. the time parameter was misinterpreted in older version. I guess I was confused between what was the expected result between 5.4.2, 5.6.5 and trunk.

Note: See TracTickets for help on using tickets.