{"id":16200070,"url":"https://github.com/rinigus/geocoder-nlp","last_synced_at":"2025-03-19T05:30:55.122Z","repository":{"id":44354473,"uuid":"77797531","full_name":"rinigus/geocoder-nlp","owner":"rinigus","description":"Geocoder library based on libpostal normalization of libosmscout generated database","archived":false,"fork":false,"pushed_at":"2024-10-05T15:31:40.000Z","size":387,"stargazers_count":21,"open_issues_count":3,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-17T04:12:25.432Z","etag":null,"topics":["geocoder","geocoder-library","libpostal","linux","sailfishos"],"latest_commit_sha":null,"homepage":"","language":"C++","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/rinigus.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-01T21:35:34.000Z","updated_at":"2024-10-05T15:31:44.000Z","dependencies_parsed_at":"2024-10-27T20:18:38.080Z","dependency_job_id":"4550fdb2-5aec-4a43-8d38-fe59e3de236e","html_url":"https://github.com/rinigus/geocoder-nlp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinigus%2Fgeocoder-nlp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinigus%2Fgeocoder-nlp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinigus%2Fgeocoder-nlp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinigus%2Fgeocoder-nlp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rinigus","download_url":"https://codeload.github.com/rinigus/geocoder-nlp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244364709,"owners_count":20441458,"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":["geocoder","geocoder-library","libpostal","linux","sailfishos"],"created_at":"2024-10-10T09:29:10.848Z","updated_at":"2025-03-19T05:30:54.695Z","avatar_url":"https://github.com/rinigus.png","language":"C++","readme":"# Geocoder NLP\n\nThis is a geocoder C++ library that targets offline use by mobile \napplications. It is able to perform forward and reverse geocoding. \nFor forward geocoding, it uses libpostal to parse the user\nrequest, normalize the parsed result, and search for the match in\ngeocoder database. In addition to traditional reverse geocoding, it is \nable to find points of interest close to the reference point or line.\n\nThe library includes demo program showing how to use it. Its also used\nas one of the geocoders in OSM Scout Server\n(https://github.com/rinigus/osmscout-server). For preparation of the\nSQLite database used by the geocoder, an importer from liboscmscout\nmap database is provided.\n\nWhen using country-based libpostal address parser and limiting number\nof languages used to process the search request, it is possible to use\nthis geocoder on mobile platforms. The development of the geocoder is\nmainly targeting Sailfish OS applications with the tests running on\nLinux as well. Its expected that the geocoder would run on platforms\nsupported by libpostal without any major changes.\n\nTo compile, adjust Makefile. The library can be used by incorporating\nsource code files in `src` subdirectory and ensuring that\n`thirdparty/sqlite3pp/headeronly_src` is in the compiler's include\npath.\n\nIn addition to libpostal, libsqlite3 is required for the geocoder to\nfunction. For importer, libosmscout is required in addition to the\nlibraries mentioned above.\n\n## Databases\n\nAt present, the datasets required for the geocoder to function are distributed \nas a part of OSM Scout Server datasets.\n\nIf you use the geocoder with the full libpostal installation, you don't need to \nget the libpostal datasets from that location, but can use the datasets \nprovided by libpostal. This is a default when there is no path\nspecified for corresponding libpostal datasets. \n\nTo use country-specific datasets, you would have to get:\n* libpostal language parser: postal/global\n* libpostal country-specific database: postal/countries/SELECT THE NEEDED ONES\n\nIn addition, the prepared geocoder databases are available at \ngeocoder/SELECT THE NEEDED ONES.\n\nDatabase format is described in [separate document](Database.md).\n\n## Acknowledgments\n\nlibpostal: Used for input parsing; https://github.com/openvenues/libpostal\n\nNominatim: Used for data import; https://nominatim.org/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frinigus%2Fgeocoder-nlp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frinigus%2Fgeocoder-nlp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frinigus%2Fgeocoder-nlp/lists"}