[mapserver-users] mapfile correction
Stefan Stern
mail2stern at gmx.net
Mon Sep 2 07:49:52 PDT 2002
Hi all,
I want to display a shapefile, but I don't receive an image output in
mapserver.
The template file turns up in the browser and there are no error
messages in the apache logfile.
Filepath and mapextent are correct too.
Is there an error in my mapfile?:
#####################################
NAME Test
#complete extend
EXTENT 264539.5 191653.5 269773.5 199848.5
SIZE 400 400
SHAPEPATH "data"
WEB
TEMPLATE "28aug.html"
IMAGEPATH "/home/userdirk/public_html/tmp/"
IMAGEURL "/~userdirk/tmp/"
MAXSCALE 50000
MINSCALE 4000
END
SYMBOL # define symbols
NAME "circle"
TYPE ELLIPSE
POINTS 2 2 END
FILLED TRUE
END
LAYER # start of the gps layer object
NAME "gps"
DATA gps
STATUS ON
TYPE POINT
CLASS # gps points class
NAME "Gps"
COLOR 128 255 164
SYMBOL 'circle'
SIZE 6
END # end of gpsp class object
END # GPS Layer End
LAYER # Shaded Relief Raster
NAME "casi"
DATA "raster/valley.tif"
STATUS OFF
TYPE RASTER
#OFFSITE 0
END
END # end of map file
##################################
Thank's and Regards,
Stefan
More information about the MapServer-users
mailing list