https://github.com/caged/osm-building-import
The old college try to prepare and import Portland, OR building data into OpenStreetMap.
https://github.com/caged/osm-building-import
Last synced: 9 months ago
JSON representation
The old college try to prepare and import Portland, OR building data into OpenStreetMap.
- Host: GitHub
- URL: https://github.com/caged/osm-building-import
- Owner: caged
- License: mit
- Created: 2014-10-10T16:03:30.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-15T16:24:04.000Z (over 11 years ago)
- Last Synced: 2025-01-20T10:48:27.761Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 1.01 MB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
### Portland, Oregon OpenStreetMap Building Import

### Getting started
``` bash
# Pulls down portland building footprints, addresses, election precincts and existing
# OSM building data and imports the data into the pdx_osm database
script/bootstrap -d pdx_osm
# Runs all the required alterations that prepares all addresses and buildings
# for OSM import.
script/finalize -d pdx_osm
# Exports buildings in all precincts or the supplied precinct to an OSM file reacy
# for validation in JOSM
script/export -d pdx_osm [-p PRECINCT_NUMBER]
```
### Development Guidelines
* **Have fun!**
* **Never leave the bootstrap process broken or partially functioning.** Anyone who
wishes to contribute should be able to run one or two commands to get a fully
functioning version of the source and relevant data.
* **Document *everything*.** Think about the individuals who will read your
code six months from now.
* **Consider raw source data immutable.** All tables
created in the bootstrap process should be considered immutable so we always have
a clean data set to work from without having to rebootstrap.
* **Never rename properties or change values during a bootstrap operation.** There are two
exceptions. You should transform all geometry data to EPSG:4326, and you can
filter which properties are retained. However, you should never exclude
records from raw data during the import/download process.
For instance, if data contains name, address and type, it's ok to include only
name and type in the resulting file, but you shouldn't remove records with type=school
and you shouldn't alter the data to change things like St. to Street. These transformations
will take place later on.
### Thanks
Without the fantastic work of the projects that come before this and the effort of
those involved, this project would not exist. They were a great source of inspiration
and invaluable resources.
* [Importing 1 Million New York City buildings and addresses](http://www.openstreetmap.org/user/lxbarth/diary/23588)
* [pdxosgeo/pdxbldgimport](https://github.com/pdxosgeo/pdxbldgimport)