mapserver gdaltileindex: Unable to access file

Frank Warmerdam fwarmerdam at GMAIL.COM
Fri Mar 18 12:41:42 PST 2005


On Fri, 18 Mar 2005 12:34:38 -0800, Jon Saints <saintsjd at yahoo.com> wrote:
> I have created a tile index of a set of rasters.  When
> trying to display the layer as a tileindex in
> mapserver I get the error:
>
> msDrawRaster(): Unable to access file.
>
> My tileindex file is one directory above my directory
> full of rasters. The location attribute of my
> tileindex is a relative path to the folder that
> contains my rasters:
> OGRFeature(dcorthoindex):153
>   location (String) = ./outjpg/315000_430628.jpg
>
> Directory permissions are all ok. Should I change the
> "location" to a full path?  Is it best to place the
> tile index in the same folder as the rasters?

Jon,

I would suggest using absolute paths, though I thought this
approach was supposed to work (having paths relative
to the tileindex file).  If you find it is a path issue, and can
prepare a complete test case demonstrating the problem, then
feel free to file a bug report about it.

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    | Geospatial Programmer for Rent



More information about the MapServer-users mailing list