<HTML>
<HEAD>
<TITLE>Re: [mapserver-users] Projection or Data Problem?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I found the solution.<BR>
<BR>
<a href="http://www.mapserver.org/faq.html#why-does-my-requested-wms-layer-not-align-correctly">http://www.mapserver.org/faq.html#why-does-my-requested-wms-layer-not-align-correctly</a> <BR>
<BR>
Adding reaspect=false to the connection string fixed the problem.<BR>
<BR>
LAYER<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GROUP &quot;Political Boundaries&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAME &quot;US Forest Service Regions&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TYPE RASTER<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PROJECTION<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;init=epsg:4269&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STATUS ON<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CONNECTION &quot;<a href="http://206.16.47.174:80/wmsconnector/com.esri.wms.Esrimap/BLM_SURFACE_MGT_AGY?reaspect=false">http://206.16.47.174:80/wmsconnector/com.esri.wms.Esrimap/BLM_SURFACE_MGT_AGY?reaspect=false</a>&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CONNECTIONTYPE WMS<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;METADATA<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;wms_srs&quot; &quot;EPSG:4269&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;wms_name&quot; &quot;SMA_ALL&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;wms_server_version&quot; &quot;1.1.1&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;wms_format&quot; &quot;image/gif&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<BR>
&nbsp;&nbsp;&nbsp;&nbsp;END<BR>
<BR>
<BR>
On 3/5/09 1:24 PM, &quot;Paul Moen&quot; &lt;<a href="pmoen@nd.gov">pmoen@nd.gov</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>If I get what you are saying, I should set up another Mapserver as a WMS<BR>
server that accesses the WMS from BLM, then, connect to my WMS server with<BR>
the original mapfile?<BR>
<BR>
Doesn&#8217;t Mapserver already take the temporary image from the WMS that was<BR>
delivered in epsg:4326 and reproject it to my mapfiles projection,<BR>
epsg:2266, then add the other layers of my mapfile before delivering the<BR>
final image?<BR>
<BR>
This certainly works for the other WMS layer, OFlood Data Availability&#8217; that<BR>
is in my mapfile. &nbsp;That layer is delivered by the WMS in epsg:4269 and lines<BR>
up perfect when the mapfile&#8217;s main projection is set to &#8220;init=epsg:2266&#8221;.<BR>
<BR>
Thanks for helping,<BR>
<BR>
Paul<BR>
<BR>
On 3/5/09 1:06 PM, &quot;Gregor at HostGIS&quot; &lt;<a href="gregor@hostgis.com">gregor@hostgis.com</a>&gt; wrote:<BR>
<BR>
&gt; Moen, Paul T. wrote:<BR>
&gt;&gt; Can anyone get this WMS layer to reproject to a projected coordinate<BR>
&gt;&gt; system like epsg:2266?<BR>
&gt;<BR>
&gt; Add to your WEB block, this. You can then make requests to your<BR>
&gt; mapfile-as-WMS in the given SRS.<BR>
&gt;<BR>
&gt; METADATA<BR>
&gt; &nbsp;&nbsp;&nbsp;&quot;wms_srs&quot; &nbsp;&quot;EPSG:2266&quot;<BR>
&gt; END<BR>
&gt;<BR>
&gt; This does mean fetching the raster from them as 4326, then reprojecting<BR>
&gt; it to 2266, so it may not look so great. But if they're not offering it<BR>
&gt; in 2266, that's what you hafta do.<BR>
&gt;<BR>
&gt; --<BR>
&gt; Gregor Mosheh / Greg Allensworth &nbsp;&nbsp;&nbsp;BS, A+, Network+, Security+, Server+<BR>
&gt; System Administrator, Lead Programmer<BR>
&gt; HostGIS development &amp; hosting services, <a href="http://www.HostGIS.com/">http://www.HostGIS.com/</a><BR>
&gt;<BR>
&gt; &quot;Remember that no one cares if you can back up,<BR>
&gt; &nbsp;&nbsp;only if you can restore.&quot; - AMANDA<BR>
&gt;<BR>
<BR>
<BR>
_______________________________________________<BR>
mapserver-users mailing list<BR>
<a href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><BR>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Paul T. Moen<BR>
<a href="pmoen@nd.gov">pmoen@nd.gov</a><BR>
701-328-2434<BR>
701-328-3696 (fax)<BR>
ND State Water Commission<BR>
</SPAN></FONT>
</BODY>
</HTML>