{"id":41179295,"url":"https://github.com/meekyphotos/whosonfirst2pgsql","last_synced_at":"2026-01-22T20:03:24.417Z","repository":{"id":57617702,"uuid":"385995485","full_name":"meekyphotos/whosonfirst2pgsql","owner":"meekyphotos","description":"It reads an uncompressed whosonfirst tar and uploads it to the target Postgres","archived":false,"fork":false,"pushed_at":"2023-03-07T01:58:02.000Z","size":43,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-24T12:53:04.809Z","etag":null,"topics":["database","postgresql","whosonfirst"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meekyphotos.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}},"created_at":"2021-07-14T15:54:08.000Z","updated_at":"2021-07-15T20:26:16.000Z","dependencies_parsed_at":"2024-06-20T15:31:23.449Z","dependency_job_id":"e51bd5fc-f280-45be-9b04-b0c0ad15e500","html_url":"https://github.com/meekyphotos/whosonfirst2pgsql","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/meekyphotos/whosonfirst2pgsql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meekyphotos%2Fwhosonfirst2pgsql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meekyphotos%2Fwhosonfirst2pgsql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meekyphotos%2Fwhosonfirst2pgsql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meekyphotos%2Fwhosonfirst2pgsql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meekyphotos","download_url":"https://codeload.github.com/meekyphotos/whosonfirst2pgsql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meekyphotos%2Fwhosonfirst2pgsql/sbom","scorecard":{"id":634629,"data":{"date":"2025-08-11","repo":{"name":"github.com/meekyphotos/whosonfirst2pgsql","commit":"495d08a3b1ade91b99b39659332725eed86e8107"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/meekyphotos/whosonfirst2pgsql/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/meekyphotos/whosonfirst2pgsql/go.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/meekyphotos/whosonfirst2pgsql/go.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.3 not signed: https://api.github.com/repos/meekyphotos/whosonfirst2pgsql/releases/46281408","Warn: release artifact v1.0.2 not signed: https://api.github.com/repos/meekyphotos/whosonfirst2pgsql/releases/46280461","Warn: release artifact v1.0.1 not signed: https://api.github.com/repos/meekyphotos/whosonfirst2pgsql/releases/46279559","Warn: release artifact v1.0.3 does not have provenance: https://api.github.com/repos/meekyphotos/whosonfirst2pgsql/releases/46281408","Warn: release artifact v1.0.2 does not have provenance: https://api.github.com/repos/meekyphotos/whosonfirst2pgsql/releases/46280461","Warn: release artifact v1.0.1 does not have provenance: https://api.github.com/repos/meekyphotos/whosonfirst2pgsql/releases/46279559"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T08:47:35.861Z","repository_id":57617702,"created_at":"2025-08-21T08:47:35.861Z","updated_at":"2025-08-21T08:47:35.861Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28670362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T19:36:09.361Z","status":"ssl_error","status_checked_at":"2026-01-22T19:36:05.567Z","response_time":144,"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":["database","postgresql","whosonfirst"],"created_at":"2026-01-22T20:03:19.407Z","updated_at":"2026-01-22T20:03:24.412Z","avatar_url":"https://github.com/meekyphotos.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# whosonfirst2pgsql\n\n### NAME:\nw2pgsql\n\n### USAGE:\nw2pgsql [global options] command [command options] [arguments...]\n\n#### DESCRIPTION:\nRead Administrative Boundaries from https://geocode.earth/data/whosonfirst in TAR bundles format and transpose that data into postgresql.\n\nBefore running this tool the download needs to be decompressed using bz2:\n```bash\nbzip2 -d whosonfirst-data-admin-latest.tar.bz2\n```\n\n### COMMANDS:\nhelp, h  Shows a list of commands or help for one command\n\n### GLOBAL OPTIONS:\n|Flag|Description|\n|---|---|\n|-a, --append                |Run in append mode. Adds the OSM change file into the database without removing existing data. (default: false)|\n|-c, --create                |Run in create mode. This is the default if -a, --append is not specified. Removes existing data from the database tables! (default: true)|\n|-d value, --database `value`  |The name of the PostgreSQL database to connect to. If this parameter contains an = sign or starts with a valid URI prefix (postgresql:// or postgres://), it is t reated as a conninfo string. See the PostgreSQL manual for details.|\n|-U value, --username `value`  |Postgresql user name. (default: \"postgres\")|\n|-W, --password              |Force password prompt. (default: false)|\n|-H value, --host `value`      |Database server hostname or unix domain socket location. (default: \"localhost\")|\n|-P value, --port `value`     |Database server port. (default: 5432)|\n|--workers `value`             |Number of workers (default: 4)|\n|--latlong                   |Store coordinates in degrees of latitude \u0026 longitude. (default: false)|\n|-t value, --table `value`     |Output table name (default: \"planet_data\")|\n|-j, --json                  |Add tags without column to an additional json (key/value) column in the database tables. (default: false)|\n|--schema value              |Use PostgreSQL schema SCHEMA for all tables, indexes, and functions in the pgsql output (default is no schema, i.e. the public schema is used). (default: \"public\")|\n|--help, -h                  |show help (default: false)|\n\n### RELEASES\nReleases are available for both Linux and Windows\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeekyphotos%2Fwhosonfirst2pgsql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeekyphotos%2Fwhosonfirst2pgsql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeekyphotos%2Fwhosonfirst2pgsql/lists"}