[Mapserver-users] msDrawMap(): Image handling error. Failed to draw layer

Oliver Gabriel oliver.gabriel@fbrd.de
Sun, 29 Jun 2003 00:24:40 +0200


Hi

I have installed mapserver, but the example doesn´t  work I always get
black screen instead of a map. So i tried the following according to this
example: http://terrasip.gis.umn.edu/projects/tutorial/example1_map.html
I have just adapted the paths.

my mapfile (example1.map):

NAME EX1
EXTENT 74000 4775000 798000 5500000
SIZE 300 300
SHAPEPATH "var/www/maptest/data/"
LAYER
NAME "state_parks"
DATA stprkpy3
STATUS DEFAULT

TYPE POLYGON

CLASS
COLOR 250 175 25

END

END

END


the .shp-file i use is the one from the tutorial. I have access rights to
all files.
This is the error i get after the following query:

http://www.xxx.de/cgi-bin/mapserv?map=/var/www/maptest/example1.map&mode=map

msDrawMap(): Image handling error. Failed to draw layer named 'state_parks'.


I can change the name of the .shp file or the path to it. Or just type in a
path that doesnt exist. Always the same error. As if the mapfile doesn´t
look for the name of the shapefile.

Anyone can help me out?

I also tried to export the debug variables, but there is nothing in my
logfile

Thanx and excuse my poor english

Oli

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users