Raster tiling not working

Frank Warmerdam warmerdam at POBOX.COM
Mon Nov 6 12:40:34 EST 2006


Chip Taylor wrote:
> I have as series of georeferenced TIF files in the path
> d:/wwwroot/shapefiles/rasters.  Using gdaltindex I produced an index file in
> the same directory as the rasters.  I then created a layer in the mapfile
> like so:
> 
> LAYER
>   NAME "TacomaArea"
>   STATUS default
>   
>  TILEINDEX " d:/wwwroot/shapefiles/rasters/tacoma_index.shp"
>   TILEITEM "Location"
>   TYPE RASTER
> END
> 
> The map serves up fine but the rasters are never displayed.  Any ideas would
> be greatly appreciated.

Chip,

When the location filename in tileindexes is evaluated in mapserver, it
is evaluated relate to the SHAPEPATH or mapfile if the path is relative.
Not, as might be expected, relative to the tileindex.  I suspect this
is your problem.

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 OSGeo, http://osgeo.org



More information about the mapserver-users mailing list