Skip to content

Commit

Permalink
feat(docer_extract): change missinglink/pbf warning to fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink authored and orangejulius committed Sep 14, 2020
1 parent 26799bb commit 8eb8b5c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker_extract.sh
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 8eb8b5c

Please sign in to comment.