<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Prabu Raja</b> <span dir="ltr"><<a href="mailto:prab.raja@gmail.com">prab.raja@gmail.com</a>></span><br><br>
Post your mapfile content, show that we can check what's wrong.<div><div></div><div class="h5"><br>euh <br><br>#<br>#debut du fichier<br>#<br>MAP<br>NAME '28811'<br>SIZE 640 480 <br>UNITS METERS <br>FONTSET './fonts/fonts.txt' <br>
SYMBOLSET './symbols/symbols.txt' <br>EXTENT 4.65883541107178 45.5676007678223 5.06030035018921 45.9033622741699 <br>DEBUG ON <br>CONFIG "MS_ERRORFILE" "/var/www/tmp/ms_error.txt" #definition de la projection de la carte <br>
PROJECTION <br> "init=epsg:4326" <br>END #Projection<br><br> IMAGETYPE "PNG24" <br><br> # Debut de la section OUTPUTFORMAT <br>OUTPUTFORMAT <br> NAME png <br> DRIVER "GD/PNG"<br> MIMETYPE "image/png" <br>
IMAGEMODE PC256<br> EXTENSION 'png' <br> END<br> <br> # debut de la section Web <br> <br>WEB <br> MINSCALEDENOM 1000<br> MAXSCALEDENOM 1550000<br> #Modifier cette ligne selon votre installation <br> IMAGEPATH "/var/www/tmp/"<br>
IMAGEURL "./tmp/" <br>METADATA <br> ows_TITLE "28811"<br>ows_ONLINERESOURCE "<a href="http://192.168.12.60/cgi-bin/mapserv?map=/var/www/mapfile/28811.map">http://192.168.12.60/cgi-bin/mapserv?map=/var/www/mapfile/28811.map</a>" <br>
"ows_SRS" "EPSG:4326 " <br> ows_ABSTRACT "OWS Geomod webservice " <br> ows_ACCESSCONSTRAINTS "None" <br> END #METADATA <br>LOG "./tmp/web.log" <br> END #WEB <br># <br> # debut de Definition de la Couche <br>
# <br>LAYER <br>CONNECTIONTYPE postgis <br> CONNECTION "host=localhost dbname=DBname user=USER password=PWD port=5432"<br>DATA "geometry FROM tablename" <br>NAME "28811" <br>TYPE POINT <br>DUMP TRUE <br>
TRANSPARENCY ALPHA <br> LABELCACHE ON <br> METADATA <br> ows_TITLE "28811"<br> "ows_SRS" "EPSG:4326" <br> "gml_featureid" "gid" ##required <br> "ows_include_items" "nom_stt" <br>
"ows_typename" "28811" <br> END #METADATA <br>LABELITEM nom_stt <br> STATUS ON <br> Class <br> NAME "28811"<br> STYLE <br> SYMBOL 7 <br> SIZE 2<br> OUTLINECOLOR 255 255 255 <br>
COLOR 192 192 192 <br> END #Style<br>LABEL <br> FONT arial <br> TYPE truetype <br> ANTIALIAS true <br> MAXSCALEDENOM 92500 <br></div></div></div>