Bèr Kessels 10 months ago
parent
commit
30dc4f500a
2 changed files with 282 additions and 2 deletions
  1. 3
    2
      Makefile
  2. 279
    0
      data/country_name.sql

+ 3
- 2
Makefile View File

@@ -9,10 +9,11 @@ PG_URL = postgres://postgres:$(POSTGRES_PASSWORD)@localhost:5432/$(DB_NAME)
9 9
 all: test lint
10 10
 
11 11
 import: services
12
+	psql $(PG_URL) < ./data/country_name.sql
12 13
 	./bin/imposm import -appendcache \
13 14
 											-diff \
14
-	                    -cachedir /media/ber/ExtraDrive1/OSM/imposm3/ \
15
-	                    -diffdir /media/ber/ExtraDrive1/OSM/updates/ \
15
+											-cachedir /media/ber/ExtraDrive1/OSM/imposm3/ \
16
+											-diffdir /media/ber/ExtraDrive1/OSM/updates/ \
16 17
 											-connection $(PG_URL) \
17 18
 											-mapping mapping.yml \
18 19
 											-read $(OSM_FILE) \

+ 279
- 0
data/country_name.sql
File diff suppressed because it is too large
View File


Loading…
Cancel
Save