MAXTEMPLATE and MINTEMPLATE

Daniele Margotti margottid at COMUNE.LUGO.RA.IT
Mon Oct 3 03:41:50 PDT 2005


Hi list,
how can I use MAXTEMPLATE and MINTEMPLATE in a .map file?
 
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:
 
    [Mon Oct 03 12:06:39 2005] [error] [client 127.0.0.1] malformed
header from script. Bad header=<html>: mapserv, referer:
<http://localhost/cgi-bin/mapserv> http://localhost/cgi-bin/mapserv
 
(The same thing happens with MINTEMPLATE).
 
 
In my mapfile I tried to use the same template of the "normal" view:
 
WEB
    ...
    MAXSCALE 150000
    TEMPLATE "template.html"
    MAXTEMPLATE "template.html"
    ...
END

 
Is the template of MAXTEMPLATE structured as the one of TEMPLATE?
Or are they differently structured?
 
 
Thank you,
    Daniele
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051003/5561d011/attachment.htm>


More information about the MapServer-users mailing list