From aff12106c43fe4445aaee69790e7ffb0eea7cb58 Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 6 Oct 2016 14:04:28 -0400 Subject: [PATCH] [geoplanet] adding Island place_type --- scripts/geodata/geoplanet/create_geoplanet_db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/geodata/geoplanet/create_geoplanet_db.sh b/scripts/geodata/geoplanet/create_geoplanet_db.sh index b1bf6416..ce405484 100755 --- a/scripts/geodata/geoplanet/create_geoplanet_db.sh +++ b/scripts/geodata/geoplanet/create_geoplanet_db.sh @@ -55,7 +55,7 @@ echo "Creating GeoPlanet postal codes file" awk -F'\t' 'BEGIN{OFS="\t";} {if ($5 == "Zip") print $0;}' $GEOPLANET_ORIGINAL_PLACES_FILE > $GEOPLANET_POSTAL_CODES_FILE echo "Creating GeoPlanet places file" -awk -F'\t' 'BEGIN{OFS="\t";} {if ($5 == "Continent" || $5 == "Country" || $5 == "Nationality" || $5 == "State" || $5 == "County" || $5 == "Town" || $5 == "LocalAdmin" || $5 == "Suburb") print $0;}' $GEOPLANET_ORIGINAL_PLACES_FILE > $GEOPLANET_PLACES_FILE +awk -F'\t' 'BEGIN{OFS="\t";} {if ($5 == "Continent" || $5 == "Country" || $5 == "Nationality" || $5 == "State" || $5 == "County" || $5 == "Town" || $5 == "LocalAdmin" || $5 == "Island" || $5 == "Suburb") print $0;}' $GEOPLANET_ORIGINAL_PLACES_FILE > $GEOPLANET_PLACES_FILE echo "Fetching GeoNames concordance" download_file $GEOPLANET_GEONAMES_CONCORDANCE_URL $GEOPLANET_GEONAMES_CONCORDANCE_FILE