Am Dienstag 27 Oktober 2009 08:08:37 schrieb Sune Dogan, LIFA A/S:

As far as i understand your setup you are trying to reproject 'raster images' 
from the MapServer.
OpenLayer does not reproject 'raster images' on the client side.
Raster images have to reprojected first and can than be overlayed when in the 
right projection.

http://docs.openlayers.org/library/spherical_mercator.html

<snip>
Creating Spherical Mercator Raster Images¶
One of the reasons that the Spherical Mercator projection is so important is 
that it is the only projection which will allow for overlaying image data on 
top of commercial layers like Google Maps correctly. When using raster images, 
in the browser, it is not possible to reproject the images in the same way it 
might be in a ‘thick’ GIS client. Instead, all images must be in the same 
projection.
How to create Spherical Mercator projected tiles depends on the software you 
are using to generate your images. MapServer is covered in this document.
<snap>


Heiko


>       var pdkWMS =  new OpenLayers.Layer.WMS(
>             
> "http://kort.plansystem.dk/wms?servicename=wms&SRS=EPSG:25832&REQUEST=GetMap&exceptions=application/vnd.ogc.se_xml";,
>                 format: 'image/png',
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to