<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>There might have been a bug in OL 2.11 can you try upgrading to 2.12?</div><div><br></div><div>Something to do with floating point values of X and Y IIRC.</div><div><br></div><div>Bart<br><br>Sent from my iPhone</div><div><br>On Oct 19, 2012, at 6:53 PM, Luis Miguel Royo Perez <<a href="mailto:luis.miguel.royo@gmail.com">luis.miguel.royo@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div class="moz-cite-prefix">On 19/10/12 15:33, Bart van den Eijnden
wrote:<br>
</div>
<blockquote cite="mid:9EA65744-B33D-4E1B-89DE-AB29F4A2253C@opengeo.org" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
What versions of OpenLayers and GeoServer?
<div><br>
</div>
<div>Can you copy paste the request and response?</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Bart</div>
<div><br>
<div>
<span class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">
<div>-- <br>
Bart van den Eijnden<br>
OpenGeo - <a moz-do-not-send="true" href="http://opengeo.org/">http://opengeo.org</a><br>
Expert service straight from the developers.</div>
<div><br>
</div>
</span><br class="Apple-interchange-newline">
</div>
<br>
<div>
<div>On Oct 19, 2012, at 3:31 PM, Luis Miguel Royo Perez <<a moz-do-not-send="true" href="mailto:luis.miguel.royo@gmail.com">luis.miguel.royo@gmail.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div bgcolor="#FFFFFF" text="#000000"> Hi everyone,<br>
<br>
I'm new with OL and I have some troubles and questions. <br>
<br>
<br>
<div align="justify">I can't get info from WMS layers
served with Geoserver (in localhost), i have the same
problem with the default layer in Geoserver, when I try
to pick info, Geoserver says me this <i>"</i><span style="font-size: small; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans:
2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; display: inline !important; float:
none; font-family: Verdana, Geneva, Arial, Helvetica,
sans-serif; ">X and Y incorrectly specified</span> ".
I think both troubles have the same cause, but I can't
find out. Any ideas?</div>
<br>
<br>
In the other hand, i would like pick only one field of the
WMS layer and pass this as object to a PHP select consult.
Can I do this or my imagination is going too far?<br>
<br>
Thanks. <br>
<br>
<p> <br>
</p>
</div>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
The version of openlayers is 2.11, the version of Geoserver is <span id="version">2.1.3.<br>
<br>
I'm asking the info with this:<br>
<i><br>
</i><i>var captInfo = new
OpenLayers.Control.WMSGetFeatureInfo({url:<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/geoserver/SGT/wms">"http://localhost:8080/geoserver/SGT/wms"</a>,layers:[villas],queryVisible:true});<br>
<br>
captInfo.events.register("getfeatureinfo",this,mostrarInfo);<br>
<br>
map.addControl(captInfo);<br>
<br>
function mostrarInfo(evt) {$('pinfo').innerHTML = evt.text;};<br>
<br>
</i>The response is: nothing appears in the div, appears in blank,
no errors in firebug, nothing.<br>
</span>
</div></blockquote></body></html>