Lee -

OK, here's some hypothesizing, which is about the best we can do from
afar.

Your map request works for certain bounding boxes, but not for others.
It appears to both reliably and repeatedly work on the good bounding
boxes, and reliably and repeatably fail on the bad ones.  The layer is a
PostgreSQL layer, so each map-rendering request produces a database
query to retrieve data.

I have never tried DEBUG logging to see if reports database queries, but
if you have control over the database server you can turn on query
logging in the postgresql.conf file.  As a fallback you can look at the
map bounding box and synthesize the queries by hand, but that is prone
to error.

Something should be different between the query that results in a good
map and the query that results in a bad map.  Do both queries actually
work?  Does the data returned look different in any notable way?  What
happens?

BTW, what does "mapserv -v" from the command line return?

     - Ed 

-----Original Message-----
From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] On
Behalf Of Lee Keel
Sent: Thursday, January 17, 2008 6:24 PM
To: [email protected]
Subject: Re: [UMN_MAPSERVER-USERS] mapserver error

Steve, 
I can't get shp2img to work.  It throws an error for "shared connection
not available".  I have tried this with 2 different bounding boxes (one
that works and one that doesn't) and I get the same results.  Any
suggestions on this?
 
 
This is an IIS only solution.  Their sys admins have something serious
against Apache...  For some reason.  My guess is lack of knowledge.

-LK

________________________________

From: UMN MapServer Users List on behalf of Steve Lime
Sent: Thu 1/17/2008 4:47 PM
To: [email protected]
Subject: Re: [UMN_MAPSERVER-USERS] mapserver error



Shp2img works ok on the mapfile? Does apache work or is this IIS only?

>>> On 1/17/2008 at 3:04 PM, in message
<[EMAIL PROTECTED]
et>,
Lee Keel <[EMAIL PROTECTED]> wrote:
> Anyone else got a thought here?  Or can tell me where to check the
debug
> logs?  I have turned DEBUG 5 in my map file but there is nothing in
the log
> file other than "...... normal execution".
> 
> Thanks in advance,
> LK
>
> ________________________________
>
> From: thomas bonfort [mailto:[EMAIL PROTECTED]
> Sent: Thu 1/17/2008 2:56 AM
> To: Lee Keel
> Cc: [email protected]
> Subject: Re: [UMN_MAPSERVER-USERS] mapserver error
>
>
>
> strange...
> what version of mapserver are you using?
> can you (temporarily) turn off the angle follow of your labels and
> report if you're still having the same output problems
>
> thomas
>
> On Jan 16, 2008 8:03 PM, Lee Keel <[EMAIL PROTECTED]> wrote:
>> sorry, I hit enter before I meant to....
>>
>> You can view the blurring problem at:
<http://dev.uai.com:28080/public/blur>
> http://dev.uai.com:28080/public/blur
> <http://dev.uai.com:28080/public/blur.html> .html
>>
>>
>> ________________________________
>>
>> From: Ed McNierney [mailto:[EMAIL PROTECTED]
>> Sent: Wed 1/16/2008 12:13 PM
>> To: Lee Keel; [email protected]
>> 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
>> [EMAIL PROTECTED]
>> Phone: +1 (978) 251-4242
>> Fax: +1 (978) 251-1396
>>
>> -----Original Message-----
>> From: UMN MapServer Users List [mailto:[EMAIL PROTECTED]
On
> Behalf Of Lee Keel
>> Sent: Wednesday, January 16, 2008 1:06 PM
>> To: [email protected]
>> 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: [email protected]
>> 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 - [EMAIL PROTECTED]
>> 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:[EMAIL PROTECTED]
On
>> Behalf Of Lee Keel
>> Sent: Wednesday, January 16, 2008 11:38 AM
>> To: [email protected]
>> 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
>>

Reply via email to