Created
September 24, 2011 01:49
-
-
Save erikhazzard/1238842 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gdal_translate -of PNG -a_srs EPSG:4326 -a_ullr -127.62 50.41 -66.42 21.61 original_image.png temp_output1.png | |
gdalwarp -t_srs '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs' temp_output1.png temp_output2.png | |
gdal_translate -of PNG -outsize 80% 80% temp_output2.png reprojected_image.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment