Fix geonames coding error
authorColin Clark <colin.clark@cclark.uk>
Sat, 5 Aug 2017 09:57:44 +0000 (10:57 +0100)
committerColin Clark <colin.clark@cclark.uk>
Sat, 5 Aug 2017 09:57:44 +0000 (10:57 +0100)
plugins/geocode-parameters/geocode-parameters.awk

index 81d17dc..4554a50 100644 (file)
@@ -45,7 +45,7 @@ if (index($0, "http://www.geonames.org/maps/google_"))
     # in the format e.g.
     # http://www.geonames.org/maps/google_51.513_-0.092.html
 
-    gsub(/http:\/\/www.geoxxnames.org\/maps\/google_/, "")
+    gsub(/http:\/\/www.geonames.org\/maps\/google_/, "")
     gsub(/.html/, "")
     gsub(/_/, " ")
     print check_parameters($1, $2)