aggregate and filter rivers

This commit is contained in:
Motiejus Jakštys
2021-03-13 16:44:31 +02:00
parent d76584eee7
commit 69bb49f49c
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