Can the problem is with the position of the map div?<br><br>I think that is.<br><br><div class="gmail_quote">2009/9/3 Micho Gar <span dir="ltr">&lt;<a href="mailto:michogar@gmail.com">michogar@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Very strange.<br><br>I have been investigating in the OpenLayers code and I have seen that the wms petition for the same point generate two diferent url. For FireFox respond with data and for IExplorer 7 not. The unique diference between both is the bbox. I dont understand anything.<br>




<br>FF: <a href="http://192.168.11.159:8090/geoserver/wms?service=WMS&amp;version=1.1.0&amp;request=GetFeatureInfo&amp;layers=osmius%3Ausuarios_instancias,osmius%3Ausuarios_servicios&amp;query_layers=osmius%3Ausuarios_instancias,osmius%3Ausuarios_servicios&amp;styles=,&amp;bbox=-403214.87876%2C4928941.444487%2C-393278.065085%2C4934387.582751&amp;srs=EPSG%3A900913&amp;feature_count=10&amp;x=520&amp;y=283&amp;height=570&amp;width=1040&amp;info_format=application%2Fvnd.ogc.gml&amp;cql_filter=IDN_USER%3D%27ROOT" target="_blank">http://192.168.11.159:8090/geoserver/wms?service=WMS&amp;version=1.1.0&amp;request=GetFeatureInfo&amp;layers=osmius%3Ausuarios_instancias,osmius%3Ausuarios_servicios&amp;query_layers=osmius%3Ausuarios_instancias,osmius%3Ausuarios_servicios&amp;styles=,&amp;bbox=-403214.87876%2C4928941.444487%2C-393278.065085%2C4934387.582751&amp;srs=EPSG%3A900913&amp;feature_count=10&amp;x=520&amp;y=283&amp;height=570&amp;width=1040&amp;info_format=application%2Fvnd.ogc.gml&amp;cql_filter=IDN_USER%3D&#39;ROOT</a>&#39;<br>




IE: <a href="http://192.168.11.159:8090/geoserver/wms?service=WMS&amp;version=1.1.0&amp;request=GetFeatureInfo&amp;layers=osmius%3Ausuarios_instancias,osmius%3Ausuarios_servicios&amp;query_layers=osmius%3Ausuarios_instancias,osmius%3Ausuarios_servicios&amp;styles=,&amp;bbox=-403195.769503%2C4928941.444487%2C-393297.174342%2C4934387.582751&amp;srs=EPSG%3A900913&amp;feature_count=10&amp;x=504&amp;y=283&amp;height=570&amp;width=1036&amp;info_format=application%2Fvnd.ogc.gml&amp;cql_filter=IDN_USER%3D%27ROOT" target="_blank">http://192.168.11.159:8090/geoserver/wms?service=WMS&amp;version=1.1.0&amp;request=GetFeatureInfo&amp;layers=osmius%3Ausuarios_instancias,osmius%3Ausuarios_servicios&amp;query_layers=osmius%3Ausuarios_instancias,osmius%3Ausuarios_servicios&amp;styles=,&amp;bbox=-403195.769503%2C4928941.444487%2C-393297.174342%2C4934387.582751&amp;srs=EPSG%3A900913&amp;feature_count=10&amp;x=504&amp;y=283&amp;height=570&amp;width=1036&amp;info_format=application%2Fvnd.ogc.gml&amp;cql_filter=IDN_USER%3D&#39;ROOT</a>&#39;<br clear="all">




<br><br><br><br><br><div class="gmail_quote">2009/9/3 Micho Gar <span dir="ltr">&lt;<a href="mailto:michogar@gmail.com" target="_blank">michogar@gmail.com</a>&gt;</span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




Here the control creation and activation in the init<br><br>...<br>    infoControls = {<br>            clickInstance: new OpenLayers.Control.WMSGetFeatureInfo({<br>                url: context + &#39;/geoserver/wms&#39;, <br>





                title: &#39;Identifica las features por click&#39;,<br>                infoFormat: &#39;application/vnd.ogc.gml&#39;,<br>                layers: [Instancias,Servicios],<br>                queryVisible: true,<br>





                vendorParams:{ cql_filter: &quot;IDN_USER=&#39;&quot; + user + &quot;&#39;&quot;}<br>            })<br>    };<br><br>    map.addLayers([Instancias,Servicios,MapnikLayer,OSMLayer]);<br>    <br>    infoControls[&#39;clickInstance&#39;].events.register(&quot;getfeatureinfo&quot;, this, getObject);<br>





    map.addControl(infoControls[&#39;clickInstance&#39;]);<br>    infoControls[&#39;clickInstance&#39;].activate();<br><br>    map.addControl(new OpenLayers.Control.Navigation());<br>    map.addControl(new OpenLayers.Control.PanPanel());<br>





    map.addControl(new OpenLayers.Control.ZoomPanel());<br>    var layerSwitcher = new OpenLayers.Control.LayerSwitcher();<br>    layerSwitcher.activeColor=&#39;#E3F6CE&#39;;<br>    map.addControl(layerSwitcher);<br>    map.addControl(new OpenLayers.Control.Scale);<br>





    map.addControl(new OpenLayers.Control.MousePosition);<br><br>...<br><br>and here the method is execute by control<br><br>function getObject(evt){<br>    /*<br>     * <br>     */<br><br>     g = new OpenLayers.Format.WMSGetFeatureInfo();<br>





     var features = g.read(evt.text);     <br>     if (features.length==0) return;<br>     <br>     if (features.length&gt;1){<br>         if (repeats(features)==false){<br>             alert(msgOverObject);<br>             return;<br>





         }<br>     }<br><br>     var idFeature=features[0].attributes[&#39;IDN_INSTANCE&#39;];<br>     if (idFeature!=null){<br>        xyInfo = evt.xy;<br>        idObject=idFeature;<br>        <br>        var _url = context + &quot;/geoserver/wfs?VERSION=1.1.0&amp;SERVICE=WFS&amp;REQUEST=GetFeature&amp;TYPENAME=instancias_informacion&amp;Filter=&lt;Filter&gt;&lt;PropertyIsEqualTo&gt;&lt;PropertyName&gt;IDN_INSTANCE&lt;/PropertyName&gt;&lt;Literal&gt;&quot; + idFeature + &quot;&lt;/Literal&gt;&lt;/PropertyIsEqualTo&gt;&lt;/Filter&gt;&quot;; <br>





        OpenLayers.loadURL(_url, &quot;&quot;, null, showInstanceInfo, isError);<br>     }else{<br>         var idService=features[0].attributes[&#39;IDN_SERVICE&#39;];<br>         xyInfo= (new OpenLayers.LonLat(features[0].geometry.x,features[0].geometry.y)).transform(proj4326,proj900913);<br>





         idObject=idService;<br>         <br>        var _url = context + &quot;/geoserver/wfs?VERSION=1.1.0&amp;SERVICE=WFS&amp;REQUEST=GetFeature&amp;TYPENAME=usuarios_instancias&amp;Filter=&lt;Filter&gt;&lt;And&gt;&lt;PropertyIsEqualTo&gt;&lt;PropertyName&gt;IDN_SERVICE&lt;/PropertyName&gt;&lt;Literal&gt;&quot; + idService + &quot;&lt;/Literal&gt;&lt;/PropertyIsEqualTo&gt;&lt;PropertyIsEqualTo&gt;&lt;PropertyName&gt;IDN_USER&lt;/PropertyName&gt;&lt;Literal&gt;&quot; + user + &quot;&lt;/Literal&gt;&lt;/PropertyIsEqualTo&gt;&lt;/And&gt;&lt;/Filter&gt;&quot;; <br>





        OpenLayers.loadURL(_url, &quot;&quot;, null, showServiceInstance, isError);<br><br>     }<br><br>}<br><br>the evt param in the getObject method is empty in IE.<br><br><br>Thanks to all.<br><br><br><div class="gmail_quote">





2009/9/2 Eric Lemoine <span dir="ltr">&lt;<a href="mailto:eric.lemoine@camptocamp.com" target="_blank">eric.lemoine@camptocamp.com</a>&gt;</span><div><div></div><div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div>On Wed, Sep 2, 2009 at 7:13 PM, Micho Gar&lt;<a href="mailto:michogar@gmail.com" target="_blank">michogar@gmail.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I have a code to realise a GetFeatureInfo and runs well on Firefox but not<br>
&gt; return any result in IE. Reading the documentation I have not seen nothing<br>
&gt; about this. I think it work the same for both.<br>
&gt;<br>
&gt; Something about this??<br>
<br>
</div>Some code to show the list?<br>
<br>
<br>
--<br>
Eric Lemoine<br>
<br>
Camptocamp France SAS<br>
Savoie Technolac, BP 352<br>
73377 Le Bourget du Lac, Cedex<br>
<br>
Tel : 00 33 4 79 44 44 96<br>
Mail : <a href="mailto:eric.lemoine@camptocamp.com" target="_blank">eric.lemoine@camptocamp.com</a><br>
<a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a><br>
</blockquote></div></div></div><br><br clear="all"><div><div></div><div><br>-- <br># michogar<br># Analista Programador SIG<br># GNU/Linux Counter 462666<br># <a href="http://www.openstreetmap.org/user/michogar" target="_blank">http://www.openstreetmap.org/user/michogar</a><br>





<br>Una visión personal:<br><a href="http://michogar.wordpress.com" target="_blank">http://michogar.wordpress.com</a><br><br>El día a día: <br><a href="http://twitter.com/michogar" target="_blank">http://twitter.com/michogar</a><br>




<br><br><br>
</div></div></blockquote></div></div></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br># michogar<br># Analista Programador SIG<br># GNU/Linux Counter 462666<br># <a href="http://www.openstreetmap.org/user/michogar" target="_blank">http://www.openstreetmap.org/user/michogar</a><br>




<br>Una visión personal:<br><a href="http://michogar.wordpress.com" target="_blank">http://michogar.wordpress.com</a><br><br>El día a día: <br><a href="http://twitter.com/michogar" target="_blank">http://twitter.com/michogar</a><br>



<br><br><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br># michogar<br># Analista Programador SIG<br># GNU/Linux Counter 462666<br># <a href="http://www.openstreetmap.org/user/michogar">http://www.openstreetmap.org/user/michogar</a><br>

<br>Una visión personal:<br><a href="http://michogar.wordpress.com">http://michogar.wordpress.com</a><br><br>El día a día: <br><a href="http://twitter.com/michogar">http://twitter.com/michogar</a><br><br><br><br>