aggregate and filter rivers

This commit is contained in:
2021-05-19 22:57:46 +03:00
committed by Motiejus Jakštys
parent 7d598c1789
commit 444d499286
3 changed files with 39 additions and 18 deletions

View File

@@ -1,11 +1,7 @@
# HACK HACK
EMPTY :=
SPACE := $(EMPTY) $(EMPTY)
RIVERS ?= Visinčia Šalčia Žeimena Lakaja Nemunas
WHERE ?= name='Visinčia' OR name='Šalčia' OR name='Nemunas'
.faux_filter-rivers: .faux_import-osm
./filter-rivers-query.awk $(RIVERS) | ./db -f -
./db -v where="$(WHERE)" -f aggregate-rivers.sql
touch $@
.faux_import-osm: lithuania-latest.osm.pbf .faux.db