|
|
@ -2,11 +2,11 @@ |
|
|
|
set -e; |
|
|
|
set -e; |
|
|
|
|
|
|
|
|
|
|
|
# per-source downloads |
|
|
|
# per-source downloads |
|
|
|
function download_wof(){ compose_run 'whosonfirst' npm run download; } |
|
|
|
function download_wof(){ compose_run 'whosonfirst' './bin/download'; } |
|
|
|
function download_oa(){ compose_run 'openaddresses' npm run download; } |
|
|
|
function download_oa(){ compose_run 'openaddresses' './bin/download'; } |
|
|
|
function download_osm(){ compose_run 'openstreetmap' npm run download; } |
|
|
|
function download_osm(){ compose_run 'openstreetmap' './bin/download'; } |
|
|
|
function download_tiger(){ compose_run 'interpolation' npm run download-tiger; } |
|
|
|
function download_tiger(){ compose_run 'interpolation' './bin/download-tiger'; } |
|
|
|
function download_transit(){ compose_run 'transit' npm run download; } |
|
|
|
function download_transit(){ compose_run 'transit' './bin/download'; } |
|
|
|
|
|
|
|
|
|
|
|
register 'download' 'wof' '(re)download whosonfirst data' download_wof |
|
|
|
register 'download' 'wof' '(re)download whosonfirst data' download_wof |
|
|
|
register 'download' 'oa' '(re)download openaddresses data' download_oa |
|
|
|
register 'download' 'oa' '(re)download openaddresses data' download_oa |
|
|
|