[Mapserver-users] gdal reading grass-database
Stephan Holl
sholl at gmx.net
Thu Apr 10 09:20:40 PDT 2003
--jX?sBqWM=.6AwHYr
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
At Wed, 9 Apr 2003 14:16:06 -0700 Matt Doggett wrote:
Hello Matt,
> I just got it working myself a couple days ago. I had to put a
> .grassrc5 into the Document_Root location as defined in the httpd.conf
> file (e.g. /usr/local/apache2/htdocs). Also, the LAYER object DATA
> element needs to reference the raster from the cellhd directory (e.g.
> /data/grass/location/mapset/cellhd/mymap).
thanks for your response, but I put the .grassrc5 in $DOCUMENT_ROOT of
apache.
it is readable by www-data, also the grass-location is in its place.
my mapfile looks like this:
LAYER
NAME dem2
TYPE RASTER
STATUS ON
#switch off map at certain min scale (1:1000):
MINSCALE 1000
DATA "/var/www/grassdata/spearfish/PERMANENT/cellhd/elevation.dem"
CLASS
NAME "DEM"
END
END
but mapserver complains about unknown fileformat. ;-((
any other sollutions?
--
Stephan Holl
GnuPG Key-ID: 11946A09
ICQ# 117277975
--jX?sBqWM=.6AwHYr
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+lZnaEg9SKhGUagkRApHQAJ9X/9orl3IR+b2iapXIzValFmiuBQCgjR5X
jdkoy7o/xvhN7zVprwEkuKA=
=B540
-----END PGP SIGNATURE-----
--jX?sBqWM=.6AwHYr--
More information about the MapServer-users
mailing list