Bonjour
postgis 2.1 mapserver 6.4.1
J'affiche correctement une couche LINE extraite de postgis.
Je voudrais ajouter le rendu avec un fichier sld (xml).
Il ne se passe rien.
Voici le mapfile :
MAP
...
CONNECTIONTYPE POSTGIS
CONNECTION "host=toto.eu dbname=orsay user=robert password='...' port=5432"
DATA "the_geom from orsay_polylines"
STATUS DEFAULT
TYPE LINE
METADATA
"wms_title" "Administrativie area"
"wms_sld_body" "AUTO"
"wms_sld_url" "http://nadot.eu/sld/orsay_polylines.sld"
"wms_server_version" "1.1.1"
"wms_name" "wms_name"
"wms_format" "image/png"
END
PROJECTION
"init=epsg:4326"
END
CLASS
NAME "orsay"
STYLE
COLOR 0 127 0
END
END
...
END
Où est mon erreur ?
Merci
postgis 2.1 mapserver 6.4.1
J'affiche correctement une couche LINE extraite de postgis.
Je voudrais ajouter le rendu avec un fichier sld (xml).
Il ne se passe rien.
Voici le mapfile :
MAP
...
CONNECTIONTYPE POSTGIS
CONNECTION "host=toto.eu dbname=orsay user=robert password='...' port=5432"
DATA "the_geom from orsay_polylines"
STATUS DEFAULT
TYPE LINE
METADATA
"wms_title" "Administrativie area"
"wms_sld_body" "AUTO"
"wms_sld_url" "http://nadot.eu/sld/orsay_polylines.sld"
"wms_server_version" "1.1.1"
"wms_name" "wms_name"
"wms_format" "image/png"
END
PROJECTION
"init=epsg:4326"
END
CLASS
NAME "orsay"
STYLE
COLOR 0 127 0
END
END
...
END
Où est mon erreur ?
Merci