Skip to content

Instantly share code, notes, and snippets.

@briantjacobs
Last active August 28, 2024 07:14
Show Gist options
  • Select an option

  • Save briantjacobs/ae5510ca84ef172b2f5f to your computer and use it in GitHub Desktop.

Select an option

Save briantjacobs/ae5510ca84ef172b2f5f to your computer and use it in GitHub Desktop.
Storytelling from Space

Storytelling from Space

Acquiring Landsat

Web Interface

Scripting

Processing Landsat

Background

Photoshop

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 ```

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 <https://www.mapbox.com/blog/pansharpening-satellite-imagery-openstreetmap/>
 

### GIS

QGIS

	```	
	brew tap homebrew/science
	brew install qgis24 --with-grass7 --with-orfeo
	
	# May need: <https://xquartz.macosforge.org/landing/>
	# May also need:
	sudo pip install psycopg2
	echo 'export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages' >> ~/.bash_profile
	


## Web imagery

* GDAL2Tiles  
<http://www.gdal.org/gdal2tiles.html>

* MapTiler
<http://www.maptiler.org/>

* TileMill  
<https://www.mapbox.com/tilemill/>

* SimpleTiles / SimplerTiles (Ruby)
<http://propublica.github.io/simple-tiles/>
<http://propublica.github.io/simpler-tiles/>


## Storytelling

* JuxtaposeJS - Compare two images  
<http://juxtapose.knightlab.com/>

* Leaflet (see tileLayer or imageOverlay)  
<http://leafletjs.com/>
 
* Leaflet.Sync   
<https://github.com/turban/Leaflet.Sync>
 
* Google Earth   
<https://www.google.com/earth/>

* Google Earth Tutorial for GeoTiff  
<http://www.google.com/earth/outreach/tutorials/importgis.html>


## In the wild
* Losing Ground (ProPublica / The Lens)  

* Disappering Mississppi Delta (SkyTruth)
<http://blog.skytruth.org/2014/09/disappearing-mississippi-delta-1972-2014.html>
* Long Swath  
<http://earthobservatory.nasa.gov/Features/LDCMLongSwath/>  
* Long Swath Gigapan: <http://gigapan.com/gigapans/9741ab68dda60a8b05b9c1bfce147500>
* NYTimes: A Rogue State Along Two Rivers  
	<http://www.nytimes.com/interactive/2014/07/03/world/middleeast/syria-iraq-isis-rogue-state-along-two-rivers.html>
* NYTimes: Assessing the Damage and Destruction in Gaza
	<http://www.nytimes.com/interactive/2014/08/03/world/middleeast/assessing-the-damage-and-destruction-in-gaza.html>
* NYTimes: ISIS in Maps and Photos 
	<http://www.nytimes.com/interactive/2014/06/12/world/middleeast/the-iraq-isis-conflict-in-maps-photos-and-video.html>
* Monitoring Oil Reserves from Space  
<https://www.mapbox.com/blog/Monitoring-oil-reserves-from-space/>
* Animated Gifs of Earth over time (Google Earth Engine)
<https://plus.google.com/b/106191537604091348855/photos/+GoogleEarth/albums/5875822979804092129>
* Hurricaine Sandy before/after  
<http://oceanservice.noaa.gov/news/weeklynews/nov12/ngs-sandy-imagery.html>

## Misc

* Installing Open Source geographic software  
<https://github.com/nvkelso/geo-how-to/wiki/Installing-Open-Source-Geo-Software:-Mac-Edition>

* Web interface for CS2CS, quickly convert coordinates  
<http://cs2cs.mygeodata.eu/>

* Find the EPSG from WKT from gdalinfo  
<http://www.prj2epsg.org/search>

* Geojson.io - Draw geographic things, get info and export
<http://geojson.io/>

* Noah Veltman's geotools - Easily get bounding boxes and such
<http://dev.noahveltman.com/geotools/>
	
	
@JeanAbbiateci
Copy link

Great selection !

This a interactive piece of journalism i made for Le Temps, a Swiss Newspaper, on Gaza. Perhaps it may interest you...http://www.letemps.ch/interactive/2014/gaza-radiographie/

@briantjacobs
Copy link
Author

Wow. Great work. Thanks for posting.

@moklick
Copy link

moklick commented Jul 6, 2016

Hey @briantjacobs,

thanks for the collection :)

We also did a project about how green German cities really are where we used satellite imagery:
http://interaktiv.morgenpost.de/gruenste-staedte-deutschlands/

Belonging tutorial:
http://blog.webkid.io/analysing-satellite-images-with-google-earth-engine/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment