{"id":13735527,"url":"https://github.com/blacha/cogeotiff","last_synced_at":"2026-02-27T02:00:57.871Z","repository":{"id":37285010,"uuid":"192321029","full_name":"blacha/cogeotiff","owner":"blacha","description":"High performance cloud optimized geotiff (COG) reader","archived":false,"fork":false,"pushed_at":"2026-02-23T07:30:38.000Z","size":3126,"stargazers_count":108,"open_issues_count":7,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-02-23T15:55:00.026Z","etag":null,"topics":["cog","geotiff","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/blacha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-06-17T09:56:51.000Z","updated_at":"2026-02-23T07:29:24.000Z","dependencies_parsed_at":"2023-11-14T01:31:56.490Z","dependency_job_id":"2904a9e0-9fd7-4c52-8e14-46416e14ae00","html_url":"https://github.com/blacha/cogeotiff","commit_stats":{"total_commits":725,"total_committers":4,"mean_commits":181.25,"dds":0.5420689655172414,"last_synced_commit":"35a01121a9e076690bba25d778832dcbb86b97f9"},"previous_names":["blacha/coginfo"],"tags_count":100,"template":false,"template_full_name":null,"purl":"pkg:github/blacha/cogeotiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fcogeotiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fcogeotiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fcogeotiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fcogeotiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blacha","download_url":"https://codeload.github.com/blacha/cogeotiff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacha%2Fcogeotiff/sbom","scorecard":{"id":241819,"data":{"date":"2025-08-11","repo":{"name":"github.com/blacha/cogeotiff","commit":"35a01121a9e076690bba25d778832dcbb86b97f9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/19 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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/push.yml:1","Warn: no topLevel permission defined: .github/workflows/release-please.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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/push.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/blacha/cogeotiff/push.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/push.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/blacha/cogeotiff/push.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-please.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/blacha/cogeotiff/release-please.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-please.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/blacha/cogeotiff/release-please.yml/master?enable=pin","Info:   0 out of   4 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":"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":"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":"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"14 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"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-17T06:48:05.099Z","repository_id":37285010,"created_at":"2025-08-17T06:48:05.099Z","updated_at":"2025-08-17T06:48:05.099Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29878271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"ssl_error","status_checked_at":"2026-02-26T23:50:46.793Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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"}},"keywords":["cog","geotiff","nodejs","typescript"],"created_at":"2024-08-03T03:01:07.779Z","updated_at":"2026-02-27T02:00:57.861Z","avatar_url":"https://github.com/blacha.png","language":"TypeScript","funding_links":[],"categories":["`Python` processing of optical imagery (non deep learning)","TypeScript"],"sub_categories":["Cloud Native Geospatial"],"readme":"# cogeotiff\n\n\nTools to work with [Cloud optimized GeogTiff](https://www.cogeo.org/) (COG) \n\n-  Completely javascript based, works in the browser and nodejs\n-  Lazy load Tiffs images and metadata\n-  Supports huge 100GB+ COGs\n-  Uses GDAL Tiffs optimizations, generally only one or two reads per tile!\n-  Loads Tiffs from URL, File, Google Cloud or AWS S3\n-  Used in production for [LINZ's Basemaps](https://github.com/linz/basemaps) with billions of tiles fetched from COGs!\n\n## Usage\n\nLoad a COG from a URL using `fetch`\n\n```typescript\nimport { SourceHttp } from '@chunkd/source-http';\n\nconst source = new SourceHttp('https://example.com/cog.tif');\nconst cog = await Tiff.create(source);\n\nconst img = cog.images[0];\nif (img.isTiled()) throw new Error('Tiff is not tiled');\nconst tile = await img.getTile(2, 2); // Fetch a tile from a tiff x:2, y:2\n\n// Tiff tags can be directly accessed too\nimg.value(TiffTag.GdalNoData); // \"-9999\"\n// or tag metadata can be fetched\nimg.tags.get(TiffTag.GdalNoData); \n/**\n{\n  type: 'inline', // How the tag was read \"inline\" vs \"lazy\"\n  id: 42113, // Tag Id (@see TiffTag)\n  name: 'GdalNoData', // Tag Name\n  count: 6, // Number of values\n  value: '-9999',\n  dataType: 2, // Char\n  tagOffset: 194 // Bytes into the file where the tag was read.\n}\n*/\n```\n\n## Command Line Interface\n\n```bash\nnpm i -g @cogeotiff/cli\n```\n\n### cogeotiff info\n\nDisplay basic information about COG\n\n```shell\ncogeotiff info webp.cog.tif\n```\n\nOutput:\n\n```\nCOG File Info - /home/blacha/Downloads/tif-new/bg43.webp.cog.tif\n\n    Tiff type       BigTiff (v43)\n    Chunk size      64 KB\n    Bytes read      64 KB (1 Chunk)\n\n  Images\n    Compression     image/webp\n    Origin          18550349.52047286,-5596413.462927464,0\n    Resolution      19.10925707129406,-19.10925707129415,0\n    BoundingBox     18550349.52047286,-5713820.738373496,19098250.139221005,-5596413.462927464\n    Info\n                Id      Size                    Tile Size               Tile Count\n                0       28672x6144              56x12                   672\n                1       14336x3072              28x6                    168\n                2       7168x1536               14x3                    42\n                3       3584x768                7x2                     14\n                4       1792x384                4x1                     4\n                5       896x192                 2x1                     2\n                6       448x96                  1x1                     1\n\n  GDAL\n    COG optimized   true\n    COG broken      false\n    Tile order      RowMajor\n    Tile leader     uint32 - 4 Bytes\n    Mask interleaved  false\n```\n\n### cogeotiff dump\n\nDump all tiles for a image (**Warning** if you do this for a large cog this will create millions of files.)\n\n```\ncogeotiff dump --image 2 --output output\n```\n\n\n# Building\n\nThis requires [NodeJs](https://nodejs.org/en/)\n\nUse [n](https://github.com/tj/n) to manage nodeJs versions\n\n```bash\n# Download the latest nodejs\nn latest\n\n# Install node deps\nnpm install\n\n# Build everything into /build\nnpm run build\n\n# Run the unit tests\nnpm run test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacha%2Fcogeotiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblacha%2Fcogeotiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacha%2Fcogeotiff/lists"}