Description
Hi there! Thanks for this app!
I am trying to understand how the Geonames dump config works.
You say:
By default, the local GeoNames dump data gets refreshed each day. You can override this behavior by removing the timestamp from the files in the ./geonames_dump download folder.
But that does not seem to apply.
I say that because I didn't remove the timestamp from the files in geonames_dump
, but they also do not seem to have received any updates in the past 2 months.
This is the geonames_dump
structure (I am disabling some admin-codes on init)
$ tree geonames_dump/
geonames_dump/
|-- admin1_codes
| `-- admin1CodesASCII_2018-06-08.txt
`-- cities
`-- cities1000_2018-06-08.txt
The files and folders on the dump directory also have the same date/time of 2018-06-08 as their names imply.
So my main questions are:
- Is the described functionality of auto-update disabled or broken?
- Am I right to suppose it is not updating?
- How would I manually update the dump?
(just move/remove the geonames_dump folder and run?)
- Is there any way to config the updates? (eg. make it run monthly)
I am a bit new to node.js and could not really find many hints on the code at this point.
It would be nice to have a way to initialize a new dump while still using the old one as well (no downtime on the service). Should be easy to just do it all on a temporary folder and then move it when done, right?
Edit: I just would like to make sure it does not update everyday, but also make it update each 3 months (4 times per year seems more than fine for city limits, having a force-update feature would also be usefull).
Cheers!
Gus