{"id":20359386,"url":"https://github.com/saidsef/faas-reverse-geocoding","last_synced_at":"2025-04-12T03:32:31.654Z","repository":{"id":60700683,"uuid":"127825193","full_name":"saidsef/faas-reverse-geocoding","owner":"saidsef","description":"Golang reverse geocoding","archived":false,"fork":false,"pushed_at":"2025-03-14T19:35:33.000Z","size":243,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T23:07:27.832Z","etag":null,"topics":["docker","docker-container","geocoding","go","golang","golang-server","location","reverse-geocode","reverse-geocoding"],"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/saidsef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://revolut.me/saidsef"]}},"created_at":"2018-04-02T23:46:24.000Z","updated_at":"2025-03-14T19:35:37.000Z","dependencies_parsed_at":"2023-10-02T14:45:51.006Z","dependency_job_id":"0b6ac513-2cde-449f-a0a8-b5a49c69f682","html_url":"https://github.com/saidsef/faas-reverse-geocoding","commit_stats":{"total_commits":113,"total_committers":3,"mean_commits":"37.666666666666664","dds":0.07079646017699115,"last_synced_commit":"e369aaaac6a527c6e687005f979d28b9f06068e0"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidsef%2Ffaas-reverse-geocoding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidsef%2Ffaas-reverse-geocoding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidsef%2Ffaas-reverse-geocoding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saidsef%2Ffaas-reverse-geocoding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saidsef","download_url":"https://codeload.github.com/saidsef/faas-reverse-geocoding/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248512642,"owners_count":21116651,"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":["docker","docker-container","geocoding","go","golang","golang-server","location","reverse-geocode","reverse-geocoding"],"created_at":"2024-11-14T23:33:41.435Z","updated_at":"2025-04-12T03:32:31.649Z","avatar_url":"https://github.com/saidsef.png","language":"Go","funding_links":["https://revolut.me/saidsef"],"categories":[],"sub_categories":[],"readme":"# Golang Reverse GeoCoding\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/saidsef/faas-reverse-geocoding)](https://goreportcard.com/report/github.com/saidsef/faas-reverse-geocoding)\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/saidsef/faas-reverse-geocoding)\n[![GoDoc](https://godoc.org/github.com/saidsef/faas-reverse-geocoding?status.svg)](https://pkg.go.dev/github.com/saidsef/faas-reverse-geocoding?tab=doc)\n![GitHub release(latest by date)](https://img.shields.io/github/v/release/saidsef/faas-reverse-geocoding)\n![Commits](https://img.shields.io/github/commits-since/saidsef/faas-reverse-geocoding/latest.svg)\n![GitHub](https://img.shields.io/github/license/saidsef/faas-reverse-geocoding)\n\nReverse geocoding is used to find places or addresses near a latitude, longitude pair. Picture a map showing building outlines but no labels, then clicking on a building and being shown the name of the business. That is reverse geocoding.\n\nThis repository holds a small web service that performs reverse geocoding to determine whether specified geo  coordinates has an address. If it is then the response will contain attributes associated with the matched address, municipality, county, country, etc.\n\n\u003e By default, this will cache requests for 60 minutes to prevent repeated request(s) being sent again and again. The percision is limited to 3 decimal places.\n\n## Geographic Coordinates\n\nThe number of decimal places in geographic coordinates determines the accuracy of the location. Each additional decimal place increases the precision of the coordinates:\n\n| Decimal Places | Precision        |\n|:--------------:|:----------------:|\n| 1              | ±10 kilometres   |\n| 2              | ±1 kilometre     |\n| 3              | ±100 metres      |\n| 4              | ±10 metres       |\n| 5              | ±1 metre         |\n| 6              | ±10 centimetres  |\n\n## Deployment\n\n### Helm Chart\n\n```shell\nhelm repo add geocode https://saidsef.github.io/faas-reverse-geocoding\nhelm repo update\nhelm upgrade --install geocode geocode/reverse-geocoding --namespace geocode --create-namespace\n```\n\n\u003e *NOTE:* API can be accessed via port-forward `Service` or via Enabling `Ingress`\n\n### Kustomization\n\n```shell\nkubectl apply -k deployment/\n```\n\n\u003e *NOTE:* API can be accessed via port-forward `Service` or via updating `Ingress`\n\nTake it for a test drive:\n\n```shell\ncurl -d '{\"lat\":\"41.40338\",\"lon\":\"2.17403\"}' http://localhost:8080/\n```\n\n```python\nfrom requests import post\ndata='{\"lat\":\"41.40338\",\"lon\":\"2.17403\"}'\nr = post('http://localhost:8080/', data=data)\nprint(r.text)\n```\n\n## Source\n\nOur latest and greatest source of *Reverse Geocoding* can be found on [GitHub]. [Fork us](https://github.com/saidsef/faas-reverse-geocoding/fork)!\n\n## Contributing\n\nWe would :heart: you to contribute by making a [pull request](https://github.com/saidsef/faas-reverse-geocoding/pulls).\n\nPlease read the official [Contribution Guide](./CONTRIBUTING.md) for more information on how you can contribute.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaidsef%2Ffaas-reverse-geocoding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaidsef%2Ffaas-reverse-geocoding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaidsef%2Ffaas-reverse-geocoding/lists"}