How To Use Python/GDAL to create a KML file from an Image?

R

Roger Zimmerman

Hi All,

I'd have a contour image file, in either svg, gif or png format. I
know the GPS coordinates for the four corners of the image. I'd like
to create a KML file from that image. I will view the KML file in
Google Earth or ARCGIS.

I understand that GDAL can do this, and I saw a tutorial for
GDAL2TILES. But I would like to do this function within Python. As I
am using Python to create the contour from a countour2d function.

Any suggestions on how to Georeference an image in Python? ( to turn
an image file into a KML file that can be opened by Google Earth). Are
there example Python scripts of how to do it somewhere?

Any ideas appreciated!

Cheers

Roger Zimmerman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top