{"id":1246,"url":"https://github.com/caloon/NominatimKit","last_synced_at":"2025-07-30T20:32:49.269Z","repository":{"id":13882890,"uuid":"75208910","full_name":"caloon/NominatimKit","owner":"caloon","description":"A Swift wrapper for forward and reverse geocoding of OpenStreetMap data","archived":false,"fork":false,"pushed_at":"2022-01-27T11:17:03.000Z","size":67,"stargazers_count":56,"open_issues_count":2,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-10T04:02:50.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/caloon.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}},"created_at":"2016-11-30T17:08:25.000Z","updated_at":"2024-08-16T08:27:30.000Z","dependencies_parsed_at":"2022-08-07T07:15:53.186Z","dependency_job_id":null,"html_url":"https://github.com/caloon/NominatimKit","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caloon%2FNominatimKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caloon%2FNominatimKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caloon%2FNominatimKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caloon%2FNominatimKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caloon","download_url":"https://codeload.github.com/caloon/NominatimKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228187588,"owners_count":17882329,"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-01-05T20:15:42.127Z","updated_at":"2024-12-04T20:31:07.850Z","avatar_url":"https://github.com/caloon.png","language":"Swift","funding_links":[],"categories":["Hardware"],"sub_categories":["Location"],"readme":"# Nominatim\n\n[![CI Status](http://img.shields.io/travis/Josef/Nominatim.svg?style=flat)](https://travis-ci.org/Josef/Nominatim)\n[![Version](https://img.shields.io/cocoapods/v/Nominatim.svg?style=flat)](http://cocoapods.org/pods/Nominatim)\n[![License](https://img.shields.io/cocoapods/l/Nominatim.svg?style=flat)](http://cocoapods.org/pods/Nominatim)\n[![Platform](https://img.shields.io/cocoapods/p/Nominatim.svg?style=flat)](http://cocoapods.org/pods/Nominatim)\n\nNominatimKit is a Swift wrapper for forward and reverse geocoding of OpenStreetMap data. \n\n**Why?** Geocoding location data on iOS requires the use of CoreLocation and the user's permission to access location data. This permission if often not given. Even worse so, CLGeocoder can be [quite inaccurate](https://medium.com/@enricopiovesan/tutorial-geocoding-with-swift-4-7ef378778377#cb52). If you want a lightweight and more reliable solution to geocode addressess and coordinates, NominatimKit comes to the rescue.\n\n**How?** Nominatim is a search engine for OpenStreetMap data. NominatimKit uses the free Nominatim API to gather location data for specific geo coordinates or any free text query (i.e. addresses or landmarks).\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Installation\n\nNominatim is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```\npod 'Nominatim'\n```\n\n## Usage\n\nSearch for Addresses\n```\nNominatim.getLocation(fromAddress: \"Stephansplatz, 1010 Vienna, Austria\", completion: {(error, location) -\u003e Void in\n      print(\"Geolocation of the Royal Palace of Stockholm:\")\n      print(\"lat = \" + (location?.latitude)! + \"   lon = \" + (location?.longitude)!)\n    })\n```\nSearch for Landmarks\n```\nNominatim.getLocation(fromAddress: \"The Royal Palace of Stockholm\", completion: {(error, location) -\u003e Void in\n      print(\"Geolocation of the Royal Palace of Stockholm:\")\n      print(\"lat = \" + (location?.latitude)! + \"   lon = \" + (location?.longitude)!)\n    })\n```\nSearch with Latitude and Longitude\n```\nNominatim.getLocation(fromLatitude: \"55.6867243\", longitude: \"12.5700724\", completion: {(error, location) -\u003e Void in\n      print(\"City for geolocation 55.6867243/12.5700724:\")\n      print(location?.city)\n    })\n```\n\n## Author\n\nNominatimKit was created by Josef Moser. I am an independent software developer and co-founder of [Cora Health](https://www.cora.health/) and [Cryptoradar](https://cryptoradar.co).\n\nFind me on: [Github](https://github.com/caloon/) or [Twitter](https://twitter.com/josef_moser)\n\n## Contribution\n\nWe welcome contribution to this project by opening issues or pull request.\n\n## License\n\nNominatimKit is available under the MIT license. See the LICENSE file for more info.\nIf you'd like to acknowledge the author of NominatimKit, please set a link to this GitHub page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaloon%2FNominatimKit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaloon%2FNominatimKit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaloon%2FNominatimKit/lists"}