From 6b950de8f813c1cd48978387b5bf458165a6f90c Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sun, 9 Feb 2014 03:52:19 +0100 Subject: Automatically convert coordinates to WGS84 --- src/makecolumns.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/makecolumns.sh b/src/makecolumns.sh index 9e8d6cb..1d3fcd1 100755 --- a/src/makecolumns.sh +++ b/src/makecolumns.sh @@ -244,7 +244,7 @@ handle_new_format() { cat file_* > 90_Geokoordinaten_hnr printf "done.\n" printf "Looking up geo coordinates for each phonebook entry ... " - lam 10_Postleitzahl -s $'\t' 07_Strasse -s $'\t' 08_Hausnummer | mapcoords 90_Geokoordinaten_hnr > 16_Koordinaten + lam 10_Postleitzahl -s $'\t' 07_Strasse -s $'\t' 08_Hausnummer | mapcoords 90_Geokoordinaten_hnr | convertcoords > 16_Koordinaten printf "done.\n" elif [ -f $1/zip-streets-geo.tl ]; then printf "Extracting geo coordinates (precision: street) ... " @@ -252,7 +252,7 @@ handle_new_format() { cat file_* > 91_Geokoordinaten_str printf "done.\n" printf "Looking up geo coordinates for each phonebook entry ... " - lam 10_Postleitzahl -s $'\t' 07_Strasse | mapcoords 91_Geokoordinaten_str > 16_Koordinaten + lam 10_Postleitzahl -s $'\t' 07_Strasse | mapcoords 91_Geokoordinaten_str | convertcoords > 16_Koordinaten printf "done.\n" fi rm file_* -- cgit v1.2.3