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 have a Google Maps compatible tileset running on a local server and I can browse this in a browser with the Google Maps API and OpenLayers. Can I force Google Earth to use this tileset so I can navigate it in 3D or will it be incompatible? If so, where do I set the function or string that takes a zoom,row,column index and turns that into a URL? Is there some KML format somewhere?

share|improve this question
    
I saw this question: gis.stackexchange.com/questions/2096/… –  Jared Updike Jan 21 '11 at 1:13

3 Answers 3

up vote 1 down vote accepted

Unfortunately your existing tileset is not compatible with Google Earth, as it's been rendered in a different projection. There are some hacks to sort of force the tiles onto Earth, but it never looks great, especially near the poles.

Your best bet is to render a different set of tiles for 2d browsers (often using 'spherical mercator' projection that is epsg:3785) and 3d browsers (generally the basic 'unprojected' or cylindrical projection that is epsg:4326).

MapTiler / gdal2tiles does all this for you nicely if you have the source rasters still available.

share|improve this answer

Create a Google Earth SuperOverlay should work

http://code.google.com/p/maptiler/

http://www.maptiler.org/

share|improve this answer

I think what you're in the market is a "reflector" script that works with NetworkLink KML to automagically pull tiles in a fixed directory structure with a fixed filename convention and overlay them correctly.

Good news, it's do-able. Bad news, you have to roll up your sleeves a bit.

All of the math you need to figure out the bounding box for any given tile is on this page--

http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/

From there, it's a matter of setting up your NetworkLink structure and getting the tag to trigger the pulling of appropriate tiles as the user moves around.

BT

share|improve this answer

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.