Skip to content

Commit

Permalink
Merge pull request #248 from pelias/disable_missinglink_pbf_for_large…
Browse files Browse the repository at this point in the history
…_PBF_files

change missinglink/pbf warning to fatal error
  • Loading branch information
orangejulius authored Sep 14, 2020
2 parents 26799bb + 8eb8b5c commit 2374421
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker_extract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ for PBF_FILE in "${PBF_FILES[@]}"; do
find "${PBF_FILE}" -maxdepth 1 -size +1G | while read file; do
2>&1 echo '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!';
2>&1 echo "${PBF_FILE} is very large.";
2>&1 echo 'You will likely experience memory issues working with large extracts like this.';
2>&1 echo 'We strongly recommend using Valhalla to produce extracts for large PBF extracts.';
2>&1 echo 'see: https://github.com/pelias/polylines#download!data';
2>&1 echo 'You can also download pre-processed polyline extracts from Geocode Earth.';
2>&1 echo 'see: https://github.com/pelias/polylines#download-data';
2>&1 echo '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!';
exit 1
done

# convert pbf file to 0sv (polylines) format, appending results to polyline file
Expand Down

0 comments on commit 2374421

Please sign in to comment.