{"id":28457393,"url":"https://github.com/osgeonepal/obe","last_synced_at":"2026-06-15T05:34:26.451Z","repository":{"id":278601033,"uuid":"936132896","full_name":"osgeonepal/obe","owner":"osgeonepal","description":"Open Buildings Extractor","archived":false,"fork":false,"pushed_at":"2025-11-20T21:30:59.000Z","size":2892,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-15T05:34:19.064Z","etag":null,"topics":["buildings","download","gis","google","microsoft","opensource","osm","overture"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/obe/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osgeonepal.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-20T15:26:04.000Z","updated_at":"2025-11-20T21:31:01.000Z","dependencies_parsed_at":"2025-02-20T17:35:42.680Z","dependency_job_id":"2403ae68-e085-4f5a-b46d-b6bb1c2345ce","html_url":"https://github.com/osgeonepal/obe","commit_stats":null,"previous_names":["kshitijrajsharma/obe","osgeonepal/obe"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/osgeonepal/obe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osgeonepal%2Fobe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osgeonepal%2Fobe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osgeonepal%2Fobe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osgeonepal%2Fobe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osgeonepal","download_url":"https://codeload.github.com/osgeonepal/obe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osgeonepal%2Fobe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34349925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["buildings","download","gis","google","microsoft","opensource","osm","overture"],"created_at":"2025-06-06T23:30:58.313Z","updated_at":"2026-06-15T05:34:26.445Z","avatar_url":"https://github.com/osgeonepal.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OBE (Open Buildings Extractor)\n\nA Python package to extract building footprints from multiple open data sources including Google Open Buildings, Microsoft Building Footprints, OpenStreetMap, and Overture Maps.\n\n## Example\n\nRun Example Notebook [here:](./example_obe_usage.ipynb)\n\n## Features\n\n- Extract building footprints from multiple sources:\n  - **Google** Open Buildings\n  - **Microsoft** Building Footprints\n  - **OpenStreetMap**\n  - **Overture** Maps\n- Support for multiple output formats:\n  - GeoJSON\n  - GeoPackage\n  - Shapefile\n  - GeoJSONSeq\n  - GeoParquet\n- Command-line\n- Python API\n- [Streamlit web interface](https://obextract.streamlit.app/)\n\n## Installation\n\nUsing pip:\n\n```bash\npip install obe\n```\n\nUsing poetry\n\n```bash\npoetry add obe\n```\n\n## Usage\n\n### Command line interface\n\n```bash\nobe --source \u003csource\u003e --input \u003cinput.geojson\u003e --output \u003coutput.geojson\u003e\n```\n\n### Examples:\n\n```bash\n# Google Open Buildings\nobe --source google --input area.geojson --output google_buildings.geojson\n\n# Microsoft Building Footprints (requires location)\nobe --source microsoft --input area.geojson --output ms_buildings.geojson --location Nepal\n\n# OpenStreetMap\nobe --source osm --input area.geojson --output osm_buildings.geojson\n\n# Overture Maps\nobe --source overture --input area.geojson --output overture_buildings.geojson\n```\n\n### Python API\n\n```python\nfrom obe.app import download_buildings\n\n# Download buildings from any source\ndownload_buildings(\n    source=\"google\",  # or \"microsoft\", \"osm\", \"overture\"\n    input_path=\"area.geojson\",\n    output_path=\"buildings.geojson\",\n    format=\"geojson\",  # or \"geopackage\", \"shapefile\", \"geojsonseq\", \"geoparquet\"\n    location=None  # required for Microsoft (\"Nepal\", \"India\", etc.)\n)\n```\n\n### Example Input\n\n```json\n{\n  \"type\": \"FeatureCollection\",\n  \"features\": [\n    {\n      \"type\": \"Feature\",\n      \"properties\": {},\n      \"geometry\": {\n        \"type\": \"Polygon\",\n        \"coordinates\": [\n          [\n            [83.96184435207743, 28.212767538129086],\n            [83.96184435207743, 28.20236573207498],\n            [83.97605449676462, 28.20236573207498],\n            [83.97605449676462, 28.212767538129086],\n            [83.96184435207743, 28.212767538129086]\n          ]\n        ]\n      }\n    }\n  ]\n}\n```\n\n### Example Output\n\n![image](https://github.com/user-attachments/assets/a7646d95-f80d-49ed-afc9-1189055ea890)\n\n### Authors\n\n- Initiated by @kshitijrajsharma\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosgeonepal%2Fobe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosgeonepal%2Fobe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosgeonepal%2Fobe/lists"}