@@ -55,7 +55,7 @@ geocoder.init({}, function () {
5555
5656Optionally ` init() ` also allows you to specify which files to load data from.
5757This 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.
5959
6060``` javascript
6161var geocoder = require (' local-reverse-geocoder' );
@@ -381,9 +381,11 @@ npm install local-reverse-geocoder
381381## A Word on Data Freshness
382382
383383By 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
387389a manual init call and decrease load time.
388390
389391## A Word on Memory Usage
0 commit comments