A script that queries OpenStreetMap using AWS Athena for buildings in a given bounding box.
- Setup the virtualenv
$ virtualenv -p python3 venv
- Install the requirements
$ pip install -r requirements.txt
- Copy the
.env
file and fill it
$ cp .env.example .env
$ python get_buildings.py
This gets the buildings in Iceland and stores it into a local GeoJSON file (in output
).
The class that actually gets the data is in models/buildings_generator.py.