[CG] : correction orthographe Commune

This commit is contained in:
Colas Geier 2023-11-22 11:27:15 +01:00
parent 39180fd145
commit 080e06acf6

View File

@ -11,7 +11,7 @@ path_fichsite = '/media/colas/SRV/FICHIERS/OPERATIONS (EX ETUDES)/ETUDES EN COUR
path_geom = '/media/colas/SRV/FICHIERS/OUTILS/CARTOGRAPHIE/ESPACE DE TRAVAIL/ETUDES/CVB_Bourbre/Cartographie CVB Bourbre 2021/Mesures compensatoires/0_FINAL'
c_geom = 'mc_isere_CVBbourbre.gpkg'
c_geom_det = 'mc_isere_CVBbourbre_détaillé.gpkg'
pathout = '/home/colas/Documents/tmp/CVB_Bourbre/'
pathout = '/home/colas/Documents/tmp/CVB_Bourbre'
dic = {
'Code cadastral' : 'N° cadast',
@ -41,6 +41,12 @@ gdf.loc[gdf['N° cadast']=='00645','N° cadast'] = '0F0645'
gdf.loc[gdf['N° cadast']=='DS0252','N° cadast'] = '0C0252'
gdf.loc[gdf['Commune']=='Trep','Commune'] = 'Trept'
gdf.loc[gdf['Commune']=='Villefoantaine','Commune'] = 'Villefontaine'
gdf.loc[gdf['Commune']=='Villefonatine','Commune'] = 'Villefontaine'
gdf.loc[gdf['Commune']=='La Verpillère','Commune'] = 'La Verpillière'
gdf.loc[gdf['Commune']=='La Veprillière','Commune'] = 'La Verpillière'
gdf.loc[gdf['Commune']=='Vaulx_Milieu','Commune'] = 'Vaulx-Milieu'
gdf.loc[gdf['Commune']=='Valx-Milieu','Commune'] = 'Vaulx-Milieu'
gdf.loc[gdf['Commune']=='Saint-Qentin-Fallavier','Commune'] = 'Saint-Quentin-Fallavier'
def recup_details_note_parcelle(path):
DF = pd.DataFrame()