[OpenLayers-Users] WMS, Google Map, and Vector Layer
Chris Garstin
Christopher.Garstin at gmail.com
Sun Aug 23 06:19:36 EDT 2009
Hi Arnd,
Thanks again for all your help. To get around the problem with the one WMS
layer not supporting the projection that I need to tranform to for Google,
I've added some buttons to my map to swtich between Google and WMS layers.
Feel free to have a look.
http://oo.chrisgarstin.com/maptrack.php?id=75
You help is greatly appreciated.
Regards
Chris
Arnd Wippermann wrote:
>
> Hi Chris,
>
> You are right. The wsm doesn't support EPSG:900913, but only:
>
> <SRS>EPSG:4326</SRS>
> <SRS>EPSG:4269</SRS>
> <SRS>EPSG:4267</SRS>
> <SRS>EPSG:4269</SRS>
>
>>>"Does this mean I might have to look into pro4js?"
> No. Proj4js is needed to reproject vector data. wms comes as images. To
> reproject wms data, you have to request them by a mapserver (like
> GeoServer
> or MapServer) to reproject them.
>
> Arnd
>
>
> -----Ursprüngliche Nachricht-----
> Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
> Auftrag von Chris Garstin
> Gesendet: Sonntag, 23. August 2009 00:00
> An: users at openlayers.org
> Betreff: Re: [OpenLayers-Users] WMS, Google Map, and Vector Layer
>
>
> Hi Arnd,
>
> You suggestions have been extremely helpful, and I've been able to have
> the
> vector layer and the WMS/Google layers properly overlayed. I can't
> believe
> it took me so long to figure it out, but there's a lot to learn.
>
> I've noticed now that the Ontario Basic Mapping layer does not appear now.
> It loads data from the server, but it does not render any data into the
> map.
>
> Is this because that WMS may not support the projection I'm trying to
> convert to?
>
> Does this mean I might have to look into pro4js?
>
> Thanks again for all your help Arnd, very much appreciated.
>
> Regards
> Chris
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
--
View this message in context: http://n2.nabble.com/WMS-Google-Map-and-Vector-Layer-tp3495088p3498251.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list