{"id":21008002,"url":"https://github.com/caged/osm-building-import","last_synced_at":"2025-10-03T14:02:12.208Z","repository":{"id":21721274,"uuid":"25042870","full_name":"caged/osm-building-import","owner":"caged","description":"The old college try to prepare and import Portland, OR building data into OpenStreetMap.","archived":false,"fork":false,"pushed_at":"2014-10-15T16:24:04.000Z","size":1063,"stargazers_count":2,"open_issues_count":9,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-20T10:48:27.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caged.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-10T16:03:30.000Z","updated_at":"2017-11-11T00:07:51.000Z","dependencies_parsed_at":"2022-08-17T16:55:15.981Z","dependency_job_id":null,"html_url":"https://github.com/caged/osm-building-import","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Fosm-building-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Fosm-building-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Fosm-building-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Fosm-building-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caged","download_url":"https://codeload.github.com/caged/osm-building-import/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243428437,"owners_count":20289318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T09:11:09.413Z","updated_at":"2025-10-03T14:02:07.169Z","avatar_url":"https://github.com/caged.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Portland, Oregon OpenStreetMap Building Import\n\n![coverage](https://cloud.githubusercontent.com/assets/25/4600812/150fcace-50de-11e4-9703-2f3c0f0926c5.png)\n\n### Getting started\n\n``` bash\n# Pulls down portland building footprints, addresses, election precincts and existing\n# OSM building data and imports the data into the pdx_osm database\nscript/bootstrap -d pdx_osm\n\n# Runs all the required alterations that prepares all addresses and buildings\n# for OSM import.  \nscript/finalize -d pdx_osm\n\n# Exports buildings in all precincts or the supplied precinct to an OSM file reacy\n# for validation in JOSM\nscript/export -d pdx_osm [-p PRECINCT_NUMBER]\n\n```\n\n### Development Guidelines\n* **Have fun!**  \n* **Never leave the bootstrap process broken or partially functioning.**  Anyone who\n  wishes to contribute should be able to run one or two commands to get a fully\n  functioning version of the source and relevant data.  \n* **Document *everything*.**  Think about the individuals who will read your\n  code six months from now.\n* **Consider raw source data immutable.** All tables\n  created in the bootstrap process should be considered immutable so we always have\n  a clean data set to work from without having to rebootstrap.  \n* **Never rename properties or change values during a bootstrap operation.**  There are two\n  exceptions.  You should transform all geometry data to EPSG:4326, and you can\n  filter which properties are retained.  However, you should never exclude\n  records from raw data during the import/download process.\n\n  For instance, if data contains name, address and type, it's ok to include only\n  name and type in the resulting file, but you shouldn't remove records with type=school\n  and you shouldn't alter the data to change things like St. to Street. These transformations\n  will take place later on.\n\n### Thanks\n\nWithout the fantastic work of the projects that come before this and the effort of\nthose involved, this project would not exist.  They were a great source of inspiration\nand invaluable resources.\n\n* [Importing 1 Million New York City buildings and addresses](http://www.openstreetmap.org/user/lxbarth/diary/23588)\n* [pdxosgeo/pdxbldgimport](https://github.com/pdxosgeo/pdxbldgimport)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaged%2Fosm-building-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaged%2Fosm-building-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaged%2Fosm-building-import/lists"}