Hi

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. 

When I click on a feature on the map eg the following request is sent (copied 
from Firebug):

http://localhost:8080/geoserver/wms?REQUEST=GetFeatureInfo&EXCEPTIONS=application%2Fvnd.ogc.se_xml&BBOX=1929381.381188%2C5592303.911446%2C1941522.166813%2C5603614.760554&X=372&Y=170&INFO_FORMAT=text%2Fhtml&QUERY_LAYERS=test%3ATL_STANDARD_PARCEL&FEATURE_COUNT=50&Srs=EPSG%3A2193&Layers=test%3ATL_STANDARD_PARCEL&Styles=&WIDTH=512&HEIGHT=477&format=image%2Fpng

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.

My configuration is
* GeoServer 2.0.1
* OpenLayers 2.8
* All running locally in my development sandbox
* Data coming from a shapefile data store
* GeoServer layer set to EPSG:2193 as declared SRS with SRS handling to "force 
declared". 

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.

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.

What am I missing? Any ideas much appreciated.

Cheers
Tobias

====================================================================================

This e-mail message and attachments do not necessarily reflect the views of 
the New Zealand Ministry of Justice and may contain 
information that is confidential and may be subject to legal privilege. If you 
are not the intended recipient, you are hereby notified that you must not use, 
disseminate, distribute or copy this e-mail message or its attachments. If you 
received this message in error, please notify the Ministry of Justice 
by telephone (call collect: 00-64-4-918-8800) or return the 
original message to us by e-mail, and destroy any copies.
Thank you.

====================================================================================
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to