{"id":24206560,"url":"https://github.com/andyg2/parse-gadm-kml","last_synced_at":"2025-07-25T01:11:04.329Z","repository":{"id":72757319,"uuid":"402348511","full_name":"andyg2/parse-gadm-kml","owner":"andyg2","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-03T05:17:55.000Z","size":24729,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-03T14:13:24.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/andyg2.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":"2021-09-02T08:36:08.000Z","updated_at":"2022-04-16T10:59:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc8725e3-a4f9-4a50-a12f-a6576e4bade7","html_url":"https://github.com/andyg2/parse-gadm-kml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andyg2/parse-gadm-kml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyg2%2Fparse-gadm-kml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyg2%2Fparse-gadm-kml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyg2%2Fparse-gadm-kml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyg2%2Fparse-gadm-kml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andyg2","download_url":"https://codeload.github.com/andyg2/parse-gadm-kml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyg2%2Fparse-gadm-kml/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266936461,"owners_count":24009415,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"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":"2025-01-14T00:34:23.822Z","updated_at":"2025-07-25T01:11:04.276Z","avatar_url":"https://github.com/andyg2.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parse gadm.org KML to Google Maps Polygon\n\nFor this example I downloaded the Philippines KMZ level 3 file from here: https://gadm.org/download_country_v3.html\n\nI used [7-Zip](https://www.7-zip.org/download.html) to extract the `gadm36_PHL_3.kml` file to produce `gadm36_PHL_3.kml`.\n\nOn line 3 of parse.php - The level I want to generate (based on the KML level):\n  \u003e `$level = 3;`\n\nOn line 4 of parse.php - The first part of the filename you want to parse\n  \u003e `$file_part = 'gadm36_PHL_';`\n\nThis will parse the entries of `gadm36_PHL_3.kml` into the `cords_3` directory structure in this repo.\n\n[Coordinates to Map overlay Polygon](https://jsfiddle.net/andyg2/0t1gwnja/25/)\n\n\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyg2%2Fparse-gadm-kml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyg2%2Fparse-gadm-kml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyg2%2Fparse-gadm-kml/lists"}