AALU_Geo Mining
This repository is produced for a masterclass at the Architectural Association Landscape Urbanism programme.
Requirements
- Rhinoceros (7)
- Python 3 (ideally 3.7 +)
to live connect to Earth Engine
Installation
- open a Terminal (mac) or run PowerShell (win)
- change directory to your desidered path
example: cd /Users/xxx/Desktop/
- git clone https://github.com/neriiacopo/AALU-GeoMining.git
- enter the repository
cd AALU-GeoMining
- create the virtual environment
python -m venv env_GeoMining
- mac:
source /env_GeoMining/bin/activate
- win:
.\env_GeoMining\Scripts\activate
- install dependencies
pip install -r requirements.txt
- authenticate to Earth Engine
- Locally store your credentials to access Earth Engine
python hello_ee.py
Usage
- Change directory in the Terminal/PowerShell to repository folder
- Activate your virtual environment (as explained above)
- Connect Grasshopper to Earth Engine via Hops
python import_ee.py
Troubleshooting
-
if
.\env_GeoMining\Scripts\activate
fails to run in Windows- make sure you run Powershell as Administrator
Set-ExecutionPolicy RemoteSigned
y
.\env_GeoMining\Scripts\activate
-
if any of the Python scripts fails to run
- check if you Python2 installed as well and make sure to call Python3
python3 -m venv env_GeoMining
python3 hello_ee.py
python3 import_ee.py