[OpenLayers-Users] How to overlay WMS onto Google Maps?

Brent Pedersen bpederse at gmail.com
Wed Oct 24 16:46:38 EDT 2007


you can add it to your spatial_ref_sys using the statement from
(crshmidt+hobu's) spatialreference.org
http://spatialreference.org/ref/epsg/54004/postgis/
and the 900913
http://spatialreference.org/ref/user/google-projection/postgis/
replacing the 6 with 900913.



On 10/24/07, Raj Singh <raj at rajsingh.org> wrote:
> Is there a comprehensive FAQ on this? Sometimes I hear use epsg:
> 900913, and sometimes epsg:54004. Either way, my postgis (version
> 8.1.5) doesn't have support for those. As probably the most common
> use of OL it seems worthy of a comprehensive write-up. I'd be willing
> to write it if I knew the answer.
> ---
> Raj
>
>
> On Oct 24, 2007, at 12:29 PM, Andrew Larcombe wrote:
>
> >
> > On 24 Oct 2007, at 16:52, Fiona wrote:
> >
> >> Hello: I am trying to overlay wms layers on google maps, but I have
> >> a problem with the projection. Exist any javascript that I can use
> >> in order to overlay on google maps? I have been trying for many
> >> days and nothing works. Thank you for your help.
> >> View this message in context: How to overlay WMS onto Google Maps?
> >> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> >>
> >
> > Hi Fiona,
> >
> > You need to use the GoogleMercator class and set your wms server to
> > use epsg:54004.
> >
> > Hope this helps some,
> >
> > Cheers,
> >
> > Andrew
> >
> > --
> > Andrew Larcombe
> > Freelance Geospatial, Database & Web Programming
> >
> > web: http://www.andrewlarcombe.co.uk
> > email: andrew at andrewlarcombe.co.uk
> > icq: 306690163
> >
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list