https://github.com/quartz/growing-cities
Experimental Landsat image processing for analysis of fast-growing cities
https://github.com/quartz/growing-cities
project qz-things
Last synced: 8 months ago
JSON representation
Experimental Landsat image processing for analysis of fast-growing cities
- Host: GitHub
- URL: https://github.com/quartz/growing-cities
- Owner: Quartz
- Created: 2016-03-17T01:49:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-12T16:25:18.000Z (over 8 years ago)
- Last Synced: 2025-01-12T02:03:53.665Z (9 months ago)
- Topics: project, qz-things
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
growing-cities
==============Based on Ruby code written by ProPublica for their [Las Vegas Growth Map](https://projects.propublica.org/las-vegas-growth-map/).
Setup
-----Requires Python 2.7 and GDAL.
```
mkvirtualenv growing-cities
pip install requests lxml cssselect invoke pyyaml rasterio scikit-imagegem install net
gem install nokogiri
gem install fileutils# Install GDAL with Python support
brew install gdal --with-python --with-python3 --with-postgresql# Hotlink GDAL python modules into virtualenv
echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/cgroskopf/.virtualenvs/growing-cities/lib/python2.7/site-packages/homebrew.pth# Install Google Cloud utils for downloading files
pip install gsutil# Install linux tar utility
brew install gnu-tar --with-default-namesmkdir data
python main.py tyler.yml
```TODO
----* Purge cloud cover
* Balance colors
* Pansharpen Landsat 8 images
* Skip nighttime images