forked from osmlab/to-fix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (23 loc) · 782 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
keepright-latest.zip:
wget -N https://to-fix.s3.amazonaws.com/keepright-latest.zip
osmi-latest.zip:
wget -N https://to-fix.s3.amazonaws.com/osmi-latest.zip
tigerdelta-latest.zip:
wget -N https://to-fix.s3.amazonaws.com/tigerdelta-latest.zip
northeast_highway_intersects_building.csv:
wget -N https://to-fix.s3.amazonaws.com/northeast_highway_intersects_building.csv
install:
sh install.sh
load: northeast_highway_intersects_building.csv tigerdelta-latest.zip osmi-latest.zip keepright-latest.zip
node index.js --fixed > fixed.json
rm -rf ldb
mkdir ldb
sh load.sh fixed.json
rm fixed.json
stats:
sh getStats.sh
clean-ldb:
rm -rf ldb
mkdir ldb
clean: clean-ldb
rm northeast_highway_intersects_building.csv tigerdelta-latest.zip osmi-latest.zip keepright-latest.zip