<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Messaggio</TITLE>
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=676453010-03102005>Hi
list,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=676453010-03102005>how can I use
MAXTEMPLATE and MINTEMPLATE in a .map file?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=676453010-03102005></SPAN></FONT><FONT
face=Arial size=2><SPAN class=676453010-03102005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=676453010-03102005>When I set a
MAXTEMPLATE parameter, in WEB section of a mapfile, I get an error when I browse
a map out of max scale factor:</SPAN></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=676453010-03102005></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=676453010-03102005> </SPAN>[Mon Oct 03 12:06:39 2005]
[error] [client 127.0.0.1] malformed header from script. Bad
header=<html>: mapserv, referer: </FONT></FONT><A
href="http://localhost/cgi-bin/mapserv"><FONT face=Arial
size=2>http://localhost/cgi-bin/mapserv</FONT></A></DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial size=2>
<DIV><SPAN class=676453010-03102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial size=2>(The same thing
happens with MINTEMPLATE).</FONT></SPAN></DIV></FONT></SPAN></DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial size=2>In my mapfile I
tried to use the <SPAN class=676453010-03102005><FONT face=Arial
size=2>same template of the "normal" view:</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial
size=2>WEB</FONT></SPAN></DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial
size=2> ...<BR> MAXSCALE
150000<BR> TEMPLATE "template.html"</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2> <SPAN
class=676453010-03102005>MAX</SPAN>TEMPLATE "template.html"</FONT></DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial size=2>
...</FONT></SPAN></DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial
size=2>END<BR></FONT></SPAN></DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial size=2>Is the template of
MAXTEMPLATE structured as the one of TEMPLATE?</FONT></SPAN></DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial size=2>Or are they
differently structured?</FONT></SPAN></DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial size=2>Thank
you,</FONT></SPAN></DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial size=2>
Daniele</FONT></SPAN></DIV>
<DIV><SPAN class=676453010-03102005><FONT face=Arial
size=2> </DIV></FONT></SPAN></BODY></HTML>