Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a bunch of map tiles for Google Maps mistakenly using the Google Earth projection. Is there a tool available to batch warp the KML files to the correct projection or will I need to generate the tiles again from scratch?

share|improve this question
How did you create the tiles originally? – Mapperz May 10 '13 at 19:05
I used MapTiler with the output set to Google Earth KML as I didn't realise that Maps and Earth use a different projection. My map (in progress...) is at and I have some old maps to add as image overlays, which I was hoping to do as KML overlays. – user112705 May 10 '13 at 23:40
Google Maps API KML support is limited. You most like want to use the custom tiles method here – Mapperz May 11 '13 at 1:02

Check out the open-source GDAL/OGR utilities - (the OGR part)
ogr2ogr.exe is a command-line tool which can be used in the FOR loop in a batch file to go through all your files and transform them. (for example in windows you create a *.bat file and put your DOS code for looping there).

In the OGR link above there is also a nice example for reprojecting a shapefile, you can apply it to your KML file.

share|improve this answer

Your Answer


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.