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
.envfile and fill it
$ cp .env.example .env $ python get_buildings.pyThis 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.