mirror of
https://codeberg.org/matkoniecz/list_how_openstreetmap_can_be_improved_with_alltheplaces_data.git
synced 2025-04-11 10:09:29 +02:00
remove dead code
This commit is contained in:
parent
b654ab098a
commit
99aca5b5e6
2 changed files with 0 additions and 20 deletions
|
@ -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
|
||||
|
|
11
0_config.py
11
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue