<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">&nbsp; NAME &quot;national_2006&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; GROUP &quot;Vulnerabilite&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; CONNECTIONTYPE postgis</font>
<br><font size=2 face="sans-serif">&nbsp; CONNECTION &quot;host=10.2.192.247
dbname=geo user=dbaInspq password=!dbaInspq! port=5432&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; DATA &quot;geom900913 FROM lim_admin.inddef_2006
using unique gid&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; TYPE POLYGON</font>
<br><font size=2 face="sans-serif">&nbsp; STATUS off</font>
<br>
<br><font size=2 face="sans-serif">PROJECTION</font>
<br><font size=2 face="sans-serif">&nbsp; &quot;init=epsg:900913&quot;</font>
<br><font size=2 face="sans-serif">END</font>
<br><font size=2 face="sans-serif">PROCESSING &quot;CLOSE_CONNECTION=DEFER&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; METADATA</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &quot;wms_title&quot;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Indice de défavorisation
national 2006&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &quot;wms_group_title&quot;
&nbsp; &nbsp; &nbsp; &quot;Vulnérabilité&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; 'wms_srs' &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; 'EPSG:4326 EPSG:32198 EPSG:900913'</font>
<br><font size=2 face="sans-serif">&quot;wms_include_items&quot; &quot;all&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &quot;gml_include_items&quot;
&quot;ad,quintmat,quintsoc&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 'gml_featureid'
'gid'</font>
<br><font size=2 face="sans-serif">&nbsp; END</font>
<br><font size=2 face="sans-serif">DUMP TRUE</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; TOLERANCE
0</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 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">&nbsp; &nbsp; &nbsp; &nbsp; INCLUDE
&quot;/ms4w/inspq/map/Class_IndiceDefavorisation.map&quot;</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&amp;&amp;service=WMS&amp;version=1.1.0&amp;request=GetFeatureInfo&amp;layers=national_2006&amp;query_layers=national_2006&amp;styles=&amp;bbox=-8225541.519129%2C5696087.269543%2C-8187017.256881%2C5719324.126138&amp;srs=EPSG%3A900913&amp;feature_count=10&amp;x=425&amp;y=500&amp;height=608&amp;width=1008&amp;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">&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;</font>
<br>
<br><font size=2 face="sans-serif">&lt;msGMLOutput </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns:gml=&quot;http://www.opengis.net/gml&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;national_2006_layer&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;national_2006_feature&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;gml:boundedBy&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;gml:Box srsName=&quot;EPSG:900913&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;gml:coordinates&gt;-8212506.502737,5697097.841728
-8204853.558950,5702856.964043&lt;/gml:coordinates&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;/gml:Box&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/gml:boundedBy&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ad&gt;24662464&lt;/ad&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;quintmat&gt;1&lt;/quintmat&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;quintsoc&gt;2&lt;/quintsoc&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;/national_2006_feature&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/national_2006_layer&gt;</font>
<br><font size=2 face="sans-serif">&lt;/msGMLOutput&gt;</font>
<br><font size=2 face="sans-serif"><br>
</font><font size=3> &nbsp;</font>
<p>