mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
remove BDD test for tiger:county
We no longer rely on the import to strip the tag.
This commit is contained in:
@@ -347,16 +347,6 @@ function process_tags(o)
|
||||
|
||||
local is_interpolation = o:grab_address{match=INTERPOLATION_TAGS} > 0
|
||||
|
||||
if ADD_TIGER_COUNTY then
|
||||
local v = o:grab_tag('tiger:county')
|
||||
if v ~= nil then
|
||||
v, num = v:gsub(',.*', ' county')
|
||||
if num == 0 then
|
||||
v = v .. ' county'
|
||||
end
|
||||
o:set_address('tiger:county', v)
|
||||
end
|
||||
end
|
||||
o:grab_address{match=ADDRESS_TAGS}
|
||||
|
||||
if is_interpolation then
|
||||
|
||||
@@ -123,8 +123,7 @@ HOUSENUMBER_TAGS = tag_match{keys = {'addr:housenumber', 'addr:conscriptionnumbe
|
||||
|
||||
INTERPOLATION_TAGS = tag_match{keys = {'addr:interpolation'}}
|
||||
|
||||
ADDRESS_TAGS = tag_match{keys = {'addr:*', 'is_in:*'}}
|
||||
ADD_TIGER_COUNTY = true
|
||||
ADDRESS_TAGS = tag_match{keys = {'addr:*', 'is_in:*', 'tiger:county'}}
|
||||
|
||||
SAVE_EXTRA_MAINS = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user