diff --git a/.env-template b/.env-template index f0eefc9..81419e8 100644 --- a/.env-template +++ b/.env-template @@ -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 diff --git a/0_config.py b/0_config.py index f6881d7..6f90745 100644 --- a/0_config.py +++ b/0_config.py @@ -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