{"id":28482155,"url":"https://github.com/osmlab/osm-place-ranks","last_synced_at":"2025-10-08T09:51:08.587Z","repository":{"id":4911323,"uuid":"6067587","full_name":"osmlab/osm-place-ranks","owner":"osmlab","description":null,"archived":false,"fork":false,"pushed_at":"2012-10-04T15:43:23.000Z","size":301,"stargazers_count":17,"open_issues_count":1,"forks_count":6,"subscribers_count":67,"default_branch":"master","last_synced_at":"2025-06-07T20:09:31.219Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osmlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-03T22:03:16.000Z","updated_at":"2022-10-17T01:48:58.000Z","dependencies_parsed_at":"2022-09-25T02:20:58.162Z","dependency_job_id":null,"html_url":"https://github.com/osmlab/osm-place-ranks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/osmlab/osm-place-ranks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-place-ranks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-place-ranks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-place-ranks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-place-ranks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmlab","download_url":"https://codeload.github.com/osmlab/osm-place-ranks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-place-ranks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262927825,"owners_count":23386034,"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":"2025-06-07T20:09:31.896Z","updated_at":"2025-10-08T09:51:03.542Z","avatar_url":"https://github.com/osmlab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OSM Place-ranks\n\nJoins city rankings from Natural Earth into OSM data with fuzzy matching.\n\n### Setup:\n\n- Create a PostGIS-enabled PostgreSQL database if you do not have one. By\n  default this script assumes it is named 'osm'.\n- Import the Natural Earth cities information included here. Eg:\n  `psql -U postgres -f ne_cities.sql -d osm`\n- Import OSM places with Imposm if you have not already. These can be from a\n  full planet dump, a regional extract, an Overpass API query...\n- Make sure the Python package 'unidecode' is installed. Eg:\n  `sudo pip install unidecode`\n\n### Usage:\n\n    python rank-places.py | psql -U \u003cpg_user\u003e \u003cpg_database\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmlab%2Fosm-place-ranks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosmlab%2Fosm-place-ranks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmlab%2Fosm-place-ranks/lists"}