[mapserver-users] What does this error message mean?

woodbri at swoodbridge.com woodbri at swoodbridge.com
Wed Sep 25 11:41:49 PDT 2002


Chip,

The generation of my tile indexes is always scripted so I generate 
things in a consistent manner. It is possible that I had a typo, but 
I checked everything a couple of time before I started changing 
things.

Your example is not quite the same as mine, because you used absolute 
paths in your tileindex LOCATION field, and I used relative paths. 
The source does some gymnastics with chdir and paths to open files 
and I suspect that this will get cleaned up when Steve L. cleans up 
this code to get rid of chdir calls as part of the thread-safety 
cleanup.

I use tileindexes in all my mapfiles, so it was a surprise when I ran 
into this problem.

-Steve

On 25 Sep 2002 at 13:15, Hankley, Chip wrote:

> > It seems that in the mapfile a a tileindex must be specified
> > relative to the SHAPEPATH item and may not be specified as an
> > absolute path. And further more all TILEINDEX LOCATION values must
> > be relative to the location of the TILEINDEX location.
> 
> ??? I do this all the time w/ no problem:
> 
> ...
> SHAPEPATH "D:\DATA\"
> ...
> 
> LAYER
>   NAME "HILLSHADE100"
>   MAXSCALE 1000000
>   MINSCALE 500000
>   TYPE RASTER
>   STATUS DEFAULT
>   TILEINDEX "D:\temp\HILLSHADE\HILL100.shp"
>   TILEITEM "Location"
> END
> 
> ...
> 
> And LOCATION is the fullpath to the images.
> 
> Windows, Mapserver.exe (CGI) and PHP MapScript, IIS.
> 
> chip
> 





More information about the MapServer-users mailing list