# Storytelling from Space ## Acquiring Landsat ### Web Interface * USGS Earth Explorer ### Scripting * Landsatutil (Development Seed) * Google Earth Engine ## Processing Landsat ### Background * Landsat 7/8 bands and combinations ### Photoshop * How To Make a True-Color Landsat 8 Image (Rob Simmon, NASA) * Processing Landsat 8 (Tom Patterson) * Avenza Geographic Imager ### GIMP ### Scripting ##### GDAL - Geospatial Data Abstraction Library * Install GDAL ``` brew install gdal --enable-unsupported --with-postgres ``` * Install ImageMagick (especially for scripts below) ``` brew install imagemagick ``` * GDAL cheatsheet - Derek Watkins (NYTimes) * Processing Satellite Imagery (Mapbox) * Dan's Gdal scripts * Pansharpening Landsat 7 with Dan's scripts * Convert Landsat 8 GeoTIFF images into RGB pan-sharpened JPEGs. * Gdalinfo / ogrinfo * Gdalwarp. Reproject, crop, and resize imagery. ``` gdalwarp --config GDAL_CACHEMAX 3000 -t_srs EPSG:3857 -r lanczos -ts [WIDTH_IN_PIXELS] 0 -te [LOWER_LEFT_LAT] [LOWER_LEFT_LONG] [UPPER_LEFT_LAT] [LOWER_RIGHT_LONG] [INPUT] [OUTPUT] ``` * Gdal_translate ``` gdal_translate -of png [INPUT] [OUTPUT] ``` ``` gdal_translate -b 1 -b 2 -b 3 -of jpeg -co QUALITY=80 [INPUT] [OUTPUT] ``` ##### ImageMagick - Command-line photoshop * ##### Orfeo * Pansharpening with Orfeo ### GIS QGIS ``` brew tap homebrew/science brew install qgis24 --with-grass7 --with-orfeo # May need: # May also need: sudo pip install psycopg2 echo 'export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages' >> ~/.bash_profile ## Web imagery * GDAL2Tiles * MapTiler * TileMill * SimpleTiles / SimplerTiles (Ruby) ## Storytelling * JuxtaposeJS - Compare two images * Leaflet (see tileLayer or imageOverlay) * Leaflet.Sync * Google Earth * Google Earth Tutorial for GeoTiff ## In the wild * Losing Ground (ProPublica / The Lens) * Disappering Mississppi Delta (SkyTruth) * Long Swath * Long Swath Gigapan: * NYTimes: A Rogue State Along Two Rivers * NYTimes: Assessing the Damage and Destruction in Gaza * NYTimes: ISIS in Maps and Photos * Monitoring Oil Reserves from Space * Animated Gifs of Earth over time (Google Earth Engine) * Hurricaine Sandy before/after ## Misc * Installing Open Source geographic software * Web interface for CS2CS, quickly convert coordinates * Find the EPSG from WKT from gdalinfo * Geojson.io - Draw geographic things, get info and export * Noah Veltman's geotools - Easily get bounding boxes and such