{"id":20836317,"url":"https://github.com/igrigorik/libgeohash","last_synced_at":"2025-05-08T02:38:42.140Z","repository":{"id":1054425,"uuid":"886901","full_name":"igrigorik/libgeohash","owner":"igrigorik","description":"Ruby FFI wrapper for libgeohash","archived":false,"fork":false,"pushed_at":"2010-09-03T23:41:29.000Z","size":88,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T16:34:39.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igrigorik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-09-03T23:41:14.000Z","updated_at":"2019-08-13T14:36:22.000Z","dependencies_parsed_at":"2022-08-16T11:55:16.586Z","dependency_job_id":null,"html_url":"https://github.com/igrigorik/libgeohash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrigorik%2Flibgeohash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrigorik%2Flibgeohash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrigorik%2Flibgeohash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igrigorik%2Flibgeohash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igrigorik","download_url":"https://codeload.github.com/igrigorik/libgeohash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252988451,"owners_count":21836528,"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","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":[],"created_at":"2024-11-18T00:29:31.228Z","updated_at":"2025-05-08T02:38:42.100Z","avatar_url":"https://github.com/igrigorik.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"GeoHash\n=======\n\nFFI Ruby wrapper for [SimpleGeo's libgeohash](http://github.com/simplegeo/libgeohash).\n\n    GeoHash.encode(42.60498046875, -5.60302734375, 5) # =\u003e 'ezs42'\n    GeoHash.decode('ezs42')   # =\u003e {:lat =\u003e 42.60498046875, :lng =\u003e -5.60302734375}\n    Geohash.neighbors('ezs42) # =\u003e [\"ezs48\", \"ezs49\", \"ezs43\", \"ezs41\", \"ezs40\", \"ezefp\", \"ezefr\", \"ezefx\"]\n\nWhat's a GeoHash?\n----------------\n\nGeohash is a latitude/longitude geocode system invented by Gustavo Niemeyer when writing the web service at geohash.org, and put into the public domain. It is a hierarchical spatial data structure which subdivides space into buckets of grid shape.\nGeohashes offer properties like arbitrary precision and the possibility of gradually removing characters from the end of the code to reduce its size (and gradually lose precision).\n\nAs a consequence of the gradual precision degradation, nearby places will often (but not always) present similar prefixes. On the other side, the longer a shared prefix is, the closer the two places are.\n\n - [Wikipedia article](http://en.wikipedia.org/wiki/Geohash)\n - [GeoHash site](http://geohash.org/site/tips.html)\n - [JS Demo](http://openlocation.org/geohash/geohash-js/)\n\nCredits\n-------\n\n - Derek Smith - libgeohash author\n - Ilya Grigorik - FFI wrapper","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrigorik%2Flibgeohash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figrigorik%2Flibgeohash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figrigorik%2Flibgeohash/lists"}