Thanks for your help and patience so far...<br><br>I´ll try to explain better my problem...<br>I have a google base and several wms overlay layers ... Everthing is working fine...<br>Relevant code:<br><br>Map<br>  PROJECTION    <br>
     &quot;init=epsg:900913&quot;<br>  END<br><br>  METADATA<br>     &quot;wms_srs&quot;       &quot;EPSG:4326 EPSG:900913&quot;<br><br>Layers Wms<br>PROJECTION<br>            &quot;init=epsg:4326&quot;<br>END<br><br>----------------------<br>
But now I need to add other base layer, so I´ll  have 2 base layers:<br>- Google Base Layer : EPSG:900913<br>- WMS Base Layer : EPSG:4326<br><br>When I change to WMS Base Layer, my all layers are gone, including the others WMS layers...<br>
<br>Relevante Code:<br>My map remain the same...<br><br>WMS BASE LAYER (Original projection : 4326):<br>METADATA<br>           &quot;wms_srs&quot;       &quot;EPSG:900913 EPSG:4326&quot;<br>            &quot;wms_title&quot;    &quot;TESTBASE&quot;       <br>
        END       <br>                <br>        PROJECTION<br>            &quot;init=epsg:4326&quot;<br>        END<br><br>My openlayers config:<br><br> map = new OpenLayers.Map(&#39;testt&#39;, {        <br>         projection: new OpenLayers.Projection(&quot;EPSG:900913&quot;),<br>
         units: &quot;m&quot;,<br>         displayProjection: new OpenLayers.Projection(&quot;EPSG:4326&quot;),<br>         tileSize: new OpenLayers.Size(400, 400),        <br>         numZoomLevels: 10,     <br>         maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.34)<br>
<br> var googleBaseLayer = new OpenLayers.Layer.Google(<br>                &quot;Google Streets&quot;,<br>                {&#39;sphericalMercator&#39;: true}<br>            );<br><br>  var wmsBaseLayer = new OpenLayers.Layer.WMS(&quot;UFBASE&quot;,<br>
                GetMapFileLocation(), {<br>                    &quot;LAYERS&quot;: [&#39;UFBASE&#39;],                         <br>                     transparent: true,                    <br>                     format: &quot;image/png&quot;<br>
                }, {                    <br>                    isBaseLayer: true,                  <br>                    displayInLayerSwitcher: true                  <br>                });<br><br>So, Am I missing something?<br>
<br><div class="gmail_quote">On Wed, Aug 18, 2010 at 11:39 AM, David Fawcett <span dir="ltr">&lt;<a href="mailto:david.fawcett@gmail.com">david.fawcett@gmail.com</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;">
Your layer projection block should reflect the spatial reference<br>
system of the data that the layer is based on (input projection).  The<br>
projection block at the map level sets the output projection when your<br>
application receives a normal MapServer request.  For WMS requests,<br>
this is handled by the layer wms_srs metadata.<br>
<br>
I don&#39;t totally understand your problem, but I think that there are<br>
two potential areas to look at:<br>
<br>
1.  Is OpenLayers sending the correct WMS request to your MapServer<br>
app to get the layer that it needs.<br>
<br>
2.  If the WMS request is correct, is your MapServer app configured to<br>
return the correct layer?<br>
<br>
You can use FireBug to look at the WMS request.<br>
<font color="#888888"><br>
David.<br>
</font><div><div></div><div class="h5"><br>
On Wed, Aug 18, 2010 at 9:18 AM, Paul james &lt;<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>&gt; wrote:<br>
&gt; Thanks!<br>
&gt;<br>
&gt; Yes, i tried my layer two ways :<br>
&gt; PROJECTION<br>
&gt;      &quot;init=epsg:4326&quot;<br>
&gt; END<br>
&gt;<br>
&gt; ==&gt; Nothing appears<br>
&gt;<br>
&gt; PROJECTION<br>
&gt;      &quot;init=epsg:900913&quot;<br>
&gt; END<br>
&gt;<br>
&gt; ==&gt; The layer was draw, but in other location (0 0´0´´E 0 0´0´´N)<br>
&gt;<br>
&gt; Paul<br>
&gt;<br>
&gt; On Wed, Aug 18, 2010 at 11:08 AM, David Fawcett &lt;<a href="mailto:david.fawcett@gmail.com">david.fawcett@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Paul,<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t think that it matters for this case, but I think that you want<br>
&gt;&gt; to drop the &#39;+&#39; sign from your MAP level projection block.<br>
&gt;&gt;<br>
&gt;&gt; Do you have a projection block for your layer?  That is definitely<br>
&gt;&gt; required.<br>
&gt;&gt;<br>
&gt;&gt; David.<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Aug 18, 2010 at 9:00 AM, Paul james &lt;<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Yes, My proj.4 has EPSG:900913...<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; My mapfile:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; MAP<br>
&gt;&gt; &gt; ...<br>
&gt;&gt; &gt;   PROJECTION<br>
&gt;&gt; &gt;          &quot;+init=epsg:4326&quot;<br>
&gt;&gt; &gt;   END<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;   WEB<br>
&gt;&gt; &gt;         IMAGEPATH &#39;...&#39;<br>
&gt;&gt; &gt;         IMAGEURL &#39;...&#39;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;         METADATA<br>
&gt;&gt; &gt;             &quot;wms_title&quot;     &quot;WMS Server&quot;<br>
&gt;&gt; &gt;             &quot;wms_onlineresource&quot; &quot;...&quot;<br>
&gt;&gt; &gt;             &quot;wms_srs&quot;       &quot;EPSG:4326  EPSG:900913 EPSG:3857&quot;<br>
&gt;&gt; &gt;             &quot;wms_feature_info_mime_type&quot; &quot;text/html&quot;<br>
&gt;&gt; &gt;             &quot;labelcache_map_edge_buffer&quot;    &quot;-10&quot;<br>
&gt;&gt; &gt;         END<br>
&gt;&gt; &gt;     END<br>
&gt;&gt; &gt; ...<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; LAYER<br>
&gt;&gt; &gt;         NAME TestBase<br>
&gt;&gt; &gt;         METADATA<br>
&gt;&gt; &gt;             &quot;wms_srs&quot;       &quot;EPSG:900913&quot;<br>
&gt;&gt; &gt;             &quot;wms_title&quot;    &quot;TestBase&quot;<br>
&gt;&gt; &gt;             &quot;wms_feature_info_mime_type&quot; &quot;text/html&quot;<br>
&gt;&gt; &gt;         END<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Paul<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>