<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Re: [UMN_MAPSERVER-USERS] mapserver error</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:576525122;
        mso-list-type:hybrid;
        mso-list-template-ids:1183634630 -999028556 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:29.25pt;
        text-indent:-.25in;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Lee &#8211;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks; that&#8217;s helpful.&nbsp; But I&#8217;d like to reduce the number of
variables here.&nbsp; Are you saying that any request that contains the layer &#8220;main&#8221;
will fail?&nbsp; Or will a request for that layer work sometimes and fail
sometimes?&nbsp; I got the impression it was the latter and was scale-dependent (or
seemed to be).&nbsp; If that&#8217;s the case, can you provide a LAYERS=main URL that does
work, and one that does not?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoListParagraph style='margin-left:29.25pt;text-indent:-.25in;
mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Ed<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Lee Keel
[mailto:lee_keel@trimble.com] <br>
<b>Sent:</b> Wednesday, January 16, 2008 2:14 PM<br>
<b>To:</b> Ed McNierney; MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b>Subject:</b> RE: [UMN_MAPSERVER-USERS] mapserver error<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div id=idOWAReplyText62883>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Sorry, I didn't get this email until I sent the last one.&nbsp; I
know everyone must think I am total moron...&nbsp; Sorry!</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I
absolutely agree that I am on quick sand!!!&nbsp; But even worse, I am
desperately trying to figure out how the ground turned into quick sand.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Here
are 2 urls at the exact same zoom level.&nbsp; You will not be able to connect
to these urls because they are not exposed to the internet.&nbsp; This is
strictly an intranet site.&nbsp; Below are the corresponding layers from the
mapfile as well.&nbsp; Thanks again for all this help.&nbsp; Sorry I am such a
novice on this.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>This
one works:</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><a
href="http://webserver/cgi-bin/mapserv.exe?map=/mapserver/panamacity/gas.map&amp;LAYERS=centerlines&amp;TRANSPARENT=true&amp;FORMAT=image%2Fgif&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A2238&amp;BBOX=1599333.552523125,442498.63191875,1600908.786898125,443255.9561375&amp;WIDTH=1144&amp;HEIGHT=550"><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://webserver/cgi-bin/mapserv.exe?map=/mapserver/panamacity/gas.map&amp;LAYERS=centerlines&amp;TRANSPARENT=true&amp;FORMAT=image%2Fgif&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A2238&amp;BBOX=1599333.552523125,442498.63191875,1600908.786898125,443255.9561375&amp;WIDTH=1144&amp;HEIGHT=550</span></a><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>This
one returns error:</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><a
href="http://webserver/cgi-bin/mapserv.exe?map=/mapserver/panamacity/gas.map&amp;LAYERS=main&amp;TRANSPARENT=true&amp;FORMAT=image%2Fgif&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A2238&amp;BBOX=1599333.552523125,442498.63191875,1600908.786898125,443255.9561375&amp;WIDTH=1144&amp;HEIGHT=550"><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://webserver/cgi-bin/mapserv.exe?map=/mapserver/panamacity/gas.map&amp;LAYERS=main&amp;TRANSPARENT=true&amp;FORMAT=image%2Fgif&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application%2Fvnd.ogc.se_inimage&amp;SRS=EPSG%3A2238&amp;BBOX=1599333.552523125,442498.63191875,1600908.786898125,443255.9561375&amp;WIDTH=1144&amp;HEIGHT=550</span></a><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Here is the
layer for the working URL:<br>
&nbsp;<span style='color:red'>LAYER<br>
&nbsp;&nbsp;NAME &quot;centerlines&quot;<br>
&nbsp;&nbsp;STATUS ON<br>
&nbsp;&nbsp;CONNECTIONTYPE postgis<br>
&nbsp;&nbsp;CONNECTION &quot;user=mapreader dbname=panamacity20
host=pgs-1giswebdb&quot; <br>
&nbsp;&nbsp;DATA &quot;the_geom from vcenterlines&quot;<br>
&nbsp;&nbsp;PROCESSING &quot;CLOSE_CONNECTION=DEFER&quot;<br>
&nbsp;&nbsp;METADATA<br>
&nbsp;&nbsp;&nbsp;&quot;wms_group_title&quot; &quot;centerlines&quot;<br>
&nbsp;&nbsp;END<br>
&nbsp;&nbsp;PROJECTION<br>
&nbsp;&nbsp;&nbsp;&quot;init=epsg:2238&quot;<br>
&nbsp;&nbsp;END<br>
&nbsp;&nbsp;TYPE Line<br>
&nbsp;&nbsp;CLASS<br>
&nbsp;&nbsp;&nbsp;MAXSCALE 20000<br>
&nbsp;&nbsp;&nbsp;TEXT ([st_name])<br>
&nbsp;&nbsp;&nbsp;STYLE <br>
&nbsp;&nbsp;&nbsp;&nbsp;SYMBOL &quot;circle&quot; <br>
&nbsp;&nbsp;&nbsp;&nbsp;SIZE 3<br>
&nbsp;&nbsp;&nbsp;&nbsp;COLOR 0 0 0<br>
&nbsp;&nbsp;&nbsp;END <br>
&nbsp;&nbsp;&nbsp;STYLE<br>
&nbsp;&nbsp;&nbsp;&nbsp;SYMBOL &quot;circle&quot; <br>
&nbsp;&nbsp;&nbsp;&nbsp;SIZE 1<br>
&nbsp;&nbsp;&nbsp;&nbsp;COLOR 255 255 255<br>
&nbsp;&nbsp;&nbsp;END<br>
&nbsp;&nbsp;&nbsp;LABEL<br>
&nbsp;&nbsp;&nbsp;&nbsp;COLOR 0 0 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;OUTLINECOLOR 255 255 255<br>
&nbsp;&nbsp;&nbsp;&nbsp;TYPE TRUETYPE<br>
&nbsp;&nbsp;&nbsp;&nbsp;ANGLE FOLLOW<br>
&nbsp;&nbsp;&nbsp;&nbsp;FONT arial<br>
&nbsp;&nbsp;&nbsp;&nbsp;SIZE 7<br>
&nbsp;&nbsp;&nbsp;&nbsp;#ANTIALIAS TRUE<br>
&nbsp;&nbsp;&nbsp;&nbsp;POSITION CC<br>
&nbsp;&nbsp;&nbsp;&nbsp;MINDISTANCE 50<br>
&nbsp;&nbsp;&nbsp;&nbsp;BUFFER 50<br>
&nbsp;&nbsp;&nbsp;END&nbsp;&nbsp;<br>
&nbsp;&nbsp;END<br>
&nbsp;END</span></span><o:p></o:p></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;<br>
Here is the layer for the non-working URL:<br>
&nbsp;<span style='color:red'>LAYER<br>
&nbsp;&nbsp;NAME &quot;main&quot;<br>
&nbsp;&nbsp;GROUP &quot;gas_theme&quot;<br>
&nbsp;&nbsp;CONNECTIONTYPE postgis<br>
&nbsp;&nbsp;CONNECTION &quot;user=mapreader dbname=panamacity20
host=pgs-1giswebdb&quot; <br>
&nbsp;&nbsp;DATA &quot;the_geom from main&quot;<br>
&nbsp;&nbsp;PROCESSING &quot;CLOSE_CONNECTION=DEFER&quot;<br>
&nbsp;&nbsp;METADATA<br>
&nbsp;&nbsp;&nbsp;&quot;wms_group_title&quot; &quot;main&quot;<br>
&nbsp;&nbsp;END<br>
&nbsp;&nbsp;PROJECTION<br>
&nbsp;&nbsp;&nbsp;&quot;init=epsg:2238&quot;<br>
&nbsp;&nbsp;END<br>
&nbsp;&nbsp;STATUS ON<br>
&nbsp;&nbsp;TYPE LINE<br>
&nbsp;&nbsp;&nbsp; &nbsp;<br>
&nbsp;&nbsp;CLASS<br>
&nbsp;&nbsp;&nbsp;MAXSCALE 250000<br>
&nbsp;&nbsp;&nbsp;STYLE <br>
&nbsp;&nbsp;&nbsp;&nbsp;SYMBOL &quot;circle&quot; <br>
&nbsp;&nbsp;&nbsp;&nbsp;SIZE 3<br>
&nbsp;&nbsp;&nbsp;&nbsp;COLOR 255 0 0<br>
&nbsp;&nbsp;&nbsp;END <br>
&nbsp;&nbsp;END</span></span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:red'>&nbsp;END</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> UMN MapServer Users
List on behalf of Ed McNierney<br>
<b>Sent:</b> Wed 1/16/2008 12:33 PM<br>
<b>To:</b> MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b>Subject:</b> Re: [UMN_MAPSERVER-USERS] mapserver error</span><o:p></o:p></p>

</div>

</div>

<div>

<p><span style='font-size:10.0pt'>Christopher -<br>
<br>
Thanks; it was not obvious to me that the second problem was also seen in the
OpenLayers application.&nbsp; The image on the OpenLayers discussion seems to
indicate a MapServer crash or other failure, as you've already suggested there.<br>
<br>
Lee, I think you should ignore the &quot;blurry&quot; problem for now and focus
exclusively on:<br>
<br>
&quot; I take the URL that is requesting the information from mapserver, then I
get: &quot;The specified CGI application misbehaved by not returning a complete
set of HTTP headers.&quot; &quot;<br>
<br>
You seem to be building on quicksand, and if you don't fix the foundation
there's no point in trying to figure out why the pictures on the walls don't
hang straight.<br>
<br>
If you can post details about the URL and the error we might be able to try to
help debug.&nbsp; Looking for debug and Web server logs can also be helpful to
understand why the CGI failed, as is running mapserv from the command line.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Ed<br>
<br>
Ed McNierney<br>
Chief Mapmaker<br>
Demand Media / TopoZone.com<br>
73 Princeton Street, Suite 305<br>
North Chelmsford, MA&nbsp; 01863<br>
ed@topozone.com<br>
Phone: +1 (978) 251-4242<br>
Fax: +1 (978) 251-1396<br>
<br>
-----Original Message-----<br>
From: Christopher Schmidt [<a href="mailto:crschmidt@metacarta.com">mailto:crschmidt@metacarta.com</a>]<br>
Sent: Wednesday, January 16, 2008 1:18 PM<br>
To: Ed McNierney<br>
Cc: MAPSERVER-USERS@LISTS.UMN.EDU<br>
Subject: Re: [UMN_MAPSERVER-USERS] mapserver error<br>
<br>
On Wed, Jan 16, 2008 at 01:13:33PM -0500, Ed McNierney wrote:<br>
&gt; Lee -<br>
&gt;<br>
&gt; INTERLACE=ON is not &quot;wrong&quot;.&nbsp; 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.&nbsp; This will cause
the top of the image to appear complete while the bottom is &quot;blurry&quot;.&nbsp;
You can see variations on these visual artifacts depending on your browser, and
the effect is more pronounced over a slow connection.<br>
&gt;<br>
&gt; 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.<br>
<br>
Note that this will almost never be the case with OpenLayers because<br>
OpenLayers hides images until they are completely loaded (for technical<br>
reasons unrelated to this), so if someone reports this behavior in<br>
OpenLayers, you can usually be sure it's not an interlacing thing.<br>
<br>
&gt; 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?<br>
<br>
There is a 'bmp' attached to<br>
<a href="http://openlayers.org/pipermail/users/2008-January/004506.html">http://openlayers.org/pipermail/users/2008-January/004506.html</a>
which<br>
might be the one.<br>
<br>
Regards,<br>
--<br>
Christopher Schmidt<br>
MetaCarta</span><o:p></o:p></p>

</div>

</div>

</body>

</html>