Skip to content

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

License

Notifications You must be signed in to change notification settings

mariamrf/athena-buildings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages