[Mapserver-users] msDrawMap(): Image handling error. Failed to draw layer
Steve Lime
steve.lime at dnr.state.mn.us
Wed Jul 16 14:24:18 PDT 2003
If the mapfile is correct the the problem is in the SHAPEPATH. You look to be missing a leading /.
Steve
Stephen Lime
Data & Applications Manager
Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> "Oliver Gabriel" <oliver.gabriel at fbrd.de> 06/28/03 5:24 PM >>>
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 at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list