Skip to content

Commit

Permalink
Specify encoding of .tsv files.
Browse files Browse the repository at this point in the history
Fix #18
  • Loading branch information
greut committed Aug 4, 2015
1 parent 222b907 commit 37ff87c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ YEAR = 2015

PROPERTIES =

ENCODING = utf8

CONTOUR_INTERVAL = 500

all: topo
Expand Down Expand Up @@ -298,18 +300,21 @@ build/ge/lakes.shp: build/ch/lakes.shp
build/cantons.tsv: src/V200/$(YEAR)/VEC200_ADMLVL1.dbf
mkdir -p $(dir $@)
node_modules/.bin/dbf2dsv \
-e $(ENCODING) \
-o $@ \
-- $<

build/districts.tsv: src/V200/$(YEAR)/VEC200_ADMLVL2.dbf
mkdir -p $(dir $@)
node_modules/.bin/dbf2dsv \
-e $(ENCODING) \
-o $@ \
-- $<

build/municipalities.tsv: src/V200/$(YEAR)/VEC200_Commune.dbf
mkdir -p $(dir $@)
node_modules/.bin/dbf2dsv \
-e $(ENCODING) \
-o $@ \
-- $<

Expand Down

0 comments on commit 37ff87c

Please sign in to comment.