#1 Mon 03 December 2012 09:20
- supernul
- Participant actif
- Date d'inscription: 31 Jan 2010
- Messages: 104
mapfile pour une couche de points
Bonjour,
j'ai réussi à afficher cette couche via l'emploi d'un SLD mais le possibilité permises actuellement restent en deça de ce que permet un mapfile et dont j'ai besoin. Cependant je ne trouve pas mon erreur dans la mise en forme de mon layer :
Code:
MAP
NAME "bati_a_evacuer"
STATUS ON
SIZE 600 400
EXTENT 800 5965000 130000 6025000
UNITS meters
SHAPEPATH "/var/www/data_carto/bati_evac/"
IMAGECOLOR 255 255 255
TRANSPARENT OFF
PROJECTION
"init=epsg:900913" ##recommended
END
WEB
IMAGEPATH "/var/www/image_tmp/"
IMAGEURL "/image_tmp/"
METADATA
"wms_title" "WMS Bati Demo Server"
"wms_onlineresource" "localhost/cgi-bin/mapserv?map=/var/www/mapfile/bati_wms.map&"
"wms_srs" "epsg:2154"
"wms_format" "image/png"
"wms_enable_request" "*"
END # METADATA
END # WEB
LAYER
NAME "bati"
TYPE POINT
#DATA Export_Output
DATA bati_quartiers
STATUS DEFAULT
OPACITY 100
CLASS
NAME "bati"
STYLE
SYMBOL
TYPE ellipse
X 2
Y 2
END
SIZE 10
COLOR 0 0 255
END
END # CLASS
METADATA
"wms_title" "bati" ##required
END # METADATA
PROJECTION
#"init=epsg:2154"
"init=epsg:27572"
END
END # LAYER
END # MAPmerci par avance.
EDIT : erreur trouvée (code demain)
Dernière modification par supernul (Mon 03 December 2012 18:02)
En ligne


