[OpenLayers-Users] Google/Yahoo map projection WMS overlay
question
Josh Livni
mailing_lists at umbrellaconsulting.com
Sun Dec 23 16:15:42 EST 2007
Andrew,
Check the spherical-mercator.html example.
However, note that you can't overlay data in EPSG:4326 onto a layer with
spherical mercator projection. Your WMS server needs to spit it out in
the same projection for them to line up. So in this case, you need to
make sure your WMS server is configured to spit out data in EPSG:900913.
-Josh
Andrew Murdoch wrote:
> Are there any good examples of using Google or Yahoo background data
> (in their native Spherical Mercator projection) with WMS services in
> WGS84 (EPSG: 4326)? I looked through the examples directory, but
> couldn't find anything that seemed to work. I don't seem to be able
> to get my WMS layers (from GeoServer) to show up at all though the
> commercial background layers do show up. I thought that if the map
> were defined in Spherical Mercator then the WMS layers (in EPSG 4326)
> would automatically be requested in the Google projection.
>
> Thanks for your help!
> Andrew Murdoch
>
> ------------------------------------------------------------------------
> Don't get caught with egg on your face. Play Chicktionary! Check it
> out!
> <http://club.live.com/chicktionary.aspx?icid=chick_wlhmtextlink1_dec>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
More information about the Users
mailing list