{"id":28233123,"url":"https://github.com/daniel-j-h/geozbush","last_synced_at":"2026-03-01T23:02:43.841Z","repository":{"id":294039248,"uuid":"985837664","full_name":"daniel-j-h/geozbush","owner":"daniel-j-h","description":" A very fast spatial index for geographic locations based on a Z-Order space filling curve","archived":false,"fork":false,"pushed_at":"2025-05-18T16:27:47.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-09T20:13:25.068Z","etag":null,"topics":["algorithm","computational-geometry","geospatial","index","javascript","kd-tree","openstreetmap","r-tree","space-filling-curve","spatial-index","z-order","z-order-index"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/daniel-j-h.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2025-05-18T16:20:32.000Z","updated_at":"2025-06-04T10:54:54.000Z","dependencies_parsed_at":"2025-05-18T16:51:36.915Z","dependency_job_id":null,"html_url":"https://github.com/daniel-j-h/geozbush","commit_stats":null,"previous_names":["daniel-j-h/geozbush"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/daniel-j-h/geozbush","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-j-h%2Fgeozbush","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-j-h%2Fgeozbush/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-j-h%2Fgeozbush/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-j-h%2Fgeozbush/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniel-j-h","download_url":"https://codeload.github.com/daniel-j-h/geozbush/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-j-h%2Fgeozbush/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29987656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T22:42:38.399Z","status":"ssl_error","status_checked_at":"2026-03-01T22:41:51.863Z","response_time":124,"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":["algorithm","computational-geometry","geospatial","index","javascript","kd-tree","openstreetmap","r-tree","space-filling-curve","spatial-index","z-order","z-order-index"],"created_at":"2025-05-18T21:04:50.638Z","updated_at":"2026-03-01T23:02:43.825Z","avatar_url":"https://github.com/daniel-j-h.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GeoZBush\n\nA very fast spatial index for geographic locations based on a Z-Order space filling curve.\n\nRelated:\n1. For a cloud-native parquet-based point index see [zindex](https://github.com/daniel-j-h/zindex)\n2. For an arbitrary point index in 2D see [zbush](https://github.com/daniel-j-h/zbush/)\n\n\n## Installation\n\nWe publish this project as the package [geozbush](https://www.npmjs.com/package/geozbush) on NPM\n\n```\nnpm install geozbush\n```\n\n\n## Usage\n\n```ts\nconst index = new GeoZBush();\n\nfor (const {lng, lat} of items) {\n  index.add(lng, lat);\n}\n\nindex.finish();\n\nconst foundIds = index.range(minlng, minlat, maxlng, maxlat);\n```\n\n\n## Release\n\nChecklist\n- [ ] Bump version in `package.json`\n- [ ] Tag the release `git tag vx.y.z -a`\n- [ ] Push the tag `git push origin vx.y.z`\n\nThere is a GitHub Action publishing to the [zbush package](https://www.npmjs.com/package/zbush) on NPM with provenance attestation.\n\n\n## License\n\nCopyright © 2025 Daniel J. H.\n\nDistributed under the MIT License (MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-j-h%2Fgeozbush","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniel-j-h%2Fgeozbush","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-j-h%2Fgeozbush/lists"}