Skip to content

Instantly share code, notes, and snippets.

View barbosaale's full-sized avatar

Alexandre Augusto Barbosa barbosaale

View GitHub Profile
barbosaale /
Created September 5, 2022 20:47 — forked from oliverwkim/
Helper file to create a geotiff from a given image or from an automatically downloaded satellite image from google maps which is centered around a given coordinate .
BST License
# Description
File to create geotiffs depends on gdal installed on system. Can be used under two modes:
1) Download a satellite overview screenshot from google maps around a center
coordinate. Can give zoom (max is usually 20, but depends on area - will return
an image with error message if zoom is too high) and image size
(defaults to max 640x640)
2) Convert an existing image into a geotiff by giving UL and LR corner