[OpenLayers-Users] wms epsg:4326 like google maps mercator

Christopher Schmidt crschmidt at metacarta.com
Fri Jun 22 07:54:11 EDT 2007


On Fri, Jun 22, 2007 at 10:36:29AM +0200, Jachym Cepicky wrote:
> hi,
> 
> 2007/6/21, Andrea Aime <aaime at openplans.org>:
> >>[...]
> >> setting projection on the server is, I think at least, not solution for
> >> me, as I would like to use maps also from servers, where I do not have
> >> any access (e.g. openlayers wms server ).
> >
> >If the server is standard compliant and supports the projection you
> >need, you can ask the map in that projection and the server will have
> >to reproject on the fly.
> >
> >Cheers
> >Andrea
> >
> 
> Corect me, if I'm wrong, but most of the wms servers around the globe
> do serve their data using EPSG 4326 and then maybe other projections
> (mostly local). 4326 is very common.
> 
> Could you point me please to the place in OpenLayers code, where the
> maps are "reprojected", so they fit to Google/Yahoo maps?

http://svn.openlayers.org/trunk/openlayers/lib/OpenLayers/Tile.js
getBoundsFromBaseLayer. 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list