<html>
  <head>

  </head>
  <body style="margin-bottom: 1px; font-variant: normal; font-weight: normal; margin-right: 4px; font-size: 12pt; font-family: Comic Sans MS; margin-left: 4px; line-height: normal; font-style: normal; margin-top: 4px">
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">Ray&#44;</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">My first thought here would be to use something like MapServer as a WMS client that could then pass through the WMS request in the reprojected form. &nbsp;We do this for many layers coming into the City that we need projected to our local coordinate system. &nbsp;Drawback is&#44; you need a middle ware piece in the equation&#44; with a spot to run the service from&#44; etc. &nbsp;There is also a performance hit because of the reprojection. &nbsp;But if those aspects don&#39;t worry you&#44; then you get a very good product out of the process this way&#44; with a very high confidence level that things will get projected correctly.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">This route of configuration has many positives related to the organization of coding and how the data is accessed&#44; but you still have the performance hit. &nbsp;There are options for caching as well that could improve performance&#44; but now you have the storage aspect to worry about.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">bobb</font>    </p>
<br>      <br>
    <p style="margin-top: 0; margin-bottom: 0">
      <br>
      <br>
      &gt;&gt;&gt; Ray Di Ciaccio &lt;ray.diciaccio@ll.mit.edu&gt; wrote:<br>    </p>
    <table style="margin-bottom: 0; margin-right: 0; font-size: 1em; margin-left: 15px; margin-top: 0" bgcolor="#f3f3f3" border="0">
      <tr>
        <td>
          <div style="border-left: solid 1px #050505; padding-left: 7px">
            <p style="margin-top: 0; margin-bottom: 0">
              Sorry for the previous messed up message. Let me try this again:<br><br>Hi all&#44;<br><br>I&#39;m in what I&#39;m guessing is a fairly common situation -- I&#39;m using<br>Google Maps as my baselayer &#40;so map is in EPSG:9009l3 projection&#41; and<br>I&#39;m trying to load an overlay from a WMS which I have no control over.<br>It only offers data in EPSG:4326. The WMS request generated by<br>OpenLayers will be for CRS&#61;EPSG:900913 and the BBOX values will be in<br>EPSG:900913. This obviously won&#39;t work if the WMS only offers EPSG:4326.<br>My solution to this problem was to override<br>OpenLayers.Layer.WMS.getFullRequestString&#40;&#41; so that it uses the<br>projection that I set for that particular layer -- it changes the<br>CRS/SRS param to whatever the layer projection is&#44; and it transforms the<br>BBOX values from the map projection to the layer&#39;s projection. This way<br>I get a valid request for the WMS and it&#39;s loaded in the correct<br>location on the basemap. My question is whether this is the right<br>approach to this situation and whether there may be unforeseen<br>repercussions to these changes I made.<br><br>Thanks&#33;<br>- Ray<br><br>--<br>Ray Di Ciaccio<br>MIT LL&#44; Group 42<br>781-981-2024<br>ray.diciaccio@ll.mit.edu<br><br>_______________________________________________<br>Dev mailing list<br>Dev@lists.osgeo.org<br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
            </p>
          </div>
        </td>
      </tr>
    </table>
  </body>
</html>