[OpenLayers-Dev] Map with WMS Layers and Overlays in many different projections

wueste wueste2k at gmail.com
Fri Oct 15 09:00:38 EDT 2010


I Have 4 different Layers in different projections:

#Layer 1: EPSG:4326 (baselayer)
#Layer 2: EPSG:31467 (baselayer)
#Layer 3: EPSG:25832 (baselayer)

#Marker Layer: filled with data from the database in EPSG:4326(overlay)

Is there a way to add all this Layers to one single map and reproject them
correctly?

Actually the Map projections are set to:

projection: EPSG:31467
displayprojection: EPSG:4326
maxExtent: 3.2803e+006,5.2375e+006,3.9216e+006,6.1062e+006 (EPSG:31467)

Layer 2 -> is working correctly, everything is on the right place.
Marker Layer -> marker positions are transformed from 4326 to 31467 using
proj4js, working correctly

The problem is that even if set projection and maxExtent option for the
Layer 1 and 3:

layer 1:
projection:EPSG:4326;
maxExtent: 6.0,47.0,15.0,55.0

layer 3:
projection:EPSG:25832;
maxExtent: 2.8032e+005,5.2358e+006,9.2136e+005,6.1042e+006

the WMS request for this layers is still sent with a EPSG:31467 BBox and i
am not getting any usefull tiles.

Can someone please help with this? 

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Map-with-WMS-Layers-and-Overlays-in-many-different-projections-tp5638804p5638804.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list