tomayac / local-reverse-geocoder

Local reverse geocoder for Node.js based on GeoNames data
Apache License 2.0
190 stars 58 forks source link

Added an option to pick a cities database #48

Closed tkafka closed 2 years ago

tkafka commented 2 years ago

For my project, I needed as granular location database as possible, so I added an option to pick a specific cities database (one of CITIES_FILES = ['cities500', 'cities1000', 'cities5000', 'cities15000']).

tomayac commented 2 years ago

Thanks for the PR. Please carefully re-check if everything still works after my changes, which mostly just fix the code conventions. Respond here, and I'm happy to merge.

tkafka commented 2 years ago

@tomayac Hi Thomas, I confirm the geocoder works with your changes, good to merge!