Commit c3cb1c6b authored by Sarah Heidekorn's avatar Sarah Heidekorn
Browse files

Update README.md

parent 35ce7522
......@@ -2,3 +2,40 @@ Here you can find an example and use case for the ohsome API using jupyter noteb
In this special case it is about the use forest-related OSM-tags for four Canadian regions.
Further examples of potential uses of the ohsome API can be found [here](https://github.com/GIScience/ohsome-examples) or be read about on the GIScience blog series on [how to become ohsome](http://k1z.blog.uni-heidelberg.de/tag/become-ohsome/).
## Local Installation
Get the git repository.
```bash
git clone https://gitlab.gistools.geog.uni-heidelberg.de/giscience/big-data/ohsome/ohsome-api-analysis-examples/ohsome-green-regions.git
cd ohsome-green-regions
```
### Set up and activate virtual environment:
```bash
# Linux
python3 -m venv venv
source venv/bin/activate
```
or
```bash
# Windows
python3 -m venv venv
cd venv/Scripts
activate
cd ../..
```
### Install all required python-packages.
```
pip install -r requirements.txt
ipython kernel install --user --name=ohsome-green-regions
```
### Run jupyter notebook.
```bash
jupyter notebook
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment