hi,<br><br>I hadn't thought of that. <br>So far I have tried with one layer. But maybe I could also try defining three different layers with three different projections.<br>The valid projections are: epsg:23029 (east), epsg:23030 (interior), epsg:23031 (west)<br>
and This is the layer<br><br> var sigpaclayer = new OpenLayers.Layer.WMS(<br> "Sigpac",<br> "<a href="http://wms.mapa.es/wms/wms.aspx">http://wms.mapa.es/wms/wms.aspx</a>",<br>
{layers: 'ORTOFOTOS', transparent: "true", format: "image/png"} , buffer: 0, minScale:8607}<br> );<br><br>thanks for trying.<br><br><div class="gmail_quote">2009/4/26 Roald de Wit <span dir="ltr"><<a href="mailto:roald.dewit@lisasoft.com">roald.dewit@lisasoft.com</a>></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,<br>
<br>
I'm trying to find out if it is one layer (or layername) that you request or different layers (or layer names) for different zones. If it is the former, I would have no idea how to solve your problem. If it is the latter, the MapServer solution would be perfect. You would then define 3 layers in MapServer (it was three zones, wasn't it?) for every zone, each with their own projection. And in OpenLayers, you would create 1 WMS layer that requests those 3 layers from MapServer as if it was one layer. MapServer would do the reprojection for you.<br>
If the WMS server is public and you can give me the URL and the layers you need, I'd be happy to try it out for you.<br>
<br>
Cheers, Roald<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,<div class="im"><br>
I'am no sure I understand the question.<br>
<br>
The WMS server renders just one layer for a very close scale. From 5000 and lower. Depending on the zone you want to be drawn you have to send the correct epsg. Otherwise no image is drawn.<br>
is that where you where asking?<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br>