no output for web template with 4.10 cgi
Steve Lime
Steve.Lime at DNR.STATE.MN.US
Mon Nov 6 11:45:06 PST 2006
I can confirm the template works ok, see:
http://maps.dnr.state.mn.us/cgi-bin/mapserv410?map=/usr/local/www/docs_maps/mapserver_demos/itasca/test.map
I'm not using an HTML legend in this case. Seems like a layer problem
as you noted in follow-up messages.
Steve
>>> Steve Lime <Steve.Lime at DNR.STATE.MN.US> 11/6/2006 1:02:57 PM >>>
Checking into this...
Steve
>>> piero cavalieri <piero.cavalieri at HEIDI.IT> 11/3/2006 11:28:57 AM
>>>
Hi all,
I use cgi 4.10 (tried both from DMSolutions and TWtools) and do a
request like this:
http://localhost/Scripts/mapserv.exe?map=D:/Web/Site/HGis/trentino.map&layer=DTM&layer=ECW&mode=browse
My web template file is an xml file:
<?xml version="1.0" encoding="utf-8" ?>
<map>
<img value="[img]"/>
<mapwidth value="[mapwidth]"/>
<mapheight value="[mapheight]"/>
<scalebar value="[scalebar]"/>
<referenceMap value="[ref]"/>
<imgxy value="[center]"/>
<imgext value="[mapext]"/>
<legend>
<![CDATA[
[legend]
]]>
</legend>
</map>
With 4.6 cgi this worked fine.
Then I had to format/reinstall my WindowsXp and tried 4.10, but with
the
same web application I have the following cgi output:
msDrawMap(): Layer 5 (laghi), 0.079s msDrawMap(): Layer 11 (i_dep_p),
0.078s
instead of the xml file from web template. In temp dir I have all the
images created for the request (map, scalebar ecc.), so cgi
installation
seems to be ok.
I don't try using the old 4.6 (because I don't have it any more).
Anyone
could give an advice please ?
Thanks
Piero
More information about the MapServer-users
mailing list