Skip to content

Commit

Permalink
Use updated lake_centerlines.geojson. (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaa32 authored Nov 8, 2021
1 parent 74fcd48 commit 2b94a8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/import-data/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN set -eux ;\
mkdir -p "$DIR" ;\
cd "$DIR" ;\
apk add --no-cache sqlite ;\
wget --quiet https://naturalearth.s3.amazonaws.com/packages/natural_earth_vector.sqlite.zip ;\
wget --quiet https://dev.maptiler.download/geodata/omt/natural_earth_vector.sqlite.zip ;\
unzip -oj natural_earth_vector.sqlite.zip ;\
../clean-natural-earth.sh natural_earth_vector.sqlite ;\
rm ../clean-natural-earth.sh ;\
Expand All @@ -28,7 +28,7 @@ RUN set -eux ;\
DIR=/downloads/lake_centerline ;\
mkdir -p "$DIR" ;\
cd "$DIR" ;\
wget --quiet https://github.com/lukasmartinelli/osm-lakelines/releases/download/v0.9/lake_centerline.geojson
wget --quiet https://dev.maptiler.download/geodata/omt/lake_centerline.geojson


FROM osgeo/gdal:alpine-normal-3.0.2
Expand Down
2 changes: 1 addition & 1 deletion docker/import-data/import_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if [ -z ${1+x} ] || [ "$1" = "lake-centerline" ]; then
PGCLIENTENCODING=UTF8 ogr2ogr \
-progress \
-f Postgresql \
-s_srs EPSG:4326 \
-s_srs EPSG:3857 \
-t_srs EPSG:3857 \
"PG:$PGCONN" \
-lco OVERWRITE=YES \
Expand Down

0 comments on commit 2b94a8f

Please sign in to comment.