Displaying GRASS]

Jan Hartmann j.l.h.hartmann at UVA.NL
Thu Oct 14 13:12:47 EDT 2004


Richard Greenwood wrote:

  >
> Jan,
>
> I know you have suggested using the full path in the past, but I never
> got it to work. I have always relied upon the .grassrc5 file in
> htdocs. I wonder if there is anything else unique to your
> configuration that allows the full path approach to work for you, but
> not for the rest of us?
>

Hi Rich,

Well, I looked and didn't find a .grassrc5 file in my server
environment. According to the libgrass README the MapServer-GRASS
interface will read information about Location, Mapset and Database from
$DOCUMENT_ROOT/.grassrc5. I would have thought that this was only done
with relative pathnames, as in the standalone GDAL utilities, but
perhaps it also happens with full pathnames. In that case it is a bug.
You could try to remove .grassrc in $DOCUMENT_ROOT, and see if you can
access GRASS rasters with with their full path in MapServer. I have been
doing it for years!

Jan



More information about the mapserver-users mailing list