{"id":307183,"name":"OSMCoastline","description":"Extracts the coastline data from an OSM planet file and assembles all the pieces into polygons for use in map renderers.","url":"https://github.com/osmcode/osmcoastline","last_synced_at":"2026-04-18T12:30:18.624Z","repository":{"id":2658954,"uuid":"3649895","full_name":"osmcode/osmcoastline","owner":"osmcode","description":"Extracts coastline data from OpenStreetMap planet file.","archived":false,"fork":false,"pushed_at":"2026-04-07T19:31:49.000Z","size":1057,"stargazers_count":118,"open_issues_count":3,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-04-11T09:02:19.062Z","etag":null,"topics":["c-plus-plus","openstreetmap"],"latest_commit_sha":null,"homepage":"https://osmcode.org/osmcoastline/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osmcode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","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},"funding":{"custom":"https://osmcode.org/sponsors.html"}},"created_at":"2012-03-07T14:36:59.000Z","updated_at":"2026-04-08T12:39:46.000Z","dependencies_parsed_at":"2023-01-13T12:00:25.561Z","dependency_job_id":"f89ad6e1-c2f9-4654-879b-b5bf7e95d965","html_url":"https://github.com/osmcode/osmcoastline","commit_stats":null,"previous_names":["joto/osmcoastline"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/osmcode/osmcoastline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmcode","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31747156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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"}},"owner":{"login":"osmcode","name":"osmcode","uuid":"5110770","kind":"organization","description":"Open Source Software for Working with OpenStreetMap Data","email":"info@osmcode.org","website":"https://osmcode.org/","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/5110770?v=4","repositories_count":23,"last_synced_at":"2024-03-26T09:15:47.726Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/osmcode","funding_links":[],"total_stars":1538,"followers":50,"following":0,"created_at":"2022-11-03T12:44:15.332Z","updated_at":"2024-03-26T09:15:48.446Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmcode","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmcode/repositories"},"packages":[{"id":11733449,"name":"github.com/osmcode/osmcoastline","ecosystem":"go","description":null,"homepage":null,"licenses":"gpl-3.0","normalized_licenses":["GPL-3.0"],"repository_url":"https://github.com/osmcode/osmcoastline","keywords_array":[],"namespace":null,"versions_count":17,"first_release_published_at":"2015-03-06T14:05:15.000Z","latest_release_published_at":"2026-01-18T15:37:54.000Z","latest_release_number":"v2.5.0+incompatible","last_synced_at":"2026-04-15T11:08:23.999Z","created_at":"2025-06-05T11:16:09.911Z","updated_at":"2026-04-15T11:08:24.000Z","registry_url":"https://pkg.go.dev/github.com/osmcode/osmcoastline","install_command":"go get github.com/osmcode/osmcoastline","documentation_url":"https://pkg.go.dev/github.com/osmcode/osmcoastline#section-documentation","metadata":{},"repo_metadata":{"id":2658954,"uuid":"3649895","full_name":"osmcode/osmcoastline","owner":"osmcode","description":"Extracts coastline data from OpenStreetMap planet file.","archived":false,"fork":false,"pushed_at":"2025-10-21T20:23:03.000Z","size":1166,"stargazers_count":115,"open_issues_count":3,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-23T22:00:49.698Z","etag":null,"topics":["c-plus-plus","openstreetmap"],"latest_commit_sha":null,"homepage":"https://osmcode.org/osmcoastline/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osmcode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","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},"funding":{"custom":"https://osmcode.org/sponsors.html"}},"created_at":"2012-03-07T14:36:59.000Z","updated_at":"2025-10-21T20:23:08.000Z","dependencies_parsed_at":"2023-01-13T12:00:25.561Z","dependency_job_id":"f89ad6e1-c2f9-4654-879b-b5bf7e95d965","html_url":"https://github.com/osmcode/osmcoastline","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/osmcode/osmcoastline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmcode","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280878370,"owners_count":26406641,"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-10-24T02:00:06.418Z","response_time":73,"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"},"owner_record":{"login":"osmcode","name":"osmcode","uuid":"5110770","kind":"organization","description":"Open Source Software for Working with OpenStreetMap Data","email":"info@osmcode.org","website":"https://osmcode.org/","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/5110770?v=4","repositories_count":23,"last_synced_at":"2024-03-26T09:15:47.726Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/osmcode","funding_links":[],"total_stars":1538,"followers":50,"following":0,"created_at":"2022-11-03T12:44:15.332Z","updated_at":"2024-03-26T09:15:48.446Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmcode","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmcode/repositories"},"tags":[{"name":"v2.4.1","sha":"e951d20522172320e499f8853958fb863a143ec6","kind":"commit","published_at":"2025-01-14T09:52:19.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.4.1","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.4.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.4.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.4.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.4.1/manifests"},{"name":"v2.4.0","sha":"4bdcf7a0b7750f77031cc605c958dbd458b38a99","kind":"commit","published_at":"2022-12-22T08:34:24.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.4.0","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.4.0/manifests"},{"name":"v2.3.1","sha":"481dcab892a602ebcc12f3a7e47bc6dccaa0b5d9","kind":"commit","published_at":"2021-09-02T12:21:02.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.3.1","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.3.1/manifests"},{"name":"v2.3.0","sha":"56371668ebb6261009f35a7411a8fbcc83aabfe0","kind":"commit","published_at":"2021-01-08T14:38:44.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.3.0","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.3.0/manifests"},{"name":"v2.2.4","sha":"de9072744e16452a0d8b110c8572ea6be20cb594","kind":"commit","published_at":"2019-02-27T12:15:22.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.2.4","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.2.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.2.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.2.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.2.4/manifests"},{"name":"v2.2.3","sha":"0d4b0602ca95c8f5db9e5f2ae823a9e27bfe0ad7","kind":"commit","published_at":"2019-02-06T10:31:01.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.2.3","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.2.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.2.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.2.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.2.3/manifests"},{"name":"v2.2.2","sha":"7813f1f0a00eadbc2af041e48cd86d89882eded1","kind":"commit","published_at":"2019-02-03T08:23:18.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.2.2","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.2.2/manifests"},{"name":"v2.2.1","sha":"9564706c8d0c7e7c26aea09ee4a2edf77285508f","kind":"commit","published_at":"2018-12-07T20:43:49.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.2.1","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.2.1/manifests"},{"name":"v2.2.0","sha":"bd1305617cda1f7840c5a5f04ca854002eb7db1b","kind":"commit","published_at":"2018-09-05T07:36:46.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.2.0","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.2.0/manifests"},{"name":"v2.1.4","sha":"72d734debdae1524486a9862c1eed267fb43b18a","kind":"commit","published_at":"2016-09-16T11:06:20.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.1.4","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.1.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.1.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.1.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.1.4/manifests"},{"name":"v2.1.3","sha":"476f4eccccac82a3e10a6db3c8611797a1689f60","kind":"commit","published_at":"2016-03-30T20:25:07.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.1.3","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.1.3/manifests"},{"name":"v2.1.2","sha":"d319401d37cfc8f839bf669e0d6389ff0734ee8f","kind":"commit","published_at":"2016-01-05T14:35:08.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.1.2","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.1.2/manifests"},{"name":"v2.1.1","sha":"cc75551a1b5cabe9c63e3baa9c32750dabdbf9c6","kind":"commit","published_at":"2015-08-31T08:32:37.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.1.1","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.1.1/manifests"},{"name":"v2.1.0","sha":"08b34bfc2cd47294fa150e6ecc1cc0acefbf290c","kind":"commit","published_at":"2015-08-18T11:51:07.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.1.0","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.1.0/manifests"},{"name":"v2.0.1","sha":"385c6a8ad298b21a2542c5606c7e32001e5c3453","kind":"commit","published_at":"2015-03-31T19:54:40.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.0.1","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.0.1/manifests"},{"name":"v2.0.0","sha":"1f2b90aeae986aa7dc050d15732e1e32a16e89b3","kind":"commit","published_at":"2015-03-06T14:05:15.000Z","download_url":"https://codeload.github.com/osmcode/osmcoastline/tar.gz/v2.0.0","html_url":"https://github.com/osmcode/osmcoastline/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/osmcode/osmcoastline@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/tags/v2.0.0/manifests"}]},"repo_metadata_updated_at":"2025-10-26T11:45:15.712Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":5.757538697138725,"dependent_packages_count":5.395053785167736,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":5.57629624115323},"purl":"pkg:golang/github.com/osmcode/osmcoastline","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/osmcode/osmcoastline","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/osmcode/osmcoastline","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/osmcode/osmcoastline/dependencies","status":null,"funding_links":["https://osmcode.org/sponsors.html"],"critical":null,"issue_metadata":{"last_synced_at":"2025-10-22T01:05:49.967Z","issues_count":40,"pull_requests_count":9,"avg_time_to_close_issue":6810751.888888889,"avg_time_to_close_pull_request":355896.0,"issues_closed_count":36,"pull_requests_closed_count":9,"pull_request_authors_count":7,"issue_authors_count":29,"avg_comments_per_issue":2.25,"avg_comments_per_pull_request":1.3333333333333333,"merged_pull_requests_count":5,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":3,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":64077.5,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":2,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":3,"past_year_avg_comments_per_issue":1.3333333333333333,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/issues","maintainers":[{"login":"joto","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/joto"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fosmcode%2Fosmcoastline/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fosmcode%2Fosmcoastline/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fosmcode%2Fosmcoastline/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fosmcode%2Fosmcoastline/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fosmcode%2Fosmcoastline/codemeta","maintainers":[],"registry":{"name":"proxy.golang.org","url":"https://proxy.golang.org","ecosystem":"go","default":true,"packages_count":2100074,"maintainers_count":0,"namespaces_count":781751,"keywords_count":112812,"github":"golang","metadata":{"funded_packages_count":53481},"icon_url":"https://github.com/golang.png","created_at":"2022-04-04T15:19:22.939Z","updated_at":"2026-04-16T05:07:48.212Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/namespaces"}}],"commits":{"id":4605471,"full_name":"osmcode/osmcoastline","default_branch":"master","total_commits":503,"total_committers":7,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":71.85714285714286,"dds":0.021868787276341894,"past_year_total_commits":19,"past_year_total_committers":1,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":19.0,"past_year_dds":0.0,"last_synced_at":"2026-04-15T11:00:52.081Z","last_synced_commit":"9caebea1168f4f5313f5820459e62d522f3882a3","created_at":"2024-11-08T19:12:39.573Z","updated_at":"2026-04-15T11:00:41.309Z","committers":[{"name":"Jochen Topf","email":"jochen@topf.org","login":"joto","count":492},{"name":"Joaquim","email":"jmfluis@gmail.com","login":"joa-quim","count":4},{"name":"Yinxiao Li","email":"yinxiaoli@fb.com","login":null,"count":3},{"name":"imagico","email":"git@imagico.de","login":"imagico","count":1},{"name":"artemp","email":"artem@mapnik.org","login":"artemp","count":1},{"name":"Eric Theise","email":"erictheise@gmail.com","login":"erictheise","count":1},{"name":"Bas Couwenberg","email":"sebastic@xs4all.nl","login":"sebastic","count":1}],"past_year_committers":[{"name":"Jochen Topf","email":"jochen@topf.org","login":"joto","count":19}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-17T00:00:13.716Z","repositories_count":6214344,"commits_count":900572424,"contributors_count":34925410,"owners_count":1144856,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"osmcode/osmcoastline","html_url":"https://github.com/osmcode/osmcoastline","last_synced_at":"2026-04-03T05:00:43.435Z","status":"active","issues_count":41,"pull_requests_count":9,"avg_time_to_close_issue":6626819.621621622,"avg_time_to_close_pull_request":355896.0,"issues_closed_count":37,"pull_requests_closed_count":9,"pull_request_authors_count":7,"issue_authors_count":30,"avg_comments_per_issue":2.24390243902439,"avg_comments_per_pull_request":1.3333333333333333,"merged_pull_requests_count":5,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":3,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":61087.5,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":2,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":3,"past_year_avg_comments_per_issue":1.6666666666666667,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2024-11-08T19:12:40.937Z","updated_at":"2026-04-03T05:00:43.435Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmcode%2Fosmcoastline/issues","issue_labels_count":{"bug":3,"enhancement":2,"needs information":1,"wontfix":1},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":30,"CONTRIBUTOR":9,"MEMBER":2},"pull_request_author_associations_count":{"CONTRIBUTOR":6,"NONE":3},"issue_authors":{"sebastic":5,"imagico":3,"liyinxiao":2,"springmeyer":2,"SunCobalt":2,"joto":2,"stefda":2,"Feufochmar":1,"joa-quim":1,"karlwettin":1,"danieldegroot2":1,"robinhouston":1,"molind":1,"thkukuk":1,"Komzpa":1,"ka2ddo":1,"FlorisCalkoen":1,"kkdd":1,"ghost":1,"cybertoast":1,"christf":1,"MaZderMind":1,"laurentpellegrino":1,"pnorman":1,"JonMcPherson":1,"gzqlovemxq":1,"wangi":1,"fbriol":1,"bdon":1,"olt":1},"pull_request_authors":{"sebastic":3,"erictheise":1,"e11137":1,"artemp":1,"joa-quim":1,"vpicavet":1,"liyinxiao":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-09T00:00:10.509Z","repositories_count":14158442,"issues_count":34502509,"pull_requests_count":112843660,"authors_count":11231407,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"NONE":3},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{"christf":1,"danieldegroot2":1,"laurentpellegrino":1},"past_year_pull_request_authors":{},"maintainers":[{"login":"joto","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/joto"}],"active_maintainers":[]},"events":{"total":{"ReleaseEvent":1,"DeleteEvent":5,"IssuesEvent":5,"WatchEvent":3,"IssueCommentEvent":3,"PushEvent":13,"CreateEvent":5},"last_year":{"ReleaseEvent":1,"DeleteEvent":2,"IssuesEvent":3,"WatchEvent":1,"IssueCommentEvent":2,"PushEvent":6,"CreateEvent":1}},"keywords":["c-plus-plus","openstreetmap"],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/ci.yml","sha":null,"kind":"manifest","created_at":"2023-01-13T12:00:25.423Z","updated_at":"2023-01-13T12:00:25.423Z","repository_link":"https://github.com/osmcode/osmcoastline/blob/master/.github/workflows/ci.yml","dependencies":[{"id":6875743272,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":6875743274,"package_name":"./.github/actions/install-from-git","ecosystem":"actions","requirements":"*","direct":true,"kind":"composite","optional":false},{"id":6875743275,"package_name":"./.github/actions/cmake","ecosystem":"actions","requirements":"*","direct":true,"kind":"composite","optional":false},{"id":6875743276,"package_name":"./.github/actions/build","ecosystem":"actions","requirements":"*","direct":true,"kind":"composite","optional":false},{"id":6875743277,"package_name":"./.github/actions/ctest","ecosystem":"actions","requirements":"*","direct":true,"kind":"composite","optional":false},{"id":6875743278,"package_name":"./.github/actions/install-ubuntu","ecosystem":"actions","requirements":"*","direct":true,"kind":"composite","optional":false},{"id":6875743279,"package_name":"./.github/actions/install-macos","ecosystem":"actions","requirements":"*","direct":true,"kind":"composite","optional":false}]}],"score":null,"created_at":"2025-01-06T00:13:04.900Z","updated_at":"2026-04-18T12:30:18.626Z","avatar_url":"https://github.com/osmcode.png","language":"C++","category":"Hydrosphere","sub_category":"Coastal and Reefs","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"\n# OSMCoastline\n\nOSMCoastline extracts the coastline data from an OSM planet file and assembles\nall the pieces into polygons for use in map renderers etc.\n\nhttps://osmcode.org/osmcoastline\n\n[![Build Status](https://github.com/osmcode/osmcoastline/actions/workflows/ci.yml/badge.svg)](https://github.com/osmcode/osmcoastline/actions)\n\n## Prerequisites\n\n### Libosmium\n\n    https://github.com/osmcode/libosmium\n    https://osmcode.org/libosmium\n    At least version 2.16.0 is needed.\n\n### Protozero\n\n    https://github.com/mapbox/protozero\n    Debian/Ubuntu: libprotozero-dev\n    At least version 1.6.1 is needed.\n\n### LZ4 (optional)\n\n    https://lz4.github.io/lz4/\n    Debian/Ubuntu: liblz4-dev\n\n    Only needed for LZ4 PBF compression.\n\n### zlib (for PBF support)\n\n    https://www.zlib.net/\n    Debian/Ubuntu: zlib1g-dev\n\n### GDAL (for OGR support)\n\n    https://gdal.org/\n    Debian/Ubuntu: libgdal1-dev\n    (Must be built with Spatialite and GEOS support which is true for\n    Debian/Ubuntu packages. You need GDAL 2 or greater.\n\n### GEOS\n\n    https://trac.osgeo.org/geos/\n    Debian/Ubuntu: libgeos-dev\n\n### Sqlite/Spatialite\n\n    https://www.gaia-gis.it/fossil/libspatialite/index\n    Debian/Ubuntu: sqlite3, spatialite-bin\n\n### Pandoc (optional, to build documentation)\n\n    https://pandoc.org/\n    Debian/Ubuntu: pandoc\n    (If pandoc is found by CMake, the manpages will automatically be built.)\n\n\n## Building\n\nYou'll need the prerequisites including `libosmium` installed.\n\nOSMCoastline uses CMake for building:\n\n    mkdir build\n    cd build\n    cmake ..\n    make\n\nCall `make doc` to build the Doxygen API documentation which will be available\nin the `doc/html` directory.\n\n\n## Testing\n\nA few tests are provided that can be run by calling `ctest`.\n\nThe tests themselves are written as shell scripts and can be found in the\n`test/t` directory. Some test use the `nodegrid2opl` helper program found in\nthe `src` directory, it has some documentation in the source code.\n\n\n## The `runtest` script\n\nRun the script `runtest.sh` from the directory you built the program in. It\nwill read the supplied `testdata.osm` and create output in the `testdata.db`\nspatialite database.\n\nIt is normal for this program to create errors and warnings, because it is\ntesting a rather broken input file. You will get messages such as \"Closing\nring between node -84 and node -74\" and \"Warning 1: Self-intersection\nat or near point 7.48488 53.8169\". At the end it should print:\n\n    There were 35 warnings.\n    There were 1 errors.\n\nYou can use the supplied `coastline_sqlite.qgs` QGIS project file to open the\noutput with QGIS.\n\nCall `runtest.sh -v` to run the tests under Valgrind.\n\n\n## Running\n\nNote that you might want to run `osmcoastline_filter` first, see below under\n**Filtering**.\n\nRun: `osmcoastline -o DBFILE PLANET-FILE`\n\nFor example: `osmcoastline -o coastline.db planet.osm.pbf`\n\nThis will create a spatialite database named `DBFILE` and write several tables\nwith the output into it.\n\nUse `--verbose` to see whats going on. Start with `--help` to see other\noptions.\n\n\n## Output\n\nBy default, the output is a spatialite database with the following tables. All\ntables are always created but depending on the command line options only some of\nthem might contain anything.\n\n* `error_lines` Lines that have errors (for instance not closed rings or\n  self-intersections).\n\n* `error_points` Problematic points such as intersections.\n\n* `rings` Coastline rings as linestrings. The table is not populated by default,\n  because this is only needed for finding errors in the coastline. Use the\n  command line option `--output-rings` to populate this table.\n\n* `land_polygons` Finished assembled land polygons. Depending on `--max-points`\n  option this will contain complete or split polygons. Only filled if the\n  option `--output-polygons=land` (thats the default) or `=both` has been given.\n\n* `water_polygons` Finished assembled water polygons. Only filled if option\n  `--output-polygons=water` or `=both` has been given.\n\n* `lines` Coastlines as linestrings. Depending on `--max-points` option this\n  will contain complete or split linestrings. Only filled if the option\n  `--output-lines` has been given.\n\nBy default all output is in WGS84. You can use the option `--srs=3857` to\ncreate output in \"Web Mercator\". (Other projections are currently not\nsupported.)\n\n\n\nBy default geometry indexes are created for all tables. This makes the database\nlarger, but faster to use. You can use the option `--no-index` to suppress\nthis, for instance if you never use the data directly anyway but want to\ntransform it into something else.\n\nCoastlines and polygons are never simplified, but contain the full detail. See\nthe `simplify_and_split_spatialite` or the `simplify_and_split_postgis`\ndirectories for scripts that help with simplifying and splitting geometries\nusing Spatialite or PostGIS, respectively.\n\nThe database tables `options` and `meta` contain the command line options\nused to create the database and some metadata. You can use the script\n`osmcoastline_readmeta` to look at them.\n\nBy default, OSMCoastline creates a spatialite database. If you need shapefiles\nuse ogr2ogr to convert the data:\n\n    ogr2ogr -f \"ESRI Shapefile\" land_polygons.shp coastline.db land_polygons\n\nAlternatively, OSMCoastline aims to support all geospatial data formats as the\noutput (e.g. Shapefile, by setting GDAL driver as \"ESRI Shapefile\"). If a data\nformat other than Spatialite database is selected as the output format, the two\ndatabase tables `options` and `meta` will be omitted and geometry indexes will\nnot be created.\n\n\n## Steps\n\nOSMCoastline runs in several steps, each can optionally create some output.\nIn most cases you will only be interested in the end result but preliminary\nresults are supplied for debugging or other special uses.\n\n**Step 1**: Filter out all nodes and ways tagged `natural=coastline` and all\n            nodes needed by those ways. (This can also be done with the\n            `osmcoastline_filter` program, see below)\n\n**Step 2**: Assemble all coastline ways into rings. Rings that are not closed\n            in the OSM data will be closed depending on the `--close-distance`\n            option.\n\n**Step 3**: Assemble polygons from the rings, possibly including holes for\n            water areas.\n\n**Step 4**: Split up large polygons into smaller ones. The options\n            `--max-points` and `--bbox-overlap` are used here.\n\n**Step 5**: Create water polygons as the \"inverse\" of the land polygons.\n\nThe errors encountered in each step are written to the `error_points` and\n`error_lines` tables.\n\n\n## Options\n\n    -c, --close-distance=DISTANCE\n\nOSMCoastline assembles ways tagged `natural=coastline` into rings. Sometimes\nthere is a gap in the coastline in the OSM data. OSMCoastline will close this\ngap if it is smaller than DISTANCE. Use 0 to disable this feature.\n\n    -b, --bbox-overlap=OVERLAP\n\nPolygons that are too large are split into two halves (recursively if need be).\nWhere the polygons touch the OVERLAP is added, because two polygons just\ntouching often lead to rendering problems. The value is given in the units used\nfor the projection (for WGS84 (4326) this is in degrees, for Mercator (3857)\nthis is in meters). If this is set too small you might get rendering artefacts\nwhere polygons touch. The larger you set this the larger the output polygons\nwill be. The best values depend on the map scale or zoom level you are\npreparing the data for. Disable the overlap by setting it to 0. Default is\n0.0001 for WGS84 and 10 for Mercator.\n\n    -m, --max-points=NUM\n\nSet this to 0 to prevent splitting of large polygons and linestrings. If set to\nany other positive integer OSMCoastline will try to split polygons/linestrings\nto not have more than this many points. Depending on the overlap defined with\n-b and the shape of the polygons it is sometimes not possible to get the\npolygons small enough. OSMCoastline will warn you on stderr if this is the\ncase. Default is 1000.\n\n    -s, --srs=EPSGCODE\n\nSet spatial reference system/projection. Use 4326 for WGS84 or 3857 for \"Web\nMercator\". If you want to use the data for the usual tiled web maps, 3857 is\nprobably right. For other uses, especially if you want to re-project to some\nother projection, 4326 is probably right. Other projections are currently not\nsupported. Default is 4326.\n\n    -v, --verbose\n\nGives you detailed information on what osmcoastline is doing, including timing.\n\nRun `osmcoastline --help` to see all options.\n\n\n## Return codes\n\n`osmcoastline` uses the following return codes:\n\n    0 - OK\n    1 - Warning\n    2 - Error\n    3 - Fatal error (output file could not be opened etc.)\n    4 - Error parsing command line arguments\n\nThe difference between warnings and errors is somewhat muddy. Warnings are\ngeometry problems that have either been fixed automatically or seem to be\nsmall. Errors are larger problems that couldn't be fixed. If there were errors\nyou probably do not want to use the generated data but fix the OSM data first.\nIf there were warnings the data might be okay, but there still could be data\nmissing or geometry problems such as self-intersections in the coastline. But\nthe classification of problems into warnings and errors is difficult, so to be\non the safe side you might only want to use the data if there are no warnings\nand no errors at all.\n\n\n## Antarctica\n\nOSMCoastline has special code for the coastline of Antarctica. This is the only\ncoastline that can remain open. The coastline starts somewhere around 180°\nEast, 77° South and ends around 180° West and 77° South. OSMCoastline will find\nthose open ends and connect them by adding several \"nodes\" forming a proper\npolygon. Depending on the output projection (EPSG:4326 or EPSG:3857) this\npolygon will either extend to the South Pole or to the 85.0511° line.\n\n\n## Filtering\n\nThe program `osmcoastline_filter` can be used to filter from an OSM planet file\nall nodes and ways needed for building the coastlines and write them out in\nOSM format. The resulting file will be a lot smaller (less than 1%) than the\noriginal planet file, but it contains everything needed to assemble the\ncoastline polygons.\n\nIf you are playing around or want to run `osmcoastline` several times with\ndifferent parameters, run `osmcoastline_filter` once first and use its output\nas the input for `osmcoastline`.\n\nRun it as follows: `osmcoastline_filter -o OUTFILE.osm.pbf INFILE.osm.pbf`\n\n`osmcoastline_filter` can read PBF and XML files, but write only PBF files. PBF\nfiles are much smaller and faster to read and write.\n\n\n## Extracts\n\nGenerally you can not run OSMCoastline on extracts. OSMCoastline assembles ways\ninto continuous coastline linestrings and then into land and water polygons.\nBut if the coastline is not closed, it can't do that. This might work if your\nextract only contains an island, but in most cases this will not work.\n\n\n## License\n\nOSMCoastline is available under the GNU GPL version 3 or later.\n\n\n## Authors\n\nJochen Topf (jochen@topf.org)\n\n","funding_links":["https://osmcode.org/sponsors.html"],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["mapnik","rendering","beautiful-maps","cartography","wiki"],"project_url":"https://ost.ecosyste.ms/api/v1/projects/307183","html_url":"https://ost.ecosyste.ms/projects/307183"}