hi, I hadn't thought of that. So far I have tried with one layer. But maybe I could also try defining three different layers with three different projections. The valid projections are: epsg:23029 (east), epsg:23030 (interior), epsg:23031 (west) and This is the layer
var sigpaclayer = new OpenLayers.Layer.WMS( "Sigpac", "http://wms.mapa.es/wms/wms.aspx", {layers: 'ORTOFOTOS', transparent: "true", format: "image/png"} , buffer: 0, minScale:8607} ); thanks for trying. 2009/4/26 Roald de Wit <roald.de...@lisasoft.com> > Hi, > > 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. > 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. > > Cheers, Roald > > toni hernández wrote: > >> Hi, >> I'am no sure I understand the question. >> >> 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. >> is that where you where asking? >> >> >
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users