From 09506e26ad668856670a53955e31349ec88cb07e Mon Sep 17 00:00:00 2001 From: Terence Tuhinanshu Date: Fri, 19 Jan 2024 15:37:29 -0500 Subject: [PATCH] Add Locality to default filter This new value is used for many responses now, need to include it for the tests to pass. --- omgeo/services/esri.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/omgeo/services/esri.py b/omgeo/services/esri.py index f6d516c..99f9e99 100644 --- a/omgeo/services/esri.py +++ b/omgeo/services/esri.py @@ -55,6 +55,7 @@ class EsriWGS(GeocodeService): DEFAULT_POSTPROCESSORS = [ AttrFilter(['PointAddress', 'StreetAddress', + 'Locality', # 'PostalExt', # 'Postal' ], @@ -62,6 +63,7 @@ class EsriWGS(GeocodeService): # AttrExclude(['USA_Postal'], 'locator'), #accept postal from everywhere but US (need PostalExt) AttrSorter(['PointAddress', 'StreetAddress', + 'Locality', # 'PostalExt', # 'Postal' ],