kopia lustrzana https://github.com/osm2vectortiles/osm2vectortiles
Fix table mapping bug
rodzic
b06b697c6f
commit
b103c95121
|
@ -72,9 +72,9 @@ def find_tables(config):
|
|||
for table_name, table_value in config['tables'].items():
|
||||
fields = table_value.get('fields')
|
||||
|
||||
if table_value.get('mappings'):
|
||||
if 'mappings' in table_value:
|
||||
mapping = list(merge_grouped_mappings(table_value['mappings']))
|
||||
else:
|
||||
elif 'mapping' in table_value:
|
||||
mapping = table_value.get('mapping').items()
|
||||
|
||||
if mapping and fields:
|
||||
|
|
Ładowanie…
Reference in New Issue