mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-12 22:04:07 +00:00
introduce and use analyzer for postcodes
This commit is contained in:
@@ -98,7 +98,7 @@ class _PostcodeSanitizer:
|
||||
obj.address.pop(pos)
|
||||
else:
|
||||
postcode.name = formatted[0]
|
||||
postcode.set_attr('lookup', formatted[1])
|
||||
postcode.set_attr('variant', formatted[1])
|
||||
|
||||
|
||||
def scan(self, postcode, country):
|
||||
|
||||
Reference in New Issue
Block a user