Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm relatively new to GIS, but what I'd like to do is display map layers on top of Google Maps.

From what I understand, mapserver provides the tiles that can be overlaid onto a Google Maps page.

I'm proficient with HTML, JavaScript, unix, and PHP so technically this shouldn't be a problem, but I'm finding a severe lack of resources when I am trying to find out how one gets started. The mapserver documentation seems to be a little over the place, and Google results aren't helping.

Where does one get started with GIS and mapserver with a view to integrate on top of Google Maps?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

First you'll need to set up MapServer as a WMS, then you'll need a tile cache to produce the tiles and store them. This guide should get you started with that.

Then only real catch is that Google think the Earth is round and made up their own projection so you'll need to serve your tiles in epsg:900913 but most (all?) the tile caches mentioned in the above guide will handle that for you.

share|improve this answer
1  
We got a mapserver set up, and ended up going with Leaflet.js ( leaflet.cloudmade.com ) as opposed to Google Maps JS API and are enjoying it much more. –  djlumley Jan 30 '12 at 22:45
    
Once you have a WMS set up, how do you tell Google Earth to display the tile cache? I guess you put some sort of network link in a KML file, but what do the contents of the KML file look like that point to the map server? –  LarsH May 8 '13 at 18:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.