GetFeatureInfo-Request

Till Adams adams at TERRESTRIS.DE
Mon Oct 2 09:03:50 EDT 2006


Dear Karin,

so what is the error ?

Till ;-)

Karin Kampitsch schrieb:

>Dear List,
>
>I have problems with implementing the GetFeatureInfo Request.
>I would like to have information of a castle (=Schloss)
>
>The Request is:
>
>http://localhost/cgi-bin/mapserv.exe?map=maps/wk_wms.map&&VERSION=1.3.0&REQUEST=GetFeatureInfo&SERVICE=WMS&QUERY_LAYERS=Schloss&LAYERS=Schloss&x=485756.84&y=330575.04 
>
>
>In the Mapfile the layer "schloss" looks like this:
>
>LAYER
>	NAME "Schloss"
>	GROUP "Sehenswuerdigkeiten"
>	STATUS ON
>	DATA "schlk"
>	TYPE POINT
>	TEMPLATE "template_schloss.html"
>	FOOTER "footer_schloss.html"
>	HEADER "header_schloss.html"
>	
>	
>	PROJECTION
>		"init=epsg:23033"
>	END
>	
>	CLASS
>	 SYMBOL "bild_schloss"
>	END
>       
>END
>
>The content of the template TEMPLATE is:
>
><tr>
><td>[namedb]</td>
><td>[namegraphik]</td>
><td>[beschreibung]</td>
><td>[adresse]</td>
><td>[telefon]</td>
><td>[url]</td>
></tr>
>
>
>The content of the template HEADER is:
>
><font size+1>
><b></b>
></font>
><p>
><table cellpadding=5 cellspacing=2 border=0>
><tr bgcolor=#CCCCCC></td>
>	<th>Name in der Datenbank</th>
>	<th>Name in der Graphikk</th>
>	<th>Beschreibung</th>
>	<th>Adresse</th>
>	<th>Telefon</th>
>	<th>Url</th>
></tr>
>
>The content of the template FOOTER is:
>
></table><p>
>
>
>So I do not know, if the contents of the templates are correct, or maybe there is something wrong in the request.
>
>So,please could you help me?
>
>Yours,
>
>karin
>
>
>
>  
>

-- 
*****************************************
*     www.webmapcenter.de - Hosting	*
*       GDIdevL 'Start GDI from CD'      		*
*         http://www.terrestris.de          	*
*****************************************

------------------------------------------

Dipl. Geogr. Till Adams
terrestris, H. Paulsen& T. Adams GbR
Siemensstr. 8 * 53121 Bonn
Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57
info at terrestris.de * http://www.terrestris.de



More information about the mapserver-users mailing list