Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 1.41 KB

README.md

File metadata and controls

54 lines (45 loc) · 1.41 KB

Geospartial MapReduce

Install Gdal

Get gdal development libraries:

$ sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
$ sudo apt-get update
$ sudo apt-get install libgdal-dev
$ sudo apt-get install python3-dev
$ sudo apt-get install gdal-bin python3-gdal

Install virtual enviroment

$ sudo apt-get install virtualenv

Create and activate a virtual environment

$ virtualenv env -p python3
$ source env/bin/activate

Install Requirements

(env)$ pip3 install -r requirements.txt

Install GDAL Python lib

(env)$ pip3 install GDAL==$(gdal-config --version) --global-option=build_ext --global-option="-I/usr/include/gdal"

Dataset

Download link

mkdir data/
ls data/
    LC08_220069_20190213.tif
    LC08_220069_20190520.tif
    ...

Execute

(env)$ python3 main.py
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.