From 4a52e037afaaea37ba9d249e2a3798ff6dffd252 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sat, 16 Aug 2014 23:47:48 +0200 Subject: [PATCH] Add PPLC (capitals) to cities.txt, and thus to geodata.xml --- data/geonames/geonames_process.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/geonames/geonames_process.awk b/data/geonames/geonames_process.awk index 57f0cd6..c503559 100644 --- a/data/geonames/geonames_process.awk +++ b/data/geonames/geonames_process.awk @@ -2,6 +2,6 @@ BEGIN { FS="\t" } { - if ($7 != "P" || $8 != "PPL" || $15 < 1000) next + if ($7 != "P" || ($8 != "PPL" && $8 != "PPLC") || $15 < 1000) next print $9 FS $2 FS $5 FS $6 FS $16 FS $18 }