And, I repeat, I have the images (also with the problematic layers)
correctly saved in the temp dir. Simply the xml output have additional
(mapserver logs ??) lines, sometimes at the beginning, sometimes at the
end of the output stream (so an exception thorws during the xml parsing,
which is after mapserver produced the jpegs; if I would like to make a
dirty patch in this moment, I could simply remove the log lines form the
output template before doing the xml parse).
A question: msDrawMap(): Layer 8 (sma_cob), 0.000s means really that
mapsrver take less than 0.001s to render the layer or has to be
interpreted as an error message?
P.
piero cavalieri ha scritto:
Yes, your output is clean. However also for me the output is clean,
with some layers. For other it's not. I have additional lines like
msDrawMap(): Layer 8 (sma_cob), 0.000s
msDrawMap(): Layer 9 (sma_con), 0.000s
at the end of the file. So I'll try to isolate the prblem (when I'll
have a bit of time).
Thanks
P.
Steve Lime ha scritto:
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 <[EMAIL PROTECTED]> 11/6/2006 1:02:57 PM >>>
Checking into this...
Steve
piero cavalieri <[EMAIL PROTECTED]> 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