[MAPSERVER-USERS] Problem TEMPLATE to use getfeatureinfo.html

Tellett thomas.ellett at statkart.no
Tue Nov 18 07:05:46 EST 2008


Hi Tio,

The 'ttt' template should exist but it should be blank. Open an empty
document
in notepad or textpad etc and save that empty document as 'ttt.html'. Each
layer
in the mapfile has to reference a template in order for that layer to be
considered 
queryable by mapserver. If you want your getfeatureinfo results to be
presented in 
html format however, you will have to write an html template that fits your
data 
(with header and footer if you want multiple results returned). If all your
layers 
reference the 'ttt' template, the only output formats for getfeatureinfo
results you
can use are text/plain and text/gml. hope that helps a little,

Tom




	
Hello

I try to use the example provided by getfeatureinfo.html Mapfish.org
I joined the mail 3 files:
    map.js configuration layers with getfeaturesinfo
http://www.nomorepasting.com/getpaste.php?pasteid=21979
    websig_norm.map: server configuration wms

I have an error in execution:

Content-type: application / vnd.ogc.se_xml
<? xml version ='1 .0 'encoding = "ISO-8859-1" standalone = "no"? "
<! DOCTYPE ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport Version="1.1.1">
<ServiceException>
msReturnPage (): Unable to access file. ttt.html
</ ServiceException>
</ ServiceExceptionReport>



-- 
View this message in context: http://www.nabble.com/Problem-TEMPLATE-to-use-getfeatureinfo.html-tp20543794p20558306.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list