{"id":42138232,"url":"https://github.com/gogama/flatgeobuf","last_synced_at":"2026-01-26T16:32:16.960Z","repository":{"id":172800356,"uuid":"647018139","full_name":"gogama/flatgeobuf","owner":"gogama","description":"Flatgeobuf binary geospatial encoding Go library","archived":false,"fork":false,"pushed_at":"2023-12-21T05:32:16.000Z","size":15004,"stargazers_count":15,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-08T02:42:36.873Z","etag":null,"topics":["flatgeobuf","geospatial","geospatial-database","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gogama.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":"AUTHORS"}},"created_at":"2023-05-29T22:08:58.000Z","updated_at":"2024-07-18T12:24:57.000Z","dependencies_parsed_at":"2023-12-18T19:29:39.236Z","dependency_job_id":null,"html_url":"https://github.com/gogama/flatgeobuf","commit_stats":null,"previous_names":["gogama/flatgeobuf"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/gogama/flatgeobuf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogama%2Fflatgeobuf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogama%2Fflatgeobuf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogama%2Fflatgeobuf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogama%2Fflatgeobuf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gogama","download_url":"https://codeload.github.com/gogama/flatgeobuf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gogama%2Fflatgeobuf/sbom","scorecard":{"id":433819,"data":{"date":"2025-08-11","repo":{"name":"github.com/gogama/flatgeobuf","commit":"61a948c0a8a81701c0f59e12c04ac0711d20d67d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/tests.yaml: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":"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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":"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":"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/tests.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/gogama/flatgeobuf/tests.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/gogama/flatgeobuf/tests.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/gogama/flatgeobuf/tests.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yaml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/gogama/flatgeobuf/tests.yaml/main?enable=pin","Info:   0 out of   4 GitHub-owned 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":"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: MIT License: 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":-1,"reason":"no releases found","details":null,"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":10,"reason":"0 existing vulnerabilities detected","details":null,"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-19T04:06:04.010Z","repository_id":172800356,"created_at":"2025-08-19T04:06:04.010Z","updated_at":"2025-08-19T04:06:04.010Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28782167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"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":["flatgeobuf","geospatial","geospatial-database","go","golang"],"created_at":"2026-01-26T16:32:15.538Z","updated_at":"2026-01-26T16:32:16.955Z","avatar_url":"https://github.com/gogama.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flatgeobuf\n\nNative Go library implementing [FlatGeobuf](https://flatgeobuf.org/), a\nperformant binary encoding for geographic data based on\n[FlatBuffers](https://flatbuffers.dev/).\n\n## Getting Started\n\nRead the docs:\n\n[![docs](https://pkg.go.dev/badge/github.com/gogama/flatgeobuf.svg)](https://pkg.go.dev/github.com/gogama/flatgeobuf)\n\nGet the code:\n\n```shell\n$ go get github.com/gogama/flatgeobuf\n```\n\nRead a Flatgeobuf file, search the index, _etc._:\n\n```go\npackage getStartedReading\n\nimport (\n\t\"os\"\n\t\"github.com/gogama/flatgeobuf/flatgeobuf\"\n)\n\nfunc main() {\n\tf, _ := os.Open(\"example.fgb\") \n\tr := flatgeobuf.NewFileReader(f)\n\t// Use methods on FileReader 'r' to read header; read or search index; or\n\t// read features. Use a PropReader to read feature properties. \n\t//     https://pkg.go.dev/github.com/gogama/flatgeobuf/flatgeobuf#FileReader\n}\n```\n\nWrite a Flatgeobuf file, create index of features, _etc._:\n\n```go\npackage getStartedWriting\n\nimport (\n    \"os\"\n    \"github.com/gogama/flatgeobuf/flatgeobuf\"\n)\n\nfunc main() {\n  f, _ := os.Create(\"example.fgb\")\n  w := flatgeobuf.NewFileWriter(f)\n  // Use methods on FileWriter 'w' to write header; write index; write\n  // features; or index and write features together.\n  //     https://pkg.go.dev/github.com/gogama/flatgeobuf/flatgeobuf#FileWriter\n}\n```\n\n## Compatibility\n\nWorks with all Go versions 1.20 and up.\n\n## FlatGeobuf Format Primer\n\nFind detailed FlatGeobuf file format documentation at\n[flatgeobuf.org](https://flatgeobuf.org/). The short form explanation\nis that the FlatGeobuf format is really *four* different formats in one. \n\n- H: The Header format, which is a variable-sized FlatBuffer\n  [table](https://github.com/flatgeobuf/flatgeobuf/blob/master/src/fbs/header.fbs#L67-L82).\n- I (optional): The optional Index format, which is a packed Hilbert\n  R-tree index in a custom format.\n- DATA: Sequence of Features, each of which is a variable-sized\n  FlatBuffer [table](https://github.com/flatgeobuf/flatgeobuf/blob/master/src/fbs/feature.fbs#L16-L20).\n- PROPERTIES: Each Feature contains a properties buffer which is a\n  key/value pair sequence in a custom format.\n\nThis library provides abstractions to cleanly and efficiently work with\nall four of the above formats.\n\n## Package Map\n\nThere are three main Go packages:\n\n| Package           | Purpose                                                           | Key Types and Functions                                                                            |\n|-------------------|-------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|\n| `flatgeobuf`      | Read and write FlatGeobuf files, *including* Feature properties   | `flatgeobuf.FileReader`, `flatgeobuf.FileWriter`, `flatgeobuf.PropReader`, `flatgeobuf.PropWriter` |\n| `flatgeobuf/flat` | FlatBuffer tables generated by `flatc`                            | `flat.Header`, `flat.Feature`                                                                      |\n| `packedrtree`     | Packed Hilbert R-Tree format, use with `flatgeobuf` or standalone | `packedrtree.PackedRTree`, `packedrtree.Seek`                                                      | \n\nThe nifty FlatGeobuf efficient I/O characteristics (streaming/random read\nefficiency) are built in to `flatgeobuf.FileReader` and `packedrtree.Seek` if\nyou provide them with a standard `io.ReadSeeker`. You can efficiently host huge\nFlatGeobuf files on HTTP services that support HTTP Range read requests, like\nAmazon S3, by wrapping the HTTP Range requests in an `io.ReadSeeker`.\n\n## License\n\nThis project is licensed under the terms of the MIT License.\n\nSome `*.fgb` files in `flatgeobuf/testdata/` are copied from the\nofficial FlatGeobuf repository and licensed separately under the\nBSD-2-Clause License. See `flatgeobuf/testdata/flatgeobuf/LICENSE`.\n\nThe code in package `flat` is generated using `flatc` from the official\nGitHub repository's [FlatBuffer schema](https://github.com/flatgeobuf/flatgeobuf/tree/master/src/fbs).\n\n## Acknowledgements\n\nThanks to @bjornharrtell for developing the FlatGeobuf specification and\n@thehoneymad for getting me interested in it. Thanks to JetBrains, for\ngenerously donating an open source license for their GoLand IDE.\n\n## Shameless Plugs\n\nGeospatially, check out the [Overture](https://overturemaps.org/)\nproject.\n\nWithin Gogama projects, [Incite](https://github.com/gogama/incite) is a\nfantastic library to smooth out working with AWS CloudWatch Logs, and\n[httpx](https://github.com/gogama/httpx) is an excellent, if criminally\nunderused, robust HTTP client.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgogama%2Fflatgeobuf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgogama%2Fflatgeobuf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgogama%2Fflatgeobuf/lists"}