<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br><br>did you tried using info_format=text/plain? <br>I had same problem some weeks ago and I think with that I get info back. <br><br>HTH<br>best regards<br>Sarah<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">Von:</span></b> Tobias Luetticke &lt;Tobias.Luetticke@justice.govt.nz&gt;<br><b><span style="font-weight: bold;">An:</span></b> users@openlayers.org<br><b><span style="font-weight: bold;">Gesendet:</span></b> Dienstag, den 13. April 2010, 6:32:01 Uhr<br><b><span style="font-weight: bold;">Betreff:</span></b> [OpenLayers-Users] WMS GetFeatureInfo not returning
 results<br></font><br>Hi<br><br>I'm trying to get information back by executing a WMS GetFeatureInfo request, but without success. I am using the GeoServer Layer Preview function that in turn uses OpenLayers. <br><br>When I click on a feature on the map eg the following request is sent (copied from Firebug):<br><br><a href="http://localhost:8080/geoserver/wms?REQUEST=GetFeatureInfo&amp;EXCEPTIONS=application%2Fvnd.ogc.se_xml&amp;BBOX=1929381.381188%2C5592303.911446%2C1941522.166813%2C5603614.760554&amp;X=372&amp;Y=170&amp;INFO_FORMAT=text%2Fhtml&amp;QUERY_LAYERS=test%3ATL_STANDARD_PARCEL&amp;FEATURE_COUNT=50&amp;Srs=EPSG%3A2193&amp;Layers=test%3ATL_STANDARD_PARCEL&amp;Styles=&amp;WIDTH=512&amp;HEIGHT=477&amp;format=image%2Fpng"
 target="_blank">http://localhost:8080/geoserver/wms?REQUEST=GetFeatureInfo&amp;EXCEPTIONS=application%2Fvnd.ogc.se_xml&amp;BBOX=1929381.381188%2C5592303.911446%2C1941522.166813%2C5603614.760554&amp;X=372&amp;Y=170&amp;INFO_FORMAT=text%2Fhtml&amp;QUERY_LAYERS=test%3ATL_STANDARD_PARCEL&amp;FEATURE_COUNT=50&amp;Srs=EPSG%3A2193&amp;Layers=test%3ATL_STANDARD_PARCEL&amp;Styles=&amp;WIDTH=512&amp;HEIGHT=477&amp;format=image%2Fpng</a><br><br>The GeoServer logs confirm that it receives the request and accesses the datastore. It also talks about writing to an OutputStream, but since I don't get any feature info back I can't judge whether that's all good or not. Checking Firebug for the response it confirms that HTML is streamed back from GeoServer, just the table that should contain the feature info is missing.<br><br>My configuration is<br>* GeoServer 2.0.1<br>* OpenLayers 2.8<br>* All running locally in my development sandbox<br>* Data coming from a shapefile
 data store<br>* GeoServer layer set to EPSG:2193 as declared SRS with SRS handling to "force declared". <br><br>I have confirmed with ArcGIS Explorer that the shape file contains the information I'm after. When I export data from GeoServer (again Layer preview) as GML the attributes are in there. There doesn't seem to be anything horribly wrong as the borwser/GeoServer roundtrip happens successfully. I guess somewhere I wired things wrongly together such that the request comes back empty.<br><br>Oddly enough, the GeoServer provided layer of US States (that uses shapefiles also) shows the same behaviour. However, on another GeoServer installation that shows the same configuration data comes back and a table showing the feature information is displayed.<br><br>What am I missing? Any ideas much appreciated.<br><br>Cheers<br>Tobias<br><br>====================================================================================<br><br>This e-mail message and
 attachments do not necessarily reflect the views of <br>the New Zealand Ministry of Justice and may contain <br>information that is confidential and may be subject to legal privilege. If you <br>are not the intended recipient, you are hereby notified that you must not use, <br>disseminate, distribute or copy this e-mail message or its attachments. If you <br>received this message in error, please notify the Ministry of Justice <br>by telephone (call collect: 00-64-4-918-8800) or return the <br>original message to us by e-mail, and destroy any copies.<br>Thank you.<br><br>====================================================================================<br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@openlayers.org" href="mailto:Users@openlayers.org">Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users"
 target="_blank">http://openlayers.org/mailman/listinfo/users</a><br></div></div>
</div><br>__________________________________________________<br>Do You Yahoo!?<br>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br>http://mail.yahoo.com </body></html>