From 59704092097dff6c69cb53e89a7f2c84739020da Mon Sep 17 00:00:00 2001 From: Roland Date: Sat, 22 Oct 2022 14:27:40 -0600 Subject: [PATCH] Reformatting for easier reading. --- scripts/install_map_ubuntu_20.04.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install_map_ubuntu_20.04.sh b/scripts/install_map_ubuntu_20.04.sh index 2040fc9e..cd378300 100755 --- a/scripts/install_map_ubuntu_20.04.sh +++ b/scripts/install_map_ubuntu_20.04.sh @@ -79,8 +79,9 @@ while [ "${COUNT}" -lt "${MAX_TRIES}" ]; do external_data=true [[ "${dc_import}" = false ]] && # Run import in "create" mode so basic tables will be created. - sudo -u wrolpi nice -n 18 osm2pgsql -d gis --create --slim -G --hstore --tag-transform-script \ - /opt/openstreetmap-carto/openstreetmap-carto.lua -C 2000 --number-processes 4 \ + sudo -u wrolpi nice -n 18 osm2pgsql -d gis --create --slim -G --hstore \ + --tag-transform-script /opt/openstreetmap-carto/openstreetmap-carto.lua \ + -C 2000 --number-processes 3 \ -S /opt/openstreetmap-carto/openstreetmap-carto.style /tmp/district-of-columbia-latest.osm.pbf && dc_import=true [[ "${indexes}" = false ]] &&