@@ -55,7 +55,7 @@ geocoder.init({}, function () {
55
55
56
56
Optionally ` init() ` also allows you to specify which files to load data from.
57
57
This reduces initialization time and the runtime memory footprint of the Node.js
58
- process. By default all files are loaded.
58
+ process. By default, all files are loaded.
59
59
60
60
``` javascript
61
61
var geocoder = require (' local-reverse-geocoder' );
@@ -381,9 +381,11 @@ npm install local-reverse-geocoder
381
381
## A Word on Data Freshness
382
382
383
383
By default, the local [ GeoNames dump] ( http://download.geonames.org/export/dump/ )
384
- data gets refreshed each day. You can override this behavior by removing the
385
- timestamp from the files in the ` ./geonames_dump ` download folder. If you don't
386
- need admin1, admin2, admin3, admin4 or alternate names you can turn them off in
384
+ data gets refreshed each day, creating files such as
385
+ ` admin1CodesASCII_YYYY-MM-DD.txt ` in the cache directory. If you wish to reuse
386
+ the existing downloaded files, you can rename them to remove the date, such as
387
+ ` admin1CodesASCII.txt ` , which will suppress the download. If you don't
388
+ need admin1, admin2, admin3, admin4 or alternate names, you can turn them off in
387
389
a manual init call and decrease load time.
388
390
389
391
## A Word on Memory Usage
0 commit comments