[Mapserver-users] Re: More info on strange mapserv - mode=map behavior
Davis Michael A DPW GIS TECH
michael.davis at richardson.army.mil
Tue Jul 13 15:41:20 PDT 2004
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C4692A.8468CC60
Content-Type: text/plain
Right, I am trying to nail down where the error is coming from. If I
generate the image using a "mode=browse" request the image returned in the
web page is perfect. The mangled image occurs only when requesting images
with mode=map.
So, What is Mapserver doing differently during a "map" request?
*It is not writing the map to a file.
*It is outputting a raw image, instead of an html page.
*????????
Mike Davis
GIS Analyst
Fort Richardson, AK
-----Original Message-----
From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com]
Sent: Tuesday, July 13, 2004 2:32 PM
To: Davis Michael A DPW GIS TECH
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] Re: More info on strange mapserv - mode=map
behavior
I can open it in Microsoft Imaging and the it looks like the image is
interlaced, but did not get all of it written to the image file. It has
all of one interlace drawn about only half of the second interlace drawn.
The image hangs PhotoShop.
-Steve W.
Davis Michael A DPW GIS TECH wrote:
>
>
> Pardon my reply to my own post, but I am starting to run out of ideas.
>
> I generated a test image (attached) from a map file containing two
> layers using the command line.
>
> It is viewable in Internet Explorer but all my other image software
> reports an error when opening it. Has anyone had issues with the .dll's
> included with the 4.2 binary? I am pretty confidant they aren't the
> problem, but at this point I am grasping at straws.
>
> Any and all assistance is greatly appreciated, unfortunately this is a
> make-or-break project for Mapserver within the U.S. Army Alaska. If I
> can't resolve my issues, it will be a big the foot-in-the-door for the
> ArcIMS camp.
>
> Mike Davis
> GIS Analyst
> Fort Richardson, AK
>
> >>Thanks to some great assistance from Adam Ryan, of Linn County, I have
> >>been able to narrow down my issues with the mapserv cgi on
> Win2k+IIS. We >>are using the latest 4.2 build.
> >>
> >>Our problem has been occurring when we send a request in "map" mode.
> The >>request will fail with a "CGI Error...CGI application misbehaved"
> error if >>there is more than one layer set to default or requested
> through the URL. >>The request will also fail if there is one layer
> with multiple classes set >>to default.
>
> >>
> >>All of the test .map files will work just fine in "browse" mode.
> >>
> >>I am wondering if anyone in list land has had a similar experience,
> or if >>anyone who uses Win2k+IIS can recommend web server settings to
> check or a >>way to get more debug information out of the mapserv cgi.
> The standard >>log file reports the bad requests as normal execution.
>
> >>
> >>Thanks very much for all your continued help.
> >>
> >>Mike Davis
> >>GIS Analyst
> >>Fort Richardson, AK
>
>
>
------_=_NextPart_001_01C4692A.8468CC60
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Mapserver-users] Re: More info on strange mapserv - =
mode=3Dmap behavior</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Right, I am trying to nail down where the error is =
coming from. If I generate the image using a =
"mode=3Dbrowse" request the image returned in the web page is =
perfect. The mangled image occurs only when requesting images =
with mode=3Dmap.</FONT></P>
<P><FONT SIZE=3D2>So, What is Mapserver doing differently during a =
"map" request?</FONT>
<BR> <FONT SIZE=3D2>*It is =
not writing the map to a file.</FONT>
<BR> <FONT SIZE=3D2>*It is =
outputting a raw image, instead of an html page.</FONT>
<BR> <FONT =
SIZE=3D2>*????????</FONT>
</P>
<P><FONT SIZE=3D2>Mike Davis</FONT>
<BR><FONT SIZE=3D2>GIS Analyst</FONT>
<BR><FONT SIZE=3D2>Fort Richardson, AK</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Stephen Woodbridge [<A =
HREF=3D"mailto:woodbri at swoodbridge.com">mailto:woodbri at swoodbridge.com</=
A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, July 13, 2004 2:32 PM</FONT>
<BR><FONT SIZE=3D2>To: Davis Michael A DPW GIS TECH</FONT>
<BR><FONT SIZE=3D2>Cc: mapserver-users at lists.gis.umn.edu</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [Mapserver-users] Re: More info on =
strange mapserv - mode=3Dmap behavior</FONT>
</P>
<P><FONT SIZE=3D2>I can open it in Microsoft Imaging and the it looks =
like the image is </FONT>
<BR><FONT SIZE=3D2>interlaced, but did not get all of it written to the =
image file. It has </FONT>
<BR><FONT SIZE=3D2>all of one interlace drawn about only half of the =
second interlace drawn.</FONT>
</P>
<P><FONT SIZE=3D2>The image hangs PhotoShop.</FONT>
</P>
<P><FONT SIZE=3D2>-Steve W.</FONT>
</P>
<P><FONT SIZE=3D2>Davis Michael A DPW GIS TECH wrote:</FONT>
</P>
<P><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Pardon my reply to my own post, but I am =
starting to run out of ideas. </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> I generated a test image (attached) from a map =
file containing two </FONT>
<BR><FONT SIZE=3D2>> layers using the command line. </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> It is viewable in Internet Explorer but all my =
other image software </FONT>
<BR><FONT SIZE=3D2>> reports an error when opening it. Has =
anyone had issues with the .dll's </FONT>
<BR><FONT SIZE=3D2>> included with the 4.2 binary? I am pretty =
confidant they aren't the </FONT>
<BR><FONT SIZE=3D2>> problem, but at this point I am grasping at =
straws.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Any and all assistance is greatly appreciated, =
unfortunately this is a </FONT>
<BR><FONT SIZE=3D2>> make-or-break project for Mapserver within the =
U.S. Army Alaska. If I </FONT>
<BR><FONT SIZE=3D2>> can't resolve my issues, it will be a big the =
foot-in-the-door for the </FONT>
<BR><FONT SIZE=3D2>> ArcIMS camp. </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Mike Davis</FONT>
<BR><FONT SIZE=3D2>> GIS Analyst</FONT>
<BR><FONT SIZE=3D2>> Fort Richardson, AK</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> >>Thanks to some great assistance =
from Adam Ryan, of Linn County, I have</FONT>
<BR><FONT SIZE=3D2>> >>been able to narrow down my =
issues with the mapserv cgi on </FONT>
<BR><FONT SIZE=3D2>> Win2k+IIS. We >>are using the =
latest 4.2 build. </FONT>
<BR><FONT SIZE=3D2>> >></FONT>
<BR><FONT SIZE=3D2>> >>Our problem has been occurring =
when we send a request in "map" mode. </FONT>
<BR><FONT SIZE=3D2>> The >>request will fail with a "CGI =
Error...CGI application misbehaved" </FONT>
<BR><FONT SIZE=3D2>> error if >>there is more than one layer =
set to default or requested </FONT>
<BR><FONT SIZE=3D2>> through the URL. >>The request will =
also fail if there is one layer </FONT>
<BR><FONT SIZE=3D2>> with multiple classes set >>to =
default.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> >></FONT>
<BR><FONT SIZE=3D2>> >>All of the test .map files will =
work just fine in "browse" mode.</FONT>
<BR><FONT SIZE=3D2>> >></FONT>
<BR><FONT SIZE=3D2>> >>I am wondering if anyone in list =
land has had a similar experience, </FONT>
<BR><FONT SIZE=3D2>> or if >>anyone who uses Win2k+IIS can =
recommend web server settings to </FONT>
<BR><FONT SIZE=3D2>> check or a >>way to get more debug =
information out of the mapserv cgi. </FONT>
<BR><FONT SIZE=3D2>> The standard >>log file reports the bad =
requests as normal execution.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> >></FONT>
<BR><FONT SIZE=3D2>> >>Thanks very much for all your =
continued help.</FONT>
<BR><FONT SIZE=3D2>> >></FONT>
<BR><FONT SIZE=3D2>> >>Mike Davis</FONT>
<BR><FONT SIZE=3D2>> >>GIS Analyst</FONT>
<BR><FONT SIZE=3D2>> >>Fort Richardson, AK</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C4692A.8468CC60--
More information about the MapServer-users
mailing list