{"id":46156438,"url":"https://github.com/krizleebear/osm-polygons","last_synced_at":"2026-03-02T10:02:37.006Z","repository":{"id":100166476,"uuid":"219286923","full_name":"krizleebear/osm-polygons","owner":"krizleebear","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-23T22:36:26.000Z","size":1386,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-24T00:18:59.825Z","etag":null,"topics":["geojson","geojson-data","openstreetmap","openstreetmap-data","reverse-geocoding"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krizleebear.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,"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":"2019-11-03T10:57:41.000Z","updated_at":"2025-11-18T22:50:25.000Z","dependencies_parsed_at":"2023-05-12T16:15:10.279Z","dependency_job_id":null,"html_url":"https://github.com/krizleebear/osm-polygons","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/krizleebear/osm-polygons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krizleebear%2Fosm-polygons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krizleebear%2Fosm-polygons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krizleebear%2Fosm-polygons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krizleebear%2Fosm-polygons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krizleebear","download_url":"https://codeload.github.com/krizleebear/osm-polygons/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krizleebear%2Fosm-polygons/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29998084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["geojson","geojson-data","openstreetmap","openstreetmap-data","reverse-geocoding"],"created_at":"2026-03-02T10:02:28.844Z","updated_at":"2026-03-02T10:02:36.990Z","avatar_url":"https://github.com/krizleebear.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osm-polygons\n\n## City outline polygons\nOpenStreetMap offers geo data in raw data form. For building services you usually have to preprocess the data.\nThis project takes OSM's raw data, extracts all administrative boundaries and converts them as polygons.\n\n[\u003cimg src=\"https://raw.githubusercontent.com/krizleebear/osm-polygons/master/examples/palling-screenshot.png\"\u003e](../../blob/master/examples/palling.geojson)\n\n## GeoJSON\nHere's an example of one of the exported GeoJSON objects:\n```\n{\n  \"type\": \"FeatureCollection\",\n  \"features\": [\n    {\n      \"type\": \"Feature\",\n      \"properties\": {\n        \"name\": \"Palling\",\n        \"boundary\": \"administrative\",\n        \"wikidata\": \"Q262325\",\n        \"wikipedia\": \"de:Palling\",\n        \"admin_level\": \"8\",\n        \"de:regionalschluessel\": \"091890134134\",\n        \"TMC:cid_58:tabcd_1:Class\": \"Area\",\n        \"TMC:cid_58:tabcd_1:LCLversion\": \"8.00\",\n        \"TMC:cid_58:tabcd_1:LocationCode\": \"4457\",\n        \"de:amtlicher_gemeindeschluessel\": \"09189134\"\n      },\n      \"geometry\": {\n        \"type\": \"Polygon\",\n        \"coordinates\":[[[12.5950766,47.9703637],[12.5953607,47.9727103],[12.6019791,47.9734364],[12.6054816,47.9756447],[12.6051771,47.9866313],[12.6019101,47.9920364],[12.6015149,48.0000915],[12.6038957,48.0018881],[12.6037128,48.0075969],[12.6080557,48.008038],[12.6067195,48.0110004],[12.6028389,48.0123523],[12.6106511,48.0155409],[12.6186272,48.0264337],[12.6133034,48.0266815],[12.6128961,48.0335542],[12.6155784,48.0330894],[12.6163547,48.0450822],[12.6224712,48.0447456],[12.6224326,48.0468012],[12.6300164,48.0474926],[12.6322431,48.049497],[12.6424822,48.0472457],[12.6451302,48.0475784],[12.6444189,48.0490697],[12.6518457,48.0493225],[12.6564979,48.0476141],[12.6741239,48.0467782],[12.6740106,48.0452744],[12.6816377,48.0458961],[12.6860289,48.0349076],[12.6826671,48.0341289],[12.6856407,48.0294477],[12.6825498,48.0252175],[12.6879822,48.0208599],[12.6911325,48.0219263],[12.6997735,48.0196999],[12.7034477,48.0119514],[12.6993748,48.0120405],[12.6979668,48.0101224],[12.7045551,48.0053099],[12.7061879,48.0062688],[12.7034737,47.9975493],[12.6958825,47.9946762],[12.6934753,47.9865004],[12.6894097,47.9856878],[12.6838769,47.9870427],[12.6761276,47.9840457],[12.6756879,47.979062],[12.6715428,47.9792927],[12.6697612,47.9762248],[12.6723981,47.9721122],[12.6678208,47.9695303],[12.6621719,47.9716884],[12.6592149,47.9703283],[12.6603152,47.9655514],[12.6566373,47.9625804],[12.6586512,47.9613793],[12.6574203,47.9598177],[12.6499559,47.959509],[12.6499691,47.9567339],[12.6433613,47.9602092],[12.6377472,47.9595468],[12.6376127,47.9616367],[12.6321195,47.9624504],[12.6286777,47.9658774],[12.6316785,47.9680828],[12.628837,47.9730173],[12.5969356,47.968864],[12.5950766,47.9703637]]]}\n    }\n  ]\n}\n```\n\n## License\nThis osm-polygons data is made available under the Open Database License: http://opendatacommons.org/licenses/odbl/1.0/. Any rights in individual contents of the database are licensed under the Database Contents License: http://opendatacommons.org/licenses/dbcl/1.0/\n\n## Reverse Geocoding (what's here?)\nThe polygons offered by this project can e.g. be used to draw the outlines of your city.\nOr perform reverse geocoding: Take a point on a map and resolve its administrative membership: City, County, State and City.\nMy other open source project https://github.com/krizleebear/osm-tools provides tools to do that in Java.\nSo if you're trying to reverse-geocode huge amounts of data, voilá.\n\n### License considerations\nBe aware that you must adhere to ODbL (as stated above) also while reverse geocoding. There's a special guide for that: https://wiki.osmfoundation.org/wiki/Licence/Community_Guidelines/Geocoding_-_Guideline\n\n\nhttps://github.com/krizleebear/osm-polygons/releases/tag/v1.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrizleebear%2Fosm-polygons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrizleebear%2Fosm-polygons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrizleebear%2Fosm-polygons/lists"}