add Nemunas

This commit is contained in:
Motiejus Jakštys 2021-03-13 15:57:26 +02:00
parent 4b2f8bd65d
commit d76584eee7
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
EMPTY := EMPTY :=
SPACE := $(EMPTY) $(EMPTY) SPACE := $(EMPTY) $(EMPTY)
RIVERS ?= Visinčia Šalčia Žeimena Lakaja RIVERS ?= Visinčia Šalčia Žeimena Lakaja Nemunas
.faux_filter-rivers: .faux_import-osm .faux_filter-rivers: .faux_import-osm
./filter-rivers-query.awk $(RIVERS) | ./db -f - ./filter-rivers-query.awk $(RIVERS) | ./db -f -

View File

@ -1,7 +1,7 @@
#!/usr/bin/awk -f #!/usr/bin/awk -f
BEGIN { BEGIN {
print "DROP TABLE IF EXISTS rivers;"; print "DROP TABLE IF EXISTS rivers;"
printf "CREATE TABLE rivers AS SELECT name,way FROM planet_osm_line WHERE " printf "CREATE TABLE rivers AS SELECT name,way FROM planet_osm_line WHERE "
for (i = 1; i < ARGC; i++) { for (i = 1; i < ARGC; i++) {
printf "name='%s'", ARGV[i] printf "name='%s'", ARGV[i]