[Mapserver-users] Re: More info on strange mapserv - mode=map behavior

Ed McNierney ed at topozone.com
Tue Jul 13 20:09:59 EDT 2004


Mike -

Are you able to reproduce this symptom using more than one client
browser?  Are the images you've been emailing the files produced on disk
by MapServer, or the things viewed in your browser and then emailed?

You're getting some strange behavior, and I'm beginning to wonder if it
might be a hosed-up *browser*.  Can you test this on another browser,
preferably on another machine?  Do you have any ad-blockers, filters, or
other browser-altering substances installed?

If the culprit's not your browser this should at least nail that down.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com
-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Davis
Michael A DPW GIS TECH
Sent: Tuesday, July 13, 2004 6:41 PM
To: Stephen Woodbridge
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] Re: More info on strange mapserv -
mode=map behavior

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
> 
>  
> 





More information about the mapserver-users mailing list