Skip to content

Commit

Permalink
increase simplify for us-congress topo
Browse files Browse the repository at this point in the history
  • Loading branch information
bradoyler committed Oct 29, 2016
1 parent d4c389d commit 4064aa3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions us-congress/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ wy_fips=56
pr_fips=72
vi_fips=78

all: topo/us/congress.json csv/us/congress.csv
all: topo/us-congress.json csv/us/congress.csv

all-states:
for i in ${STATES} ; do make topo/$$i/congress.json ; done
Expand Down Expand Up @@ -106,15 +106,15 @@ csv/%/congress.csv: shp/%/congress.shp
ogr2ogr -f 'CSV' -progress $@ $<

# * notice the handy ID-prop *
topo/us/congress.json: shp/us/congress.shp
topo/us-congress.json: shp/us/congress.shp
mkdir -p $(dir $@)
../node_modules/.bin/topojson \
-o $@ \
-q 1E6 \
-s 1E-6 \
-q 2000000 \
-s 0.000006 \
-p CONG_DIST,CONG_REP,PARTY_AFF,STATE,STATE_FIPS \
--id-property=STATE_FIPS+CONG_DIST \
-- congress=$<
-- us_congress=$<

topo/ak/congress.json: shp/ak/congress.shp
mkdir -p $(dir $@)
Expand Down

0 comments on commit 4064aa3

Please sign in to comment.