1
0
Fork 0

remove dead code

This commit is contained in:
Mateusz Konieczny 2025-01-15 17:11:19 +01:00
parent b654ab098a
commit 99aca5b5e6
2 changed files with 0 additions and 20 deletions

View file

@ -8,12 +8,3 @@ OSM_ATM_MATCHER_OUTPUT_FOLDER=output
OSM_ATM_MATCHER_PUBLISHED_OUTPUT_FOLDER=../public_website_with_output
# and if you do not want it at all, set following to False (or to True if you want it)
OSM_ATM_MATCHER_ENABLE_PUBLISHED_OUTPUT=False
# use
# OSM_ATM_MATCHER_COUNTRY_CODE_LIST=pl,si,de,us,gb,ca,au,nz,se,at,za,it,lu,ch
# to use all defined ones
#
# use
# OSM_ATM_MATCHER_COUNTRY_CODE_LIST=lu
# to run quick test, with downloading more limited data
OSM_ATM_MATCHER_COUNTRY_CODE_LIST=lu

View file

@ -950,17 +950,6 @@ def ignored_atp_codes():
]
def processing_plan(): # TODO remove this vestigal function
returned = {}
known_data = shared.country_data()
requested_codes = os.getenv("OSM_ATM_MATCHER_COUNTRY_CODE_LIST").split(",") # TODO - this is surely not used anymore? and can be removed from .env ?
for code in requested_codes:
for name, data in known_data.items():
if data['country_code'] == code:
returned[name] = known_data[name]
return returned
def good_match_distance_in_kilometers():
return 0.1