Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DC building footprint import

Work in progress, do not use for import yet

Generates an OSM file of buildings with addresses per DC census tract, ready to be used in JOSM for a manual review and upload to OpenStreetMap.

Source data

Features

  • Conflates buildings and addresses
  • Cleans address names
  • Exports one OSM XML building file per DC census tract
  • Exports OSM XML address files for addresses that pertain to buildings with more than one address
  • Handles multipolygons
  • Simplifies building shapes

Usage

Run all stages:

# Download all files and process them into a building
# and an address .osm file per census tract.
make

You can run stages separately, like so:

# Download and expand all files, reproject
make download

# Chunk address and building files by census tracts
make chunks

# Generate importable .osm files.
# This will populate the osm/ directory with one .osm file per
# DC census tract.
make osm

# Clean up all intermediary files:
make clean

# Sometimes useful: convert only specific census tracts.
# Convert only census tract 000100.
python convert.py 000100

Related

About

Restart that ole DC building footprint import

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors