[Mapserver-users] GRASS raster
Ling-Yen Liao
lyl209 at nyu.edu
Fri Oct 17 00:17:34 PDT 2003
Hello,
I'm trying to use Mapserver to display grass raster files.
1. I put .grassrc5 file under /var/www/html
2. Here is my map file
NAME GRASS
STATUS ON
SIZE 950 700
SYMBOLSET /var/www/html/grsmap/map-script/marker.sym
# W S E N
EXTENT 590000 4914000 609000 4928000
#GRASS raster map directly from location (8bit only):
LAYER
NAME soils
TYPE RASTER
STATUS on
data "/data/grassdata/spearfish/PERMANENT/cellhd/soils"
END # Layer
end
The weird thing is, when I open my browser with
http://localhost/cgi-bin/mapserv36?map=/var/www/html/grsmap/map-script/soils.map&mode=map
The title will be mapserv36(PNG Image, 950x700 pixels), and no error messages (I checked /var/log/httpd/error_log). But! The content of the browser is BLANK. It looks like a white map in it...
I really don't know what happened, can anyone tell me?
I use redhat 9, GRASS 5.0.3, Mapserver 3.6.
(BTW, I found that if I change the status to default then the result will become "Server error! Error 500" and I don't know why.)
Best,
LY
More information about the MapServer-users
mailing list