[OpenLayers-Users] Mercator projected Images coordinate problem
with layer
Phil Scadden
p.scadden at gns.cri.nz
Wed Jul 6 17:24:50 EDT 2011
Openlayers WMS depends on the server sending the images in the map
projection (the projection of the current baselayer). It cannot
reproject image. When you say the server returns "mercator", then does
that mean the google mercator? (Spherical mercator but using wgs84
lat/long). If your server cant return google mercator, then you cant
overlay your images on google maps with precision.
You can have the map in one projection (mercator) but have coordinates
displayed in another (4326) by setting display projection to 4326 but
projection to 900913 which is what you want. If your server wants
lat/long in the GET URL, but openlayers is requesting in mercator, then
you will need to reproject the coordinates yourself before they sent to
the server in the code the creates the URL.
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
More information about the Users
mailing list