mariamrf / athena-buildings

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

Home Page:https://mariam.dev/athena-buildings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://mariam.dev/athena-buildings

License:MIT License


Languages

Language:Python 100.0%