fix print attrs habitat
This commit is contained in:
parent
9e88245e3d
commit
37e4a38065
@ -1093,7 +1093,7 @@ def insert_habPS(df,ps_statut='actif'):
|
||||
return [df,True]
|
||||
except Exception as e:
|
||||
print(e)
|
||||
print('PS : Insert news attrs impossible !')
|
||||
print('PS : Insert news attrs habitats impossible !')
|
||||
return [df,False]
|
||||
|
||||
|
||||
@ -1297,9 +1297,9 @@ if __name__ == "__main__":
|
||||
'"PS_BELLEDONNE_CEN38_2014"','"PS_BIEVRE_CEN38_2014"','"PS_BIEVRE_CEN38_2016"','"PS_SUD-GRENOBLOIS_CEN38_2009"',
|
||||
'"PS_VERCORS_CEN38_2011"'
|
||||
]
|
||||
from_table = '"cr_ECRIN_habitats_CBNA_2014"'
|
||||
from_table = '"cr_VERCORS_habitats_CBNA_1999-2007"'
|
||||
from_file = 'fwdcouchesinventairepelousessches2022/PS2022_UG.gpkg'
|
||||
# from_table = '"cr_ECRIN_habitats_CBNA_2014"'
|
||||
# from_table = '"cr_VERCORS_habitats_CBNA_1999-2007"'
|
||||
from_file = 'PS_AGGREGATION_NB_AG.shp'
|
||||
path0 = '/home/colas/Documents/9_PROJETS/2_PS/TO IMPORT/'
|
||||
|
||||
# org = from_file.split('/')[1]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user