<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yep I tried this already. Nothing :-(<div><br><div><div>On 16. sij. 2014., at 15:30, <a href="mailto:Steve.Toutant@inspq.qc.ca">Steve.Toutant@inspq.qc.ca</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<br><font size="2" face="sans-serif">Anything in mapserver logs?</font>
<br><font size="2" face="sans-serif">add debug 5 in the layer definition
AND in your MAP definition</font>
<br><font size="2" face="sans-serif">steve<br>
</font><p><font size="3" color="#0066ff"><i>Steve Toutant, M. Sc.</i></font><font size="3"><br>
Analyste en géomatique<br>
Secteur environnement<br>
Direction de la santé environnementale et de la toxicologie<br>
Institut national de santé publique du Québec<br>
Tél.: 418 646-6777 poste 30015<br>
Téléc.: 418 644-4593</font><font size="3" color="blue"><u><br>
</u></font><a href="mailto:steve.toutant@inspq.qc.ca"><font size="3" color="blue"><u>steve.toutant@inspq.qc.ca</u></font></a><font size="3" color="blue"><u><br>
</u></font><a href="http://www.inspq.qc.ca/"><font size="3" color="blue"><u>http://www.inspq.qc.ca</u></font></a><font size="3" color="blue"><u><br>
</u></font><a href="http://www.monclimatmasante.qc.ca/"><font size="3" color="blue"><u>http://www.monclimatmasante.qc.ca</u></font></a><font size="3">
</font>
</p><p><font size="3"><i>Pour me rejoindre par courrier</i><br>
Service de l'infrastructure et du réseau<br>
Direction des technologies de l'information<br>
Ministère de la Sécurité Publique<br>
2525 boul. Laurier, 2è étage<br>
Tour Laurentides<br>
Québec, G1V 2L2</font>
<br>
<br>
<br>
<table width="100%">
<tbody><tr valign="top">
<td width="40%"><font size="1" face="sans-serif"><b>Dejan Gambin <<a href="mailto:dejan.gambin@coin.hr">dejan.gambin@coin.hr</a>></b>
</font>
<p><font size="1" face="sans-serif">2014-01-16 09:20</font>
</p></td><td width="59%">
<table width="100%">
<tbody><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">A</font></div>
</td><td><font size="1" face="sans-serif"><a href="mailto:Steve.Toutant@inspq.qc.ca">Steve.Toutant@inspq.qc.ca</a></font>
</td></tr><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">cc</font></div>
</td><td><font size="1" face="sans-serif"><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a></font>
</td></tr><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">Objet</font></div>
</td><td><font size="1" face="sans-serif">Re: RE [mapserver-users] Problem using
WMS GetFeatureInfo in OpenLayers        with
different projections</font></td></tr></tbody></table>
<br>
<table>
<tbody><tr valign="top">
<td>
</td><td></td></tr></tbody></table>
<br></td></tr></tbody></table>
<br>
<br>
<br>
<br>
<br><font size="3">Tried...no luck :-(</font>
<br>
<br><font size="3">Thx anyway</font>
<br>
<br><font size="3">On 16. sij. 2014., at 14:36, </font><a href="mailto:Steve.Toutant@inspq.qc.ca"><font size="3" color="blue"><u>Steve.Toutant@inspq.qc.ca</u></font></a><font size="3">
wrote:</font>
<br>
<br><font size="2" face="sans-serif"><br>
In the metadata tag of your layer try set</font><font size="3"> </font><tt><font size="2"><br>
"wms_srs"   "EPSG:4326 EPSG:900913"</font></tt><font size="3">
</font><font size="2" face="sans-serif"><br>
</font><font size="3"><br>
<br>
<br>
</font>
<table width="100%">
<tbody><tr valign="top">
<td width="39%"><font size="1" face="sans-serif"><b>Dejan Gambin <</b></font><a href="mailto:dejan.gambin@coin.hr"><font size="1" color="blue" face="sans-serif"><b><u>dejan.gambin@coin.hr</u></b></font></a><font size="1" face="sans-serif"><b>>@lists.osgeo.org</b>
<br>
Envoyé par : </font><a href="mailto:mapserver-users-bounces@lists.osgeo.org"><font size="1" color="blue" face="sans-serif"><u>mapserver-users-bounces@lists.osgeo.org</u></font></a>
<p><font size="1" face="sans-serif">2014-01-16 05:03</font><font size="3">
</font>
</p></td><td width="60%">
<br>
<table width="100%">
<tbody><tr valign="top">
<td width="5%">
<div align="right"><font size="1" face="sans-serif">A</font></div>
</td><td width="94%"><a href="mailto:mapserver-users@lists.osgeo.org"><font size="1" color="blue" face="sans-serif"><u>mapserver-users@lists.osgeo.org</u></font></a><font size="3">
</font>
</td></tr><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">cc</font></div>
</td><td>
</td></tr><tr valign="top">
<td>
<div align="right"><font size="1" face="sans-serif">Objet</font></div>
</td><td><font size="1" face="sans-serif">[mapserver-users] Problem using WMS
GetFeatureInfo in OpenLayers        with different
projections</font></td></tr></tbody></table>
<br>
<br>
<table width="100%">
<tbody><tr valign="top">
<td width="50%">
</td><td width="50%"></td></tr></tbody></table>
<br></td></tr></tbody></table>
<br><font size="3"><br>
<br>
<br>
<br>
</font><tt><font size="2"><br>
Hi,<br>
<br>
I am trying to send WMS GetFeatureInfo request using OL WMSGetFeatureInfo
control. My source data is in 4326 and map is displayed in 900913. I have
something like this in mapfile:<br>
<br>
LAYER<br>
 NAME "mylayer"<br>
 TYPE RASTER<br>
 STATUS ON<br>
 PROJECTION<br>
   "init=epsg:4326"<br>
 END      <br>
 METADATA<br>
   "wms_srs"   "EPSG:4326"<br>
   "wms_title"  "whatever"<br>
   "gml_include_items" "value_0"<br>
   "gml_value_0_alias" "Value 0"<br>
   "gml_geometries" "none"<br>
 END<br>
 OPACITY 0<br>
 TILEINDEX "mylayer_index"<br>
 TILEITEM "LOCATION"<br>
 TEMPLATE void<br>
 DUMP true<br>
END<br>
<br>
In OL, I am using something like:<br>
<br>
           var layer = new OpenLayers.Layer.WMS(<br>
               'mylayer',<br>
               'http://my.domain.com/cgi-bin/mywms?',<br>
               {<br>
                   format:'image/png',<br>
                   transparent:true,<br>
                   isBaseLayer:false,<br>
                   layers:'mylayer'<br>
               });<br>
<br>
           control = new OpenLayers.Control.WMSGetFeatureInfo({<br>
               url:  "</font></tt><a href="http://my.domain.com/cgi-bin/mywms?"><tt><font size="2" color="blue"><u>http://my.domain.com/cgi-bin/mywms?</u></font></tt></a><tt><font size="2">",<br>
               layers: [layer],<br>
               hover: false,<br>
               infoFormat: 'gml',<br>
               maxFeatures: 1<br>
           });<br>
<br>
wms_srs in WEB part is "EPSG:900913 EPSG:4326" so it can serve
data in both projections<br>
<br>
The problem is - when I click to get the info I get "Internal server
error" and in apache log I get "Segmentation fault" followed
by "Premature end of script headers: mywms"<br>
<br>
For test, I reprojected my source rasters to 900913, changed PROJECTION
and wms_srs in LAYER to 900913 and then everything works.<br>
<br>
Does anyone know what can be the problem? I am using MapServer 6.0.1 on
debian os.<br>
<br>
Thanks for any help<br>
<br>
regards, dejan<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list</font></tt><tt><font size="2" color="blue"><u><br>
</u></font></tt><a href="mailto:mapserver-users@lists.osgeo.org"><tt><font size="2" color="blue"><u>mapserver-users@lists.osgeo.org</u></font></tt></a><tt><font size="2" color="blue"><u><br>
</u></font></tt><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"><tt><font size="2" color="blue"><u>http://lists.osgeo.org/mailman/listinfo/mapserver-users</u></font></tt></a><font size="3"><br>
<br>
<br>
</font>
<br>
<br>
<br>
<br></p></blockquote></div><br></div></body></html>