{"id":19343411,"url":"https://github.com/mrfoxpro/osm-admin-boundaries-experiments","last_synced_at":"2025-10-23T19:20:43.266Z","repository":{"id":241931622,"uuid":"808241813","full_name":"MrFoxPro/osm-admin-boundaries-experiments","owner":"MrFoxPro","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-08T06:40:18.000Z","size":41690,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-06T12:46:25.363Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/MrFoxPro.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-30T17:02:28.000Z","updated_at":"2024-07-08T06:40:21.000Z","dependencies_parsed_at":"2024-05-30T20:12:59.151Z","dependency_job_id":"068b0063-de7a-43f5-bcae-a2fa7f8d08cd","html_url":"https://github.com/MrFoxPro/osm-admin-boundaries-experiments","commit_stats":null,"previous_names":["mrfoxpro/osm-admin-boundaries-experiments"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFoxPro%2Fosm-admin-boundaries-experiments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFoxPro%2Fosm-admin-boundaries-experiments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFoxPro%2Fosm-admin-boundaries-experiments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrFoxPro%2Fosm-admin-boundaries-experiments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrFoxPro","download_url":"https://codeload.github.com/MrFoxPro/osm-admin-boundaries-experiments/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240449890,"owners_count":19803125,"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-10T03:38:14.507Z","updated_at":"2025-10-23T19:20:43.179Z","avatar_url":"https://github.com/MrFoxPro.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"### semi-manual planet parsing\nDownload full OSM planet in PBF format  \nFilter it with `cargo run --release -- --filter` (configure as you want) or with `osmfilter`, but need to convert from pbf to osm/o5m, process, and convert back (too much space)  \nCollect all info you need from filtered file, it's quite fast. Use https://github.com/AndGem/osm_extract_polygon. Works not very well, but code very simple and I just fixed it and recompiled. Maybe will contribue/fork this.  \nIt's better to combine resulting regions in single file, but I didn't find convinient way to deal with this huge files. JavaScript just can't handle this large files.  \n\n### overpass \nkinda cringle\nslow, unintuitive. doesn't produce PBF. produces OSM in `out geom` mode which is not compatable with most readers (it includes node coordinates directly into node tags, not separate entities)  \nthree ways to get geojson from overpass:  \n1) download from ui:  https://maps.mail.ru/osm/tools/overpass/index.html (will hang for big queries, e.g. admin_level=4)  \n2) github.com/tyrasd/osmtogeojson - javascript (oof), slow, need 13gb (lol) to process 800mb file  \n3) use `convert item ::=::,::geom=geom(),_osm_type=type();` in query. But it produces something weird.   \nResults from all ways are different, so probably it's not worth to use overpass at all.  \nAlso, using overpass boundaries results in worse output than using boundaries as in `semi-manual planet parsing`  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrfoxpro%2Fosm-admin-boundaries-experiments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrfoxpro%2Fosm-admin-boundaries-experiments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrfoxpro%2Fosm-admin-boundaries-experiments/lists"}