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
skip cases where there is no import nor conflict
This commit is contained in:
parent
fcb71b73d2
commit
27ecb42b7c
1 changed files with 3 additions and 0 deletions
|
@ -245,6 +245,9 @@ def process_single_dataset(checked_data_sources, atp_code, area):
|
|||
import_judgment = data_extractor_function(entry)
|
||||
# a bit weird place to check that, but it is checked only here as it requires external call
|
||||
# so it is preferable to do it sparingly
|
||||
if import_judgment['status'] == 'no_import_for_this_key':
|
||||
# hide already matched entries - show just proposed import entries and failed matching
|
||||
continue
|
||||
import_judgment = adjust_judgment_for_address_location_mismatch_checked_by_nominatim(entry, import_judgment)
|
||||
extracted['data'].append(entry_to_presentation_object(extracted['key'], entry, import_judgment))
|
||||
apparently_importable[extracted['key']].append(entry)
|
||||
|
|
Loading…
Add table
Reference in a new issue