[mapserver-users] where is the line ?
Tonton
to.tonton at gmail.com
Mon Jun 6 02:31:20 PDT 2011
---------- Forwarded message ----------
From: Prabu Raja <prab.raja at gmail.com>
Post your mapfile content, show that we can check what's wrong.
euh
#
#debut du fichier
#
MAP
NAME '28811'
SIZE 640 480
UNITS METERS
FONTSET './fonts/fonts.txt'
SYMBOLSET './symbols/symbols.txt'
EXTENT 4.65883541107178 45.5676007678223 5.06030035018921 45.9033622741699
DEBUG ON
CONFIG "MS_ERRORFILE" "/var/www/tmp/ms_error.txt" #definition de la
projection de la carte
PROJECTION
"init=epsg:4326"
END #Projection
IMAGETYPE "PNG24"
# Debut de la section OUTPUTFORMAT
OUTPUTFORMAT
NAME png
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE PC256
EXTENSION 'png'
END
# debut de la section Web
WEB
MINSCALEDENOM 1000
MAXSCALEDENOM 1550000
#Modifier cette ligne selon votre installation
IMAGEPATH "/var/www/tmp/"
IMAGEURL "./tmp/"
METADATA
ows_TITLE "28811"
ows_ONLINERESOURCE "
http://192.168.12.60/cgi-bin/mapserv?map=/var/www/mapfile/28811.map"
"ows_SRS" "EPSG:4326 "
ows_ABSTRACT "OWS Geomod webservice "
ows_ACCESSCONSTRAINTS "None"
END #METADATA
LOG "./tmp/web.log"
END #WEB
#
# debut de Definition de la Couche
#
LAYER
CONNECTIONTYPE postgis
CONNECTION "host=localhost dbname=DBname user=USER password=PWD port=5432"
DATA "geometry FROM tablename"
NAME "28811"
TYPE POINT
DUMP TRUE
TRANSPARENCY ALPHA
LABELCACHE ON
METADATA
ows_TITLE "28811"
"ows_SRS" "EPSG:4326"
"gml_featureid" "gid" ##required
"ows_include_items" "nom_stt"
"ows_typename" "28811"
END #METADATA
LABELITEM nom_stt
STATUS ON
Class
NAME "28811"
STYLE
SYMBOL 7
SIZE 2
OUTLINECOLOR 255 255 255
COLOR 192 192 192
END #Style
LABEL
FONT arial
TYPE truetype
ANTIALIAS true
MAXSCALEDENOM 92500
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110606/7c1a411d/attachment.htm>
More information about the MapServer-users
mailing list