diff options
author | evansiroky <evan.siroky@yahoo.com> | 2018-12-31 22:35:21 -0800 |
---|---|---|
committer | evansiroky <evan.siroky@yahoo.com> | 2018-12-31 22:35:21 -0800 |
commit | 45bbec0aa7ee5f60354b9803c4ff79d4d63689a9 (patch) | |
tree | 682095210fbe4fca862dd0e9f20130b8422b78c5 /README.md | |
parent | 854b6ec0a4a20c9caaa346d615ec7e87f0e9ea72 (diff) | |
download | timezone-boundary-builder-45bbec0aa7ee5f60354b9803c4ff79d4d63689a9.tar.gz |
Update to node.js version 10.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ node --max-old-space-size=8192 index.js --filtered-zones "America/New_York,Ameri There are three config files that describe the boundary building process. The `osmBoundarySources.json` file lists all of the needed boundaries to extract via queries to the Overpass API. The `timezones.json` file lists all of the timezones and various operations to perform to build the boundaries. The `expectedZoneOverlaps.json` file lists all timezones that are allowed to overlap each other and the acceptable bounds of a particular overlap. -The `index.js` file downloads all of the required geometries, builds the specified geometries, validates that there aren't large areas of overlap (other than those that are expected), outputs one huge geojson file, and finally zips up the geojson file using the `zip` cli and also converts the geojson to a shapefile using the `ogr2ogr` cli. The script has only been verified to run with Node.js 6 on the MacOS platform. +The `index.js` file downloads all of the required geometries, builds the specified geometries, validates that there aren't large areas of overlap (other than those that are expected), outputs one huge geojson file, and finally zips up the geojson file using the `zip` cli and also converts the geojson to a shapefile using the `ogr2ogr` cli. The script has only been verified to run with Node.js 10 on the MacOS platform. The code does query the publicly available overpass API, but it self-throttles the making of requests to have a minimum of 4 seconds gap between requests. If the Overpass API throttles the download, then the gap will be increased exponentially. |