Hi,<br><br>thanks for the advise.<br>Now at least I have two different possibilities.<br><br>The other one I was thinking about is reloading the html page with a new parameter. This new parameter should be used to define the new projection when setting the map. The only problem is that I have to be comparing the coordinates with every new zoom or pan.<br>
<br><br><br><br><div class="gmail_quote">2009/4/25 Roald de Wit <span dir="ltr">&lt;<a href="mailto:roald.dewit@lisasoft.com">roald.dewit@lisasoft.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Toni,<br>
<br>
OpenLayers cannot combine WMS layers with different projections nor can it easily switch projections, certainly not on the fly based on the region you are viewing!<br>
What I advise you to do is the following if you have no control over these WMS servers and cannot have them serve all images in one projection: have MapServer act as a reprojecting proxy for you. MapServer can act as a WMS client and reproject the imagery into the projection you want. This page describes how to do this: [1].<br>

<br>
If you need more assistance with setting up or configuring MapServer I advise you to ask their mailing list.<br>
<br>
I hope this helps.<br>
<br>
Regards, Roald<br>
<br>
[1] <a href="http://mapserver.org/ogc/wms_client.html" target="_blank">http://mapserver.org/ogc/wms_client.html</a><div><div></div><div class="h5"><br>
<br>
toni hernández wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br>
<br>
I have a map that gets some WMS layers from two different servers all over spain.<br>
<br>
There is one wms server that needs a concrete epsg parameter (23029, 23030 or 23031) depending on the zone of spain. This server does not accept epsg:4326.<br>
<br>
So dependig on the zone of the map that is being displaid I need to change the WMS layer projection.<br>
is this possible?<br>
<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br>