From 3084fc929bf9af9452f289f248e358b30293f40b Mon Sep 17 00:00:00 2001 From: Al Date: Tue, 6 Oct 2015 16:01:18 -0400 Subject: [PATCH] [geodb] Was missing country boundary type in GeoDB causing some misses in parsing --- src/geodb_builder.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/geodb_builder.c b/src/geodb_builder.c index 34c56aaa..708c8ae3 100644 --- a/src/geodb_builder.c +++ b/src/geodb_builder.c @@ -348,6 +348,8 @@ uint16_t get_address_component(uint32_t boundary_type) { return ADDRESS_NEIGHBORHOOD; } else if (boundary_type == GEONAMES_ADMIN1) { return ADDRESS_ADMIN1; + } else if (boundary_type == COUNTRY) { + return ADDRESS_COUNTRY; } else if (boundary_type == GEONAMES_ADMIN2) { return ADDRESS_ADMIN2; } else if (boundary_type == GEONAMES_ADMIN3) {