WIP: Add Dockerfile and a script to do initial data bootstrap#1254
WIP: Add Dockerfile and a script to do initial data bootstrap#1254
Conversation
| -d "$POSTGRES_ENV_POSTGRES_DB" \ | ||
| -c "create extension if not exists postgis; create extension if not exists hstore;" | ||
|
|
||
| /usr/bin/wget https://s3.amazonaws.com/metro-extracts.mapzen.com/new-york_new-york.osm.pbf |
There was a problem hiding this comment.
Can this be a variable so I could, say, load up San Francisco instead?
How might we support multiple metro extracts?
| --cache 1024 \ | ||
| --style osm2pgsql.style \ | ||
| --hstore-all \ | ||
| new-york_new-york.osm.pbf \ |
There was a problem hiding this comment.
Would need to get the filename part of the earlier variable per comment https://github.com/tilezen/vector-datasource/pull/1254/files#r117051094.
|
The import script is currently failing with: |
|
Also getting this: I think part of the problem is that my |
|
😭 I think the issue is that I'm building the docker image using the |
|
Part of the problem was that I was confusing the image names as I mentioned above, but I also was running into problems because the image I built pulled in compiled stuff from my Mac that it shouldn't have. I added those things to |
|
@iandees probably a bit old, but how did you end up fixing the |
See also tilezen/tileserver#93.