{"id":19339763,"url":"https://github.com/rubenv/osmtopo","last_synced_at":"2026-05-14T18:32:09.803Z","repository":{"id":29273436,"uuid":"32806144","full_name":"rubenv/osmtopo","owner":"rubenv","description":"OpenStreetMap topology extraction tools","archived":false,"fork":false,"pushed_at":"2018-08-30T08:26:46.000Z","size":5378,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T08:27:19.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/rubenv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-24T15:08:15.000Z","updated_at":"2018-08-30T08:26:47.000Z","dependencies_parsed_at":"2022-08-29T20:51:08.856Z","dependency_job_id":null,"html_url":"https://github.com/rubenv/osmtopo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rubenv/osmtopo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenv%2Fosmtopo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenv%2Fosmtopo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenv%2Fosmtopo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenv%2Fosmtopo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubenv","download_url":"https://codeload.github.com/rubenv/osmtopo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenv%2Fosmtopo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33037808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":[],"created_at":"2024-11-10T03:23:45.522Z","updated_at":"2026-05-14T18:32:09.780Z","avatar_url":"https://github.com/rubenv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenStreetMap topology extraction tools\n\nTools to work with OpenStreetMap topology data, ideal if you want to extract\nuseful shapes for use in maps.\n\nWork in progress!\n\n[![Build Status](https://travis-ci.org/rubenv/osmtopo.svg?branch=master)](https://travis-ci.org/rubenv/osmtopo)\n\n## Installing\n\n```\ngo install github.com/rubenv/osmtopo/bin/osmtopo\n```\n\nOr use the Docker image, which is available here: https://hub.docker.com/r/rubenv/osmtopo/\n\n```\nalias osmtopo=\"docker run -ti --rm -v $(pwd):/data docker.io/rubenv/osmtopo\"\n```\n\nBe sure to put your data store in /data when using the alias above\n\n## Quick start\n\nGet a suitable water polygon first:\n\n```\nosmtopo -d /path/to/store water download /tmp/water.zip\n```\n\nImport it:\n\n```\nosmtopo -d /path/to/store water import /tmp/water.zip\n```\n\nFind a suitable data set:\n\n* Either one of the PBF files at GeoFabrik: http://download.geofabrik.de/\n* Or the entire world: http://planet.openstreetmap.org/pbf/planet-latest.osm.pbf\n\nNote that big data sets take a long time to process, you've been warned!\n\nImport it:\n\n```\nosmtopo -d /path/to/store import belgium-latest.osm.pbf netherlands-latest.osm.pbf\n```\n\n## Troubleshooting\n\n### panic: file open: open belgium-latest.osm.pbf: too many open files\n\nYou're probably using a Mac, which has idiotically low open file limits by default.\n\nTry the following:\n\n```\nulimit -n 1024\n```\n\n### It's using too much memory / CPU\n\nWorking with big data isn't for the faint of heart. I don't recommend running\nthis on a Raspberry Pi. Get something with an SSD, a beefy CPU and 16+GB of\nRAM.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubenv%2Fosmtopo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubenv%2Fosmtopo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubenv%2Fosmtopo/lists"}