<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: [UMN_MAPSERVER-USERS] Problem with WMS Connection</TITLE>

<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText52727 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Ahh.. yup.. that was 
it!  Stupid me.. I fought with this for 5 days now..  lol  
Thanks!</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>So..  I take it if you have data with 
different projections you need to set this at the layer level?  I had setup 
the main projection which all my data is in and thought by setting the layer 
projection for the WMS server is would work, but it certainly did not...  I 
removed the Projection all together and things started to display.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Dennis</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List on behalf of Ed 
McNierney<BR><B>Sent:</B> Fri 2/24/2006 11:37 AM<BR><B>To:</B> 
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] 
Problem with WMS Connection<BR></FONT><BR></DIV>
<DIV>
<DIV dir=ltr align=left><SPAN class=093373416-24022006><FONT face=Arial 
color=#0000ff size=2>Dennis -</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=093373416-24022006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=093373416-24022006><FONT face=Arial 
color=#0000ff size=2>Thanks - the server seems fine.  But you're not 
defining a PROJECTION block for the WMS layer - you need to tell MapServer that 
the input image is in EPSG:4269 projection rather than in the default LCC 
projection of your output image.  Without that, MapServer will treat it as 
LCC input coordinates, and the resulting image will be way off-screen 
somewhere.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=093373416-24022006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=093373416-24022006><FONT face=Arial 
color=#0000ff size=2>I might be wrong on that - I got in the habit of specifying 
PROJECTION blocks for WMS layers a long time ago, when they were required.  
That might have changed, but it's worth a try.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=093373416-24022006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=093373416-24022006>    <FONT 
face=Arial color=#0000ff size=2>- Ed</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=093373416-24022006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=093373416-24022006><FONT face=Arial 
color=#0000ff size=2>P.S.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=093373416-24022006>
<P><FONT size=2>Ed McNierney<BR>President and Chief Mapmaker<BR>TopoZone.com / 
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North Chelmsford, 
MA  01863<BR>ed@topozone.com<BR>(978) 251-4242 </FONT></P></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Dennis Megarry [mailto:dennis@megarry.com] 
<BR><B>Sent:</B> Friday, February 24, 2006 11:01 AM<BR><B>To:</B> Ed 
McNierney<BR><B>Subject:</B> RE: [UMN_MAPSERVER-USERS] Problem with WMS 
Connection<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText79036 dir=ltr>
<DIV dir=ltr><FONT face=Arial><FONT size=2>I do get a response from it...  
The actual MAP file is below (since this is sent off-list).  I tried your 
suggestion and put "&" on the end (see below) and still nothing..  
ARGH!<SPAN class=093373416-24022006><FONT 
color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV dir=ltr><FONT face=Arial><FONT size=2><SPAN 
class=093373416-24022006></SPAN></FONT></FONT> </DIV>
<DIV dir=ltr><SPAN class=093373416-24022006><FONT size=2> [MAP file 
contents removed by Ed before replying 
on-list]</FONT></SPAN></DIV></DIV></DIV></BODY></HTML>