From da89c9b63b4234655d1fb3144b0281386146211e Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 28 Mar 2022 14:02:47 +0100 Subject: [PATCH] clarify comment --- etl/extract_mastermap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etl/extract_mastermap.sh b/etl/extract_mastermap.sh index d5b2403c..f0863e0c 100755 --- a/etl/extract_mastermap.sh +++ b/etl/extract_mastermap.sh @@ -23,7 +23,9 @@ gunzip $data_dir/{} -k -S gml rename 's/$/.gml/' $data_dir/*[^gzvt] -# Note: we may need to update the below for other downloads +# Note: previously the rename cmd above resulted in some temp files being renamed to .gml +# so I have specified the start of the filename (appears to be consistent for all OS MasterMap downloads) +# we may need to update this below for other downloads find $data_dir -type f -name '*5690395*.gml' -printf "%f\n" | \ parallel \ ogr2ogr \