rinigus / geocoder-nlp

Geocoder library based on libpostal normalization of libosmscout generated database
MIT License
21 stars 1 forks source link

installation #51

Closed ghost closed 6 years ago

ghost commented 6 years ago

hey can you please provide step by step procedure for libpostal language specific installation

rinigus commented 6 years ago

If you mean generation of the datasets, then see README at https://github.com/rinigus/geocoder-nlp/tree/master/scripts/postal

If you mean how to use them, see source code of https://github.com/rinigus/geocoder-nlp/blob/master/demo/main.cpp

Prepared datasets are available via OSM Scout Server (https://github.com/rinigus/osmscout-server), as a part of complete package providing map tiles, search, and routing.

So, please let me know if something is missing in instructions.

ghost commented 6 years ago

how to get geonames.tsv, postal_codes.tsv,formatted_addresses_tagged.random.tsv formatted_places_tagged.random.tsv files . i am unable to find a source

rinigus commented 6 years ago

They are attached to https://github.com/openvenues/libpostal/releases/tag/v1.0.0 in libpostal release. See archives attached to it.

ghost commented 6 years ago

so i need to fetch data from s3 right

rinigus commented 6 years ago

Yes. Since its an issue regarding libpostal datasets, I am closing it as an issue of the geocoder. Which doesn't prevent you from asking/discussing it over here after that.

ghost commented 6 years ago

hi rinigus, I have downloaded all the files reuired but unable to fin geonames.tsv and postal_codes.tsv . Do i need to download openaddresses_formatted_addresses_tagged.random.tsv.gz ?

On Wed, Jun 27, 2018 at 1:01 PM rinigus notifications@github.com wrote:

Closed #51 https://github.com/rinigus/geocoder-nlp/issues/51.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rinigus/geocoder-nlp/issues/51#event-1703170026, or mute the thread https://github.com/notifications/unsubscribe-auth/Aba3s5vELE9_fJ-aIHdYzzkRkvpzBtlVks5uAzTcgaJpZM4U4JNv .

rinigus commented 6 years ago

Sorry, I pointed you to the wrong datasets. For training, see https://github.com/openvenues/libpostal#parser-training-sets

ghost commented 6 years ago

hey i got this error during make -j 16 "./build_country_db.sh: line 109: build_geodb: command not found" i made sure that path to postal src is correct . Can u please check if it is working for u

On Thu, Jun 28, 2018 at 12:37 AM rinigus notifications@github.com wrote:

Sorry, I pointed you to the wrong datasets. For training, see https://github.com/openvenues/libpostal#parser-training-sets

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rinigus/geocoder-nlp/issues/51#issuecomment-400795772, or mute the thread https://github.com/notifications/unsubscribe-auth/Aba3s2BuF5q1E05-AtxoAZu3hIfDNzxnks5uA9gAgaJpZM4U4JNv .

rinigus commented 6 years ago

Indeed, the latest version of the scripts was not committed. Please check again