diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/makecolumns.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/makecolumns.sh b/src/makecolumns.sh index 7f61ea7..2df65c9 100755 --- a/src/makecolumns.sh +++ b/src/makecolumns.sh | |||
@@ -182,7 +182,13 @@ handle_old_format() { | |||
182 | fi | 182 | fi |
183 | 183 | ||
184 | karto=$1/[Dd][Aa][Tt]/[Kk][Aa][Rr][Tt][Oo].[Dd][Aa][Tt] | 184 | karto=$1/[Dd][Aa][Tt]/[Kk][Aa][Rr][Tt][Oo].[Dd][Aa][Tt] |
185 | [ -f ${karto} ] && do_processfile_old ${karto} "geo coordinates" 90_Geokoordinaten_hnr | 185 | [ -f ${karto} ] && do_processfile_old ${karto} "geo coordinates" 90_Geokoordinaten_hnr_raw |
186 | |||
187 | printf "Looking up geo coordinates for each phonebook entry ... " | ||
188 | tr '\0' '\n' < 90_Geokoordinaten_hnr_raw | tr ';' '\t' | cut -f "1,2,3,4,6,7" | tr '\n' '\0' > 90_Geokoordinaten_hnr | ||
189 | rm 90_Geokoordinaten_hnr_raw | ||
190 | lam 10_Postleitzahl -s $'\t' 07_Strasse -s $'\t' 08_Hausnummer | mapcoords 90_Geokoordinaten_hnr | convertcoords > 16_Koordinaten | ||
191 | printf "done.\n" | ||
186 | } | 192 | } |
187 | 193 | ||
188 | handle_new_format() { | 194 | handle_new_format() { |