Skip to content

MapABQ Script for processing Microsoft Building footprint data

Notifications You must be signed in to change notification settings

mapabq/building-processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Albuquerque OpenStreetMap Building import processing

Overview

a Python >=3.6 script for processing Microsoft buildings footprints for bulk import into OpenStreetMap.

Methodology

Buildings are grouped in census tracts by census blocks if the census block does not already contain OpenStreetMap user contributions of buildings where building="yes" (as of February 11 2019). Current OSM building data is held in the abq_building.geojson file. Census blocks are held in the blocks_wgs84.geojson file. The Microsoft building footprint data for New Mexico can be downloaded here.

C/C++ dependencies

Python

Python dependencies are managed with pipenv after cloning the repo run:

pipenv install

libaries used

Code is formatted with black

Docker

A Dockerfile is provided for running the script in a container to keep host dependencies clean, this is probably the easiest way to run the script. Requires a volume argument to save data on host system.

git clone 
cd abq-buildings-process
docker build . -t mapabq-building-split
docker run -v /path/to/out/folder:/out mapabq-building-split

About

MapABQ Script for processing Microsoft Building footprint data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published