From 862c1b677e841409acd61793f74605cf76986479 Mon Sep 17 00:00:00 2001 From: Al Date: Wed, 27 Jul 2016 00:31:31 -0400 Subject: [PATCH] [fix] minimum of 5 references for unknown populations --- scripts/geodata/osm/formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/geodata/osm/formatter.py b/scripts/geodata/osm/formatter.py index 2e29bd01..4c4d9f72 100644 --- a/scripts/geodata/osm/formatter.py +++ b/scripts/geodata/osm/formatter.py @@ -439,7 +439,7 @@ class OSMAddressFormatter(object): except (ValueError, TypeError): population = 0 - num_references = population / 10000 + 1 + num_references = population / 10000 + 5 if num_references > 1000: num_references = 1000