Raster Data Access documentation

Frank Warmerdam warmerdam at POBOX.COM
Thu Apr 20 21:47:30 EDT 2006


Ed McNierney wrote:
> Denis -
> 
> No, it cannot - it needs to be stored in a shapefile.  The shapefile
> holds both the list of the raster file names and the geographic bounding
> box for each raster file.  That's the "index" part - the shapefile
> allows MapServer to use it as an index to quickly determine which raster
> images in the layer may be needed for the current map-drawing request.
> Raster files that couldn't possibly be needed are ignored.

Denis writes:
> Does somebody know why the Raster Data Access documentation says in
> the third sentence
> 
> http://mapserver.gis.umn.edu/docs/howto/raster_data/#rasters-and-tile-in
> dexing
> The list of files forming a layer can be stored in a shapefile
> 
> Can the file be store to something else than a shapefile?

Ed / Denis,

I believe the tileindex for rasters can be in a shapefile (directly
reference) or in any other supported datastore when referencing another
layer as the tileindex.  I think there was some recent discussion of
folks using a Postgis layer for this for instance.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org



More information about the mapserver-users mailing list