referencing location field files within shapefile within the same directory of the shapefile
Gregor Mosheh
gregor at HOSTGIS.COM
Thu Apr 26 07:47:18 PDT 2007
> I ran gdaltindex referencing location field within shapefile within the
> same directory of the shapefile
...
> I found mapserver only displays (see layer below)
> when the location field within the shape file has the full path to the
> raster file,
Actually, the location field must be valid *from the mapfile directory*
So I prefer to cd to the mapfile's directory, then do the appropriate
gdaltindex from there, so I know I have the paths right.
If you were in the "data/" subdirectory when you ran it, and it found
"./foo.tif" then from the mapfile's point of view you entered "./foo.tif"
instead of "data/foo.tif" See?
-Gregor
More information about the MapServer-users
mailing list