[Qgis-user] mapserver getfeatureinfo

Martin Schweizer schweizermartin at students.unibe.ch
Thu Mar 10 11:41:59 PST 2011


Hi

I have the following problem: 

I Have a few shape-files, which I provide as WMS through qgis-mapserver and 
represent with OpenLayers on this site: 
http://asmaron.homelinux.net/ol/index.html (attention: slow! :-) ).

Now, when I make a getfeatureinfo-request, i get a html-file with no content.

Example: When i make the following Request:

http://asmaron.homelinux.net/cgi-bin/qgis_mapserv.fcgi?LAYERS=Grenzen
&REASPECT=false&TRANSPARENT=true&FORMAT=image%2Fpng&SERVICE=WMS
&VERSION=1.1.1&REQUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_xml
&SRS=EPSG%3A32632&BBOX=-656.807143%2C19.5%2C3056.807143%2C3580.5&X=411&Y=139
&INFO_FORMAT=text%2Fhtml&QUERY_LAYERS=Grenzen&FEATURE_COUNT=1&WIDTH=730&HEIGHT=700

I get the following response:

<HEAD>
<TITLE> GetFeatureInfo results </TITLE>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
</HEAD>
<BODY>
</BODY>

You can find the qgs here: http://asmaron.homelinux.net/test1.qgs

Does anyone have any idea what I'm doing wrong?

Thanks a lot and with best regards,
Martin

PS: I think it has something to do with the qgis-mapserver or the way I do the 
getfeatureinfo-request. This is the reason i write to the qgis-user-list ;-).



More information about the Qgis-user mailing list