Skip to content

Commit

Permalink
Add Locality to default filter
Browse files Browse the repository at this point in the history
This new value is used for many responses now, need to include it
for the tests to pass.
  • Loading branch information
rajadain committed Jan 19, 2024
1 parent ecf614a commit 09506e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions omgeo/services/esri.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ class EsriWGS(GeocodeService):
DEFAULT_POSTPROCESSORS = [
AttrFilter(['PointAddress',
'StreetAddress',
'Locality',
# 'PostalExt',
# 'Postal'
],
'locator_type'),
# AttrExclude(['USA_Postal'], 'locator'), #accept postal from everywhere but US (need PostalExt)
AttrSorter(['PointAddress',
'StreetAddress',
'Locality',
# 'PostalExt',
# 'Postal'
],
Expand Down

0 comments on commit 09506e2

Please sign in to comment.