#1 Thu 29 November 2012 10:08
- tiolebucheron
- Participant actif
- Lieu: Rouen
- Date d'inscription: 26 Mar 2006
- Messages: 147
Publication WMS d'une couche vecteur WFS via GeoServer
Bonjour
Je rencontre un problème. Je teste la publication d'une couche WFS d'un mapserver.
Voici la config Mapserver de la couche
Code:
LAYER NAME "ggd" STATUS ON TYPE POLYGON DUMP TRUE CONNECTIONTYPE postgis CONNECTION "dbname=websig_NORM user=servcarto" DATA "the_geom from document_gestion_durable USING UNIQUE ogc_fid USING SRID 2154" TEMPLATE "infowms.html" CLASS NAME "PSG" TEMPLATE "ttt" STYLE OUTLINECOLOR 204 204 204 COLOR 0 102 0 END END METADATA "ows_title" "Document de Gestion Durable" "ows_srs" "EPSG:2154" "gml_featureid" "ogc_fid" "gml_include_items" "all" END END
Sous GeoServer, la création de l'entrepôt et la création de la couche se passe sans problème. Lorsque je teste la visualisation de la donnée url .../geoserver/Debug/wms?service=WMS&version=1.1.0&request=GetMap&layers=Debug:ggd&styles=&bbox=-2.5E7,-2.5E7,2.5E7,2.5E7&width=512&height=512&srs=EPSG:2154&format=application/openlayers
J'ai le message suivant:
ServiceExceptionReport version="1.1.1"><ServiceException code="internalError">
Rendering process failed
Could not aquire feature:java.io.IOException: org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 193; Attribute "wfs" bound to namespace "http://www.w3.org/2000/xmlns/" was already specified for element "wfs:FeatureCollection".
org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 193; Attribute "wfs" bound to namespace "http://www.w3.org/2000/xmlns/" was already specified for element "wfs:FeatureCollection".
Attribute "wfs" bound to namespace "http://www.w3.org/2000/xmlns/" was already specified for element "wfs:FeatureCollection".
</ServiceException></ServiceExceptionReport>
Avez-vous déjà rencontré le problème?
Richard L.
Hors ligne