Hi Khaoula,
Then you need to publish your postgis layer in geoserver through wms and add
it on top of google base map through google.maps.ImageMapType. Make sure you
use the url for GeoWebCache instead of geoserver wms url directly.
You will have to tweak the coordinates you get from google map a bit to
avoid offset of wms image overlay. Try to use epsg: 3857 instead of 4326.
Or if you think this is too much for you, using OpenLayers directly, which
has off shelf integration of Google map with other map services.
Thanks,
Guan
_____
From: Khaoula MIMID [mailto:[email protected]]
Sent: Thursday, March 07, 2013 12:24 PM
To: geoserver-users
Subject: Re: [Geoserver-users] overlay postgis layers on google maps
Hello,
thank you Jacinto for your answer.
I am sorry my question wasn't clear. In fact, i am trying to develop a web
page where i can show the 2 layers (google maps and a postgis layer) in
java. i know how to show a googlemaps base map in web page and how to
publish a postgis layer in geoserver. what i need is how to develop a web
page to show 2 layers : google maps as baselayer and the postgis layer
served by the geoserver as an overlay layer i found this tutoriel
http://enterprisegeospatial.blogspot.com/2012/11/working-with-google-maps-ap
i-v3-and.html, and i don't know if it is the right one to follow, i am still
a newbie in webmapping.
thank you very much.
2013/3/7 Khaoula MIMID <[email protected]>
hello List,
Does anybody have any idea how to overlay postgis layers on google maps in
geoserver
thank you all
--
_____________________________________
Khaoula MIMID
Élève ingénieur - 3ème Sciences d'Information Géographique
Ecole Hassania des Travaux Publics
Tél : (+212) 06 11 95 37 52
E-mail : [email protected]
_____________________________________
<mailto:[email protected]>
--
_____________________________________
Khaoula MIMID
Élève ingénieur - 3ème Sciences d'Information Géographique
Ecole Hassania des Travaux Publics
Tél : (+212) 06 11 95 37 52
E-mail : [email protected]
_____________________________________
<mailto:[email protected]>
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users