Skip to content

Instantly share code, notes, and snippets.

@andrelashley
Created November 13, 2014 22:04
Show Gist options
  • Save andrelashley/c62549554c3acbb57353 to your computer and use it in GitHub Desktop.
Save andrelashley/c62549554c3acbb57353 to your computer and use it in GitHub Desktop.
gdal_translate -of VRT -a_srs EPSG:4326 -gcp 0 0 -123.33878517150879 48.47343340149096 -gcp 1024 0 -123.25261116027832 48.47343340149096 -gcp 0 768 -123.33878517150879 48.45385501571936 -gcp 1024 768 -123.25261116027832 48.45385501571936 uvic.jpg output.vrt
gdalwarp -of VRT -t_srs EPSG:4326 output.vrt new_output.vrt
gdal2tiles.py -p geodetic -z 0-18 new_output.vrt
***gdal2tiles.py new_output.vrt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment