Commit 78e4953a authored by Martin Raifer's avatar Martin Raifer
Browse files

Merge branch 'sarah.heidekorn-main-patch-23496' into 'main'

add README and requirements.txt

See merge request !2
parents d8c7406f b228bd5f
Here you can find an example and use case for the ohsome API using jupyter notebooks.
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