mapserver error
Lee Keel
lee_keel at TRIMBLE.COM
Wed Jan 16 11:01:05 PST 2008
You can view the blurring problem at: http://dev.uai.com:28080/public/blur
________________________________
From: Ed McNierney [mailto:ed at topozone.com]
Sent: Wed 1/16/2008 12:13 PM
To: Lee Keel; MAPSERVER-USERS at LISTS.UMN.EDU
Subject: RE: [UMN_MAPSERVER-USERS] mapserver error
Lee -
INTERLACE=ON is not "wrong". Tim is pointing out that if you're viewing an interlaced output image, the first, alternating set of scanlines will be displayed and then your browser will start again at the top of the image, filling in the alternate interlacing lines. This will cause the top of the image to appear complete while the bottom is "blurry". You can see variations on these visual artifacts depending on your browser, and the effect is more pronounced over a slow connection.
But if the image still looks blurry at the bottom even after you're certain the image has been completely loaded, then this is not your problem.
It's hard to diagnose visual problems in text; can you either post the output image or (preferably) a public URL where the image can be viewed?
- Ed
Ed McNierney
Chief Mapmaker
Demand Media / TopoZone.com
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
ed at topozone.com
Phone: +1 (978) 251-4242
Fax: +1 (978) 251-1396
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Lee Keel
Sent: Wednesday, January 16, 2008 1:06 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] mapserver error
Timothy,
Here are the OUTPUTFORMAT options I have in my map file. Do they look correct?
OUTPUTFORMAT
NAME "png"
MIMETYPE "image/png"
DRIVER "GD/PNG"
EXTENSION "png"
IMAGEMODE PC256
TRANSPARENT FALSE
FORMATOPTION "INTERLACE=OFF"
END
OUTPUTFORMAT
NAME "jpg"
MIMETYPE "image/jpeg"
DRIVER "GD/JPEG"
EXTENSION "jpg"
IMAGEMODE RGB
TRANSPARENT FALSE
FORMATOPTION "INTERLACE=OFF"
END
OUTPUTFORMAT
NAME "gif"
MIMETYPE "image/gif"
DRIVER "GD/gif"
EXTENSION "gif"
IMAGEMODE PC256
TRANSPARENT FALSE
FORMATOPTION "INTERLACE=OFF"
END
________________________________
From: UMN MapServer Users List on behalf of Nolte, Tim
Sent: Wed 1/16/2008 11:49 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] mapserver error
One quick thought that I have since you say that a layer image is
blurred on the bottom portion is that you have FORMATOPTION INTERLACE=ON
set. This turns on interlacing and sometimes I see that it takes a few
seconds on my mapserver to fully render the image. If you want to
prevent this blurring turn that setting off in your Mapfile.
----
Timothy J Nolte - tnolte at ilpcs.com
Associate Network Planning Engineer
iPCS Wireless, Inc.
4717 Broadmoor Ave, Suite G
Kentwood, MI 49512
Office: 616-656-5163
PCS: 616-706-2438
Fax: 616-554-6484
Web: www.ipcswirelessinc.com
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Lee Keel
Sent: Wednesday, January 16, 2008 11:38 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] mapserver error
Hello list. I am having a problem and it is beginning to look like
mapserver is behind it somehow. I am using ms4w 2.2.6 to render
postgres data to openlayers. Mapserver is configured to use IIS\CGI
instead of apache. I am actually having 2 problems, but I am not sure
that they are not related. One problem is that sometimes the server
just isn't returning any data for different layers to OpenLayers. I
have talked extensively with the OL guys and have come back to the fact
that if I take the URL that is requesting the information from
mapserver, then I get: "The specified CGI application misbehaved by not
returning a complete set of HTTP headers." The most consistent way I
can reproduce this is to zoom in real close. The second problem I am
having is that when I am getting layer images back, they are blurred on
the bottom portion. It looks like someone took a cloth and just wiped a
whiteboard.
I am about 5 days late on a deadline to have this up and running, so I
am open to try any suggestions that someone may have.
Thanks in advance,
Lee
More information about the MapServer-users
mailing list