[OpenLayers-Users] overlay google map

Jaishankar Madamshetty Jaishankar.Madamshetty at infotech-enterprises.com
Thu Jul 28 07:46:40 EDT 2011


Hi Nicholas,

I have setup my WMS layers in Geoserver. Please can you send me the sample code on how to do it in OL, otherwise please send me any links explaining this process?

Regards,
Jaishankar

From: openlayers-users-bounces at lists.osgeo.org [mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of Nicholas Efremov-Kendall
Sent: Thursday, July 28, 2011 4:51 PM
To: Jaishankar Madamshetty
Cc: openlayers-users at lists.osgeo.org
Subject: Re: [OpenLayers-Users] overlay google map

Hi,

I don't know what you're using to set up the WMS, but you can use ogr2ogr to reproject the raw data, or tinker with proj4.js to do it in OL.

On Thu, Jul 28, 2011 at 6:19 AM, Nicholas Efremov-Kendall <n.e.kendall at gmail.com<mailto:n.e.kendall at gmail.com>> wrote:
You have to reproject your WMS layers to the webmercator, OL only supports EPSG 900913, and 4326, so your WMS wouldn't show correctly unless you were using the Proj4.js
On Thu, Jul 28, 2011 at 5:08 AM, Jaishankar Madamshetty <Jaishankar.Madamshetty at infotech-enterprises.com<mailto:Jaishankar.Madamshetty at infotech-enterprises.com>> wrote:
Hi list,

I wanted to set Google map as my base layer. My WMS layers are configured with EPSG: 32743. When I add Google map as given in the Open Layers example, it showing Google map perfectly, but I am unable to find my WMS layers Data. Even I tried with CQL filter on feature ID, but unable to locate any of the feature from my WMS data. I think I need to re-project my data to match with the Google map projections. Please can anyone let me know how to do it? And one more query, how to set the zoomtoMaxExtent property such that the screen should fit with my WMS layers extent with background Google map (I do not want to set the Google map bounding box)

Thanks & Regards,
Jaishankar

________________________________
DISCLAIMER:

This email may contain confidential information and is intended only for the use of the specific individual(s) to which it is addressed. If you are not the intended recipient of this email, you are hereby notified that any unauthorized use, dissemination or copying of this email or the information contained in it or attached to it is strictly prohibited. If you received this message in error, please immediately notify the sender at Infotech or Mail.Admin at infotech-enterprises.com<mailto:Mail.Admin at infotech-enterprises.com> and delete the original message.

_______________________________________________
Users mailing list
Users at lists.osgeo.org<mailto:Users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/openlayers-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110728/46383561/attachment-0001.html


More information about the Users mailing list