<br><font size=2 face="sans-serif">Hello,</font>
<br><font size=2 face="sans-serif">Via openlayers I launch an url to mapserver
(v5.2.1) which returns a GML. See the URL and the response below. I put
the layer definition of the mapfile as well.</font>
<br><font size=2 face="sans-serif">I'm not sure if my problem is on mapserver
or on openlayers side. The problem is I can't add the geometry to the openlayers
vector layer for some reasons. As if the geometry was null.</font>
<br><font size=2 face="sans-serif">If someone could confirm that everything
is ok or not on mapserver side would help me.</font>
<br>
<br><font size=2 face="sans-serif">thanks in advance for your help,</font>
<br><font size=2 face="sans-serif">Steve</font>
<br><font size=2 face="sans-serif">*****************************************</font>
<br><font size=2 face="sans-serif">LAYER</font>
<br><font size=2 face="sans-serif"> NAME "national_2006"</font>
<br><font size=2 face="sans-serif"> GROUP "Vulnerabilite"</font>
<br><font size=2 face="sans-serif"> CONNECTIONTYPE postgis</font>
<br><font size=2 face="sans-serif"> CONNECTION "host=10.2.192.247
dbname=geo user=dbaInspq password=!dbaInspq! port=5432"</font>
<br><font size=2 face="sans-serif"> DATA "geom900913 FROM lim_admin.inddef_2006
using unique gid"</font>
<br><font size=2 face="sans-serif"> TYPE POLYGON</font>
<br><font size=2 face="sans-serif"> STATUS off</font>
<br>
<br><font size=2 face="sans-serif">PROJECTION</font>
<br><font size=2 face="sans-serif"> "init=epsg:900913"</font>
<br><font size=2 face="sans-serif">END</font>
<br><font size=2 face="sans-serif">PROCESSING "CLOSE_CONNECTION=DEFER"</font>
<br><font size=2 face="sans-serif"> METADATA</font>
<br><font size=2 face="sans-serif"> "wms_title"
"Indice de défavorisation
national 2006"</font>
<br><font size=2 face="sans-serif"> "wms_group_title"
"Vulnérabilité"</font>
<br><font size=2 face="sans-serif"> 'wms_srs'
'EPSG:4326 EPSG:32198 EPSG:900913'</font>
<br><font size=2 face="sans-serif">"wms_include_items" "all"</font>
<br><font size=2 face="sans-serif"> "gml_include_items"
"ad,quintmat,quintsoc"</font>
<br><font size=2 face="sans-serif"> 'gml_featureid'
'gid'</font>
<br><font size=2 face="sans-serif"> END</font>
<br><font size=2 face="sans-serif">DUMP TRUE</font>
<br><font size=2 face="sans-serif"> TOLERANCE
0</font>
<br><font size=2 face="sans-serif"> TEMPLATE
'../template/query_indiceDef.html'</font>
<br><font size=2 face="sans-serif">HEADER '../template/query_header.html'</font>
<br><font size=2 face="sans-serif">FOOTER '../template/query_footer.html'</font>
<br><font size=2 face="sans-serif"> INCLUDE
"/ms4w/inspq/map/Class_IndiceDefavorisation.map"</font>
<br><font size=2 face="sans-serif">END</font>
<br><font size=2 face="sans-serif">**********************************</font>
<br>
<br><font size=2 face="sans-serif">http://10.2.192.247/cgi-bin/mapserv.exe?map=/ms4w/paccSante/map/paccsante_chaleur.map&&service=WMS&version=1.1.0&request=GetFeatureInfo&layers=national_2006&query_layers=national_2006&styles=&bbox=-8225541.519129%2C5696087.269543%2C-8187017.256881%2C5719324.126138&srs=EPSG%3A900913&feature_count=10&x=425&y=500&height=608&width=1008&info_format=application%2Fvnd.ogc.gml</font>
<br><font size=2 face="sans-serif">***********************************************************************************</font>
<br><font size=2 face="sans-serif">And the response is this:</font>
<br><font size=2 face="sans-serif"><?xml version="1.0" encoding="ISO-8859-1"?></font>
<br>
<br><font size=2 face="sans-serif"><msGMLOutput </font>
<br><font size=2 face="sans-serif"> xmlns:gml="http://www.opengis.net/gml"</font>
<br><font size=2 face="sans-serif"> xmlns:xlink="http://www.w3.org/1999/xlink"</font>
<br><font size=2 face="sans-serif"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></font>
<br><font size=2 face="sans-serif"> <national_2006_layer></font>
<br><font size=2 face="sans-serif">
<national_2006_feature></font>
<br><font size=2 face="sans-serif">
<gml:boundedBy></font>
<br><font size=2 face="sans-serif">
<gml:Box srsName="EPSG:900913"></font>
<br><font size=2 face="sans-serif">
<gml:coordinates>-8212506.502737,5697097.841728
-8204853.558950,5702856.964043</gml:coordinates></font>
<br><font size=2 face="sans-serif">
</gml:Box></font>
<br><font size=2 face="sans-serif">
</gml:boundedBy></font>
<br><font size=2 face="sans-serif">
<ad>24662464</ad></font>
<br><font size=2 face="sans-serif">
<quintmat>1</quintmat></font>
<br><font size=2 face="sans-serif">
<quintsoc>2</quintsoc></font>
<br><font size=2 face="sans-serif">
</national_2006_feature></font>
<br><font size=2 face="sans-serif"> </national_2006_layer></font>
<br><font size=2 face="sans-serif"></msGMLOutput></font>
<br><font size=2 face="sans-serif"><br>
</font><font size=3> </font>
<p>