by snowdonjames

Overlays kml data on a user specified image

124 Stars 23 Forks Last release: Not found MIT License 10 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


This python script parses kml data file(s) ( see ) and renders arcs contained within over a user specified image. Although the choice of image is open, map and satellite data are recommended.

This script is intended for use with latitude data obtained from‎ and converted to kml using the latitude-json-converter created by Gerwin Sturm and Kyle Krafka.


This script requires the Python Imaging Library (PIL) to run - please obtain from

Simply run the file inside of a directory containing:

  • All kml files to be rendered
  • An image file for the kml arcs to be plotted on
  • A csv file named ImageData.csv containing the following fields (in this order): image file name,top edge latitude,bottom edge latitude,left edge longitude,right edge longitude,(optional)x coordinate nudge,(optional)y coordinate nudge

Upon completion, an output file should be created in the directory named LatitudeData.png

Examples of use are at my personal website

Example csv format:

For use with (Southern United Kingdom)

7pZFD7s.jpg,52.939176, 49.031686, -5.894165, 0.453186,-30,-5


for use with (whole United Kingdom)

CjyohmR.jpg,59.925110, 48.892321, -11.096191, 1.944580,-2,10

This tool helps with finding the latitude and longitude of image corners:

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.