/athena-buildings

A script that queries OSM using AWS Athena for buildings in a given bounding box. Demo:

Primary LanguagePythonMIT LicenseMIT

athena-buildings

A script that queries OpenStreetMap using AWS Athena for buildings in a given bounding box.

Install

  1. Setup the virtualenv
  $ virtualenv -p python3 venv
  1. Install the requirements
  $ pip install -r requirements.txt
  1. Copy the .env file and fill it
  $ cp .env.example .env

Run

  $ 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.