Hi Mark<br><br>If I understand what you want to do correctly, I think you need to point to your WMS source differently. Basically you are needing to use Mapserver as both a WMS server (your WMS source) and as a WMS client (via GeoMoose).<br>
<br>First, I assume you have a working WMS at that URL? You should test and confirm that first before killing yourself over subsequent steps. A simple test would be to use a browser (with going through GeoMoose) to look at your GetCapabilities document using something like this:<br>

<br>http://<span lang="en-us"></span><span lang="en-us"><font face="Calibri"><a href="http://mymapserver.org/" target="_blank">mymapserver.org</a></font></span><span lang="en-us"><font face="Calibri">/cgi-bin/mapserv.exe?map=/</font></span><span lang="en-us"><font face="Calibri">location_to_mapfile</font></span><span lang="en-us"><font face="Calibri">/</font></span><span lang="en-us"><font face="Calibri">mapfile</font></span><span lang="en-us"><font face="Calibri">.map&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetCapabilities&amp;<br>

<br></font></span>if you are successful with that request you can confirm that you are rendering a map via a GetMap request (obviously use the correct Layer name, EPSG code and BBOX values) something like this:<br><br>http://<span lang="en-us"></span><span lang="en-us"><font face="Calibri"><a href="http://mymapserver.org/" target="_blank">mymapserver.org</a></font></span><span lang="en-us"><font face="Calibri">/cgi-bin/mapserv.exe?map=/</font></span><span lang="en-us"><font face="Calibri">location_to_mapfile</font></span><span lang="en-us"><font face="Calibri">/</font></span><span lang="en-us"><font face="Calibri">mapfile</font></span><span lang="en-us"><font face="Calibri">.map&amp;</font></span><span lang="en-us"><font face="Calibri">&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=Get</font></span><span lang="en-us"><font face="Calibri">Map&amp;&amp;LAYERS=prov_bound&amp;STYLES=&amp;SRS=EPSG:4326&amp;BBOX=-173.537,35.8775,-11.9603,83.8009&amp;WIDTH=400&amp;HEIGHT=300&amp;FORMAT=image/png</font></span><br>

<br>if you are successful in returning an image using a GetMap request, then you have successfully configured Mapserver as a WMS Server. Now you can move on to creating a map file for your WMS, which will allow you to use Mapserver as a WMS client via GeoMoose. A WMS client map file could be something like this:<br>
<br><span lang="en-us"><font face="Calibri">LAYER<br>    NAME &quot;</font></span><span lang="en-us"><font face="Calibri">prov_bound</font></span><span lang="en-us"><font face="Calibri">&quot;<br>
    TYPE RASTER<br>    CONNECTIONTYPE WMS<br>    STATUS OFF<br>    CONNECTION &quot;</font></span>http://<span lang="en-us"></span><span lang="en-us"><font face="Calibri"><a href="http://mymapserver.org/" target="_blank">mymapserver.org</a></font></span><span lang="en-us"><font face="Calibri">/cgi-bin/mapserv.exe?map=/</font></span><span lang="en-us"><font face="Calibri">location_to_mapfile</font></span><span lang="en-us"><font face="Calibri">/</font></span><span lang="en-us"><font face="Calibri">mapfile</font></span><span lang="en-us"><font face="Calibri">.map&amp;</font></span><span lang="en-us"><font face="Calibri">&quot;   <br>

    PROJECTION<br>      &quot;init=epsg:4326&quot;<br>    END<br>    METADATA<br>      &quot;wms_srs&quot;             &quot;EPSG:4326&quot;<br>      &quot;WMS_name&quot;        &quot;Provincial_Boundary&quot;<br>      &quot;wms_server_version&quot;  &quot;1.1.1&quot;<br>

      &quot;wms_format&quot;          &quot;image/png&quot;<br>
    END <br>END </font></span><br><br><br>Then you can reference that map file as you would any other non-WMS map file in GeoMoose (normal paths to location of .map on your server, and no need to add &amp; or ? and extra parameters to file name). <br>

<br>The custom projections for the WMS should be declared in the WMS map file as above using EPSG codes if possible, and the projection** of you final map can be set in GeoMoose directly, as you would for any other layer. <br>

<br>I haven&#39;t tested this directly, but it seems like this approach should work given my previous tests.<br><br>docs on Mapserver as a WMS Server are here:<br><a href="http://mapserver.org/ogc/wms_server.html">http://mapserver.org/ogc/wms_server.html</a><br>
<br>docs on Mapserver as a WMS client are here:<br><a href="http://mapserver.org/ogc/wms_client.html">http://mapserver.org/ogc/wms_client.html</a><br><br>Tanya<br><br>** Note that if your WMS service includes rendered labels, and you are allowing 
re-projection after rendering, you could see some weird/undesirable 
effects.<br><br><div class="gmail_quote">On Mon, Nov 22, 2010 at 10:13 AM, Mark Volz <span dir="ltr">&lt;<a href="mailto:MarkVolz@co.lyon.mn.us" target="_blank">MarkVolz@co.lyon.mn.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">








<div>


<p dir="LTR"><span lang="en-us"><font face="Calibri">Hello,</font></span></p>

<p dir="LTR"><span lang="en-us"><font face="Calibri">I would like to add a WMS from another mapserver</font></span><span lang="en-us"><font face="Calibri"> u</font></span><span lang="en-us"><font face="Calibri">sing the map-source tag.</font></span><span lang="en-us"></span></p>



<p dir="LTR"><span lang="en-us"><font face="Calibri">&lt;map-source name=&quot;</font></span><span lang="en-us"><font face="Calibri">myName</font></span><span lang="en-us"><font face="Calibri">&quot; type=&quot;wms&quot; projection=&quot;</font></span><span lang="en-us"><font face="Calibri">myCountyProjection</font></span><span lang="en-us"><font face="Calibri">&quot;&gt;</font></span></p>



<p dir="LTR"><span lang="en-us">        <font face="Calibri">&lt;url&gt;<a>http://</a></font></span><span lang="en-us"><font face="Calibri">MapserverHost.org</font></span><span lang="en-us"><font face="Calibri">/cgi-bin/mapserv.exe?map=/</font></span><span lang="en-us"><font face="Calibri">location_to_mapfile</font></span><span lang="en-us"><font face="Calibri">/</font></span><span lang="en-us"><font face="Calibri">mapfile</font></span><span lang="en-us"><font face="Calibri">.map&amp;&lt;/url&gt;</font></span></p>



<p dir="LTR"><span lang="en-us">        <font face="Calibri">&lt;layer name=&quot;</font></span><span lang="en-us"><font face="Calibri">myLayer</font></span><span lang="en-us"><font face="Calibri">&quot;/&gt;</font></span></p>



<p dir="LTR"><span lang="en-us"><font face="Calibri">&lt;/map-source&gt;</font></span><span lang="en-us"></span></p>

<p dir="LTR"><span lang="en-us"></span></p>

<p dir="LTR"><span lang="en-us"><font face="Calibri">1.     </font></span><span lang="en-us"></span><span lang="en-us"></span><span lang="en-us"> <font face="Calibri">GeoMoose</font></span><span lang="en-us"> <font face="Calibri">doesn’t</font></span><span lang="en-us"><font face="Calibri"> load at all when there is a</font></span><span lang="en-us"> <font face="Calibri">“</font></span><span lang="en-us"><font face="Calibri">&amp;</font></span><span lang="en-us"><font face="Calibri">”</font></span><span lang="en-us"><font face="Calibri"> in the url</font></span><span lang="en-us"><font face="Calibri"> of the wms service</font></span><span lang="en-us"><font face="Calibri">.  How can I add</font></span><span lang="en-us"> <font face="Calibri">&lt;url&gt;<a>http://</a></font></span><span lang="en-us"><font face="Calibri"><a href="http://mymapserver.org" target="_blank">mymapserver.org</a></font></span><span lang="en-us"><font face="Calibri">/cgi-bin/mapserv.exe?map=/</font></span><span lang="en-us"><font face="Calibri">location_to_mapfile</font></span><span lang="en-us"><font face="Calibri">/</font></span><span lang="en-us"><font face="Calibri">mapfile</font></span><span lang="en-us"><font face="Calibri">.map&amp;&lt;/url&gt;</font></span><span lang="en-us"><font face="Calibri">?</font></span><span lang="en-us"></span></p>



<p dir="LTR"><span lang="en-us"></span><span lang="en-us"></span></p>

<p dir="LTR"><span lang="en-us"><font face="Calibri">2.     </font></span><span lang="en-us"></span><span lang="en-us"></span><span lang="en-us"> <font face="Calibri">How can we add a custom projection?  Can we add the parameters in the projection tag</font></span><span lang="en-us"><font face="Calibri">?  For example</font></span><span lang="en-us"><font face="Calibri">: </font></span><span lang="en-us"> <font face="Calibri">projection=</font></span><span lang="en-us"> <font face="Calibri">“</font></span><span lang="en-us"><font face="Calibri">+proj=longlat +a=6377276.345 +b=6356075.41314024 +no_defs</font></span><span lang="en-us"><font face="Calibri">”</font></span><span lang="en-us"><font face="Calibri"></font></span><span lang="en-us"> </span></p>



<p dir="LTR"><span lang="en-us"></span><span lang="en-us"><font face="Calibri"> </font></span><span lang="en-us"> </span></p>

<p dir="LTR"><span lang="en-us"><font face="Calibri">Thanks</font></span><span lang="en-us"></span></p>

<p dir="LTR"><span lang="en-us"></span><span lang="en-us"></span><span lang="en-us"><font face="Calibri">Mark Volz</font></span></p>

<p dir="LTR"><span lang="en-us"><font face="Calibri">GIS Specialist</font></span></p>

<p dir="LTR"><span lang="en-us"><font face="Calibri">Lyon County, MN</font></span></p>

<p dir="LTR"><span lang="en-us"></span></p>

</div>
<br>------------------------------------------------------------------------------<br>
Increase Visibility of Your 3D Game App &amp; Earn a Chance To Win $500!<br>
Tap into the largest installed PC base &amp; get more eyes on your game by<br>
optimizing for Intel(R) Graphics Technology. Get started today with the<br>
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.<br>
<a href="http://p.sf.net/sfu/intelisp-dev2dev" target="_blank">http://p.sf.net/sfu/intelisp-dev2dev</a><br>_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.sourceforge.net" target="_blank">Geomoose-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/geomoose-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><br>
<br></blockquote></div><br>