Skip to content

Commit

Permalink
Simplified argument logic for osm2pgsql
Browse files Browse the repository at this point in the history
  • Loading branch information
hutli committed Oct 9, 2024
1 parent e4537d8 commit cb60712
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ if [ "$1" == "import" ]; then
/data/region.osm.pbf \
${OSM2PGSQL_EXTRA_ARGS:-} \
;

# old flat-nodes dir
if [ -f /nodes/flat_nodes.bin ] && ! [ -f /data/database/flat_nodes.bin ]; then
mv /nodes/flat_nodes.bin /data/database/flat_nodes.bin
Expand Down

0 comments on commit cb60712

Please sign in to comment.