add Nemunas
This commit is contained in:
parent
7c6f57a89b
commit
7d598c1789
2
Makefile
2
Makefile
@ -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 -
|
||||||
|
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user