etalab / transport-site

Rendre disponible, valoriser et améliorer les données transports
https://transport.data.gouv.fr
195 stars 30 forks source link

MAJ données géographiques 2024 #4291

Closed vdegove closed 1 week ago

vdegove commented 2 weeks ago

À faire dans l’ordre après la MEP :

mix Transport.ImportCommunes
mix Transport.ImportDepartements
mix Transport.ImportEPCI

On met d’abord à jour les territoires, les AOM puis les offres de transports suivront dans d’autres PR.

Changements côté communes

Supprimé pour fusion dans d’autres communes, et cohérent avec le fichier 2023 de l’INSEE publié ici :

Autres suppressions qui ne sont pas présentes dans le fichier de l’INSEE (par erreur de leur part) :

Les 3 nouveaux codes INSEE posent problème, voir issue ici https://github.com/datagouv/decoupage-administratif/issues/49 il n’y a pas de population associée, du coup j’ai choisi dans le code de hardcoder ce que j’ai trouvé sur Wikipedia (faute de mieux) :

Changements côté départements

Le chef lieu de Mayotte change : https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000047998363

Changements pour les EPCI

Pour l’instant vu la faible utilisation des EPCI dans le code je ne suis pas dans le détail leurs changements.

Logs détaillés

[info] 3 new communes. INSEE codes: 60694, 85165, 85212
[info] 13 communes should be removed. INSEE codes: 08294, 16355, 18131, 25282, 25549, 35112, 49321, 64541, 69152, 85041, 85271, 86231, 95282
[info] Deleting removed communes…
[info] Updating communes (including potentially incorrect geometry)…
[info] Important changes for INSEE 03016. arrondissement_insee: 032 => 033 ; population: 142 => 141
[info] Important changes for INSEE 03018. arrondissement_insee: 032 => 033 ; population: 680 => 675
[info] Important changes for INSEE 03019. arrondissement_insee: 032 => 033 ; population: 1628 => 1632
[info] Important changes for INSEE 03038. arrondissement_insee: 032 => 033 ; population: 526 => 527
[info] Important changes for INSEE 03049. arrondissement_insee: 032 => 033
[info] Important changes for INSEE 03053. arrondissement_insee: 032 => 033 ; population: 1105 => 1108
[info] Important changes for INSEE 03059. arrondissement_insee: 032 => 033 ; population: 367 => 376
[info] Important changes for INSEE 03062. arrondissement_insee: 032 => 033 ; population: 346 => 342
[info] Important changes for INSEE 03063. arrondissement_insee: 032 => 033 ; population: 1030 => 1026
[info] Important changes for INSEE 03083. arrondissement_insee: 032 => 033 ; population: 575 => 577
[info] Important changes for INSEE 03086. arrondissement_insee: 032 => 033 ; population: 305 => 298
[info] Important changes for INSEE 03087. arrondissement_insee: 032 => 031 ; population: 597 => 595
[info] Important changes for INSEE 03096. arrondissement_insee: 032 => 033 ; population: 89 => 90
[info] Important changes for INSEE 03100. arrondissement_insee: 032 => 033 ; population: 1373 => 1359
[info] Important changes for INSEE 03102. arrondissement_insee: 032 => 033 ; population: 3010 => 2990
[info] Important changes for INSEE 03112. arrondissement_insee: 032 => 033 ; population: 665 => 664
[info] Important changes for INSEE 03114. arrondissement_insee: 032 => 033 ; population: 271 => 265
[info] Important changes for INSEE 03115. arrondissement_insee: 032 => 033 ; population: 344 => 340
[info] Important changes for INSEE 03116. arrondissement_insee: 032 => 033 ; population: 188 => 187
[info] Important changes for INSEE 03134. arrondissement_insee: 032 => 033 ; population: 193 => 194
[info] Important changes for INSEE 03148. arrondissement_insee: 032 => 033 ; population: 348 => 347
[info] Important changes for INSEE 03149. arrondissement_insee: 032 => 033 ; population: 429 => 418
[info] Important changes for INSEE 03150. arrondissement_insee: 031 => 032 ; population: 202 => 204
[info] Important changes for INSEE 03160. arrondissement_insee: 032 => 033 ; population: 412 => 415
[info] Important changes for INSEE 03171. arrondissement_insee: 032 => 033
[info] Important changes for INSEE 03173. arrondissement_insee: 032 => 033 ; population: 1144 => 1139
[info] Important changes for INSEE 03176. arrondissement_insee: 032 => 033 ; population: 542 => 540
[info] Important changes for INSEE 03177. arrondissement_insee: 032 => 033
[info] Important changes for INSEE 03188. arrondissement_insee: 032 => 033 ; population: 216 => 212
[info] Important changes for INSEE 03204. arrondissement_insee: 032 => 033 ; population: 618 => 617
[info] Important changes for INSEE 03207. arrondissement_insee: 032 => 033 ; population: 514 => 511
[info] Important changes for INSEE 03234. arrondissement_insee: 032 => 033 ; population: 368 => 382
[info] Important changes for INSEE 03237. arrondissement_insee: 032 => 033 ; population: 426 => 427
[info] Important changes for INSEE 03253. arrondissement_insee: 032 => 033 ; population: 374 => 370
[info] Important changes for INSEE 03254. arrondissement_insee: 032 => 033 ; population: 5100 => 4997
[info] Important changes for INSEE 03263. arrondissement_insee: 032 => 033 ; population: 197 => 199
[info] Important changes for INSEE 03265. arrondissement_insee: 032 => 033 ; population: 665 => 656
[info] Important changes for INSEE 03267. arrondissement_insee: 032 => 033 ; population: 658 => 652
[info] Important changes for INSEE 03278. arrondissement_insee: 032 => 033 ; population: 189 => 200
[info] Important changes for INSEE 03281. arrondissement_insee: 032 => 033
[info] Important changes for INSEE 03294. arrondissement_insee: 032 => 033 ; population: 169 => 170
[info] Important changes for INSEE 03300. arrondissement_insee: 032 => 033
[info] Important changes for INSEE 03307. arrondissement_insee: 032 => 033 ; population: 236 => 234
[info] Important changes for INSEE 03319. arrondissement_insee: 032 => 031 ; population: 489 => 491
[info] Important changes for INSEE 04045. nom: Céreste => Céreste-en-Luberon ; population: 1198 => 1194
[info] Important changes for INSEE 08053. geom: […] ; population: 2405 => 2365 ; siren: 200062826 => 200102325
[info] Important changes for INSEE 16097. geom: […] ; nom: Cherves-Richemont => Val-de-Cognac ; population: 2293 => 2285 ; siren: 211600978 => 200102226
[info] Important changes for INSEE 18173. geom: […] ; population: 242 => 238 ; siren: 211801733 => 200102242
[info] Important changes for INSEE 19033. arrondissement_insee: 193 => 192 ; population: 785 => 763
[info] Important changes for INSEE 22084. nom: Jugon-les-Lacs - Commune nouvelle => Jugon-les-Lacs ; population: 2533 => 2529
[info] Important changes for INSEE 24488. nom: Saint-Pompont => Saint-Pompon ; population: 343 => 353
[info] Important changes for INSEE 25060. geom: […] ; nom: Bians-les-Usiers => Val-d'Usiers ; population: 699 => 694 ; siren: 212500607 => 200102259
[info] Important changes for INSEE 35062. geom: […] ; nom: La Chapelle-Janson => La Chapelle-Fleurigné ; population: 1483 => 1492 ; siren: 213500622 => 200102275
[info] Important changes for INSEE 46063. geom: […] ; nom: Castelnau Montratier-Sainte Alauzie => Castelnau-Montratier ; population: 1836 => 1835
[info] Important changes for INSEE 46233. nom: Quissac => Quissac-en-Quercy ; population: 108 => 107
[info] Important changes for INSEE 49160. geom: […] ; nom: Ingrandes-Le Fresne sur Loire => Ingrandes-le-Fresne-sur-Loire ; population: 2687 => 2680 ; siren: 200060184 => 200102614
[info] Important changes for INSEE 60054. geom: […] ; nom: Les Hauts-Talican => Beaumont-les-Nonains ; population: 873 => 878 ; siren: 200083483 => 216000539
[info] Important changes for INSEE . arrondissement_insee:  => 601 ; departement_insee:  => 60 ; geom:  […] ; insee:  => 60694 ; nom:  => Les Hauts-Talican ; population:  => 543 ; region_id:  => 5 ; siren:  => 200083483
[info] Important changes for INSEE 64300. geom: […] ; population: 729 => 731 ; siren: 216403006 => 200102531
[info] Important changes for INSEE 69149. geom: […] ; nom: Oullins => Oullins-Pierre-Bénite ; population: 26994 => 27113 ; siren: 216901496 => 200102747
[info] Important changes for INSEE 73269. nom: Saint-Paul => Saint-Paul-sur-Yenne ; population: 730 => 746
[info] Important changes for INSEE 74091. arrondissement_insee: 742 => 744 ; population: 359 => 357
[info] Important changes for INSEE 74098. arrondissement_insee: 741 => 743 ; population: 1584 => 1611
[info] Important changes for INSEE 74128. arrondissement_insee: 743 => 742 ; population: 3525 => 3537
[info] Important changes for INSEE 74134. arrondissement_insee: 742 => 744 ; population: 1224 => 1223
[info] Important changes for INSEE 74307. arrondissement_insee: 741 => 743 ; population: 995 => 996
[info] Important changes for INSEE 76515. nom: Quiberville => Quiberville-sur-Mer ; population: 534 => 532
[info] Important changes for INSEE 77432. nom: Saint-Rémy-la-Vanne => Saint-Rémy-de-la-Vanne ; population: 987 => 981
[info] Important changes for INSEE 85084. geom: […] ; nom: Essarts en Bocage => Essarts-en-Bocage ; population: 9300 => 9399
[info] Important changes for INSEE . arrondissement_insee:  => 852 ; departement_insee:  => 85 ; geom:  => […] ; insee:  => 85165 ; nom:  => L'Oie ; population:  => 1259 ; region_id:  => 10 ; siren:  => 218501658
[info] Important changes for INSEE . arrondissement_insee:  => 852 ; departement_insee:  => 85 ; geom:  […] ; insee:  => 85212 ; nom:  => Sainte-Florence ; population:  => 1333 ; region_id:  => 10 ; siren:  => 218502128
[info] Important changes for INSEE 85292. geom: […] ; nom: Thouarsais-Bouildroux => Rives-du-Fougerais ; population: 778 => 775 ; siren: 218502920 => 200102572
[info] Important changes for INSEE 86084. nom: Coulonges => Coulonges-les-Hérolles ; population: 234 => 233
[info] Important changes for INSEE 86247. geom: […] ; nom: Saint-Saviol => Val-de-Comporté ; population: 535 => 536 ; siren: 218602472 => 200102440
[info] Important changes for INSEE 88001. arrondissement_insee: 881 => 882 ; population: 56 => 62
[info] Important changes for INSEE 88002. arrondissement_insee: 881 => 882 ; population: 73 => 70
[info] Important changes for INSEE 88006. arrondissement_insee: 881 => 882 ; population: 282 => 279
[info] Important changes for INSEE 88023. arrondissement_insee: 881 => 882 ; population: 83 => 85
[info] Important changes for INSEE 88024. arrondissement_insee: 881 => 882 ; population: 124 => 120
[info] Important changes for INSEE 88030. arrondissement_insee: 881 => 882 ; population: 151 => 154
[info] Important changes for INSEE 88037. arrondissement_insee: 883 => 881 ; population: 877 => 866
[info] Important changes for INSEE 88038. arrondissement_insee: 881 => 882
[info] Important changes for INSEE 88039. arrondissement_insee: 881 => 882 ; population: 337 => 333
[info] Important changes for INSEE 88041. arrondissement_insee: 881 => 882 ; population: 107 => 100
[info] Important changes for INSEE 88046. arrondissement_insee: 881 => 883 ; population: 131 => 133
[info] Important changes for INSEE 88047. arrondissement_insee: 881 => 882 ; population: 148 => 143
[info] Important changes for INSEE 88050. arrondissement_insee: 881 => 883 ; geom: […]
[info] Important changes for INSEE 88055. arrondissement_insee: 881 => 882 ; population: 161 => 163
[info] Important changes for INSEE 88056. arrondissement_insee: 881 => 882 ; population: 96 => 94
[info] Important changes for INSEE 88058. arrondissement_insee: 881 => 882 ; population: 94 => 92
[info] Important changes for INSEE 88060. arrondissement_insee: 881 => 882 ; population: 34 => 32
[info] Important changes for INSEE 88063. arrondissement_insee: 881 => 882 ; population: 135 => 134
[info] Important changes for INSEE 88066. arrondissement_insee: 881 => 882 ; population: 66 => 65
[info] Important changes for INSEE 88069. arrondissement_insee: 881 => 882
[info] Important changes for INSEE 88070. arrondissement_insee: 881 => 882 ; population: 176 => 178
[info] Important changes for INSEE 88071. arrondissement_insee: 881 => 882 ; population: 52 => 49
[info] Important changes for INSEE 88075. arrondissement_insee: 883 => 881 ; population: 4139 => 4041
[info] Important changes for INSEE 88076. arrondissement_insee: 881 => 883 ; population: 427 => 421
[info] Important changes for INSEE 88078. arrondissement_insee: 881 => 883 ; population: 3028 => 2981
[info] Important changes for INSEE 88086. arrondissement_insee: 881 => 883 ; population: 505 => 493
[info] Important changes for INSEE 88091. arrondissement_insee: 881 => 883 ; population: 384 => 380
[info] Important changes for INSEE 88097. arrondissement_insee: 881 => 882
[info] Important changes for INSEE 88100. arrondissement_insee: 881 => 882 ; population: 47 => 46
[info] Important changes for INSEE 88101. arrondissement_insee: 881 => 883 ; population: 1242 => 1245
[info] Important changes for INSEE 88103. arrondissement_insee: 881 => 882 ; population: 85 => 82
[info] Important changes for INSEE 88109. arrondissement_insee: 883 => 881 ; population: 647 => 643
[info] Important changes for INSEE 88116. arrondissement_insee: 883 => 881 ; population: 3062 => 3045
[info] Important changes for INSEE 88122. arrondissement_insee: 881 => 882 ; population: 367 => 382
[info] Important changes for INSEE 88129. arrondissement_insee: 881 => 882 ; population: 109 => 104
[info] Important changes for INSEE 88130. arrondissement_insee: 881 => 883 ; population: 244 => 243
[info] Important changes for INSEE 88131. arrondissement_insee: 881 => 883 ; population: 306 => 304
[info] Important changes for INSEE 88135. arrondissement_insee: 881 => 883
[info] Important changes for INSEE 88139. arrondissement_insee: 881 => 882
[info] Important changes for INSEE 88145. arrondissement_insee: 881 => 883 ; population: 213 => 212
[info] Important changes for INSEE 88147. arrondissement_insee: 881 => 882 ; population: 389 => 394
[info] Important changes for INSEE 88151. arrondissement_insee: 881 => 882 ; population: 1098 => 1087
[info] Important changes for INSEE 88155. arrondissement_insee: 881 => 882 ; population: 100 => 98
[info] Important changes for INSEE 88166. arrondissement_insee: 881 => 882 ; population: 361 => 359
[info] Important changes for INSEE 88167. arrondissement_insee: 881 => 883 ; population: 231 => 229
[info] Important changes for INSEE 88169. arrondissement_insee: 881 => 883 ; population: 212 => 215
[info] Important changes for INSEE 88172. arrondissement_insee: 881 => 883 ; population: 227 => 226
[info] Important changes for INSEE 88175. arrondissement_insee: 881 => 883 ; population: 462 => 467
[info] Important changes for INSEE 88177. arrondissement_insee: 883 => 881 ; population: 518 => 517
[info] Important changes for INSEE 88184. arrondissement_insee: 881 => 883 ; population: 435 => 428
[info] Important changes for INSEE 88185. arrondissement_insee: 881 => 882 ; population: 108 => 104
[info] Important changes for INSEE 88186. arrondissement_insee: 881 => 882
[info] Important changes for INSEE 88192. arrondissement_insee: 881 => 882
[info] Important changes for INSEE 88197. arrondissement_insee: 883 => 881 ; population: 352 => 353
[info] Important changes for INSEE 88202. arrondissement_insee: 881 => 882 ; population: 194 => 193
[info] Important changes for INSEE 88203. arrondissement_insee: 881 => 883 ; population: 353 => 355
[info] Important changes for INSEE 88210. arrondissement_insee: 881 => 882 ; population: 172 => 170
[info] Important changes for INSEE 88216. arrondissement_insee: 881 => 883 ; population: 738 => 731
[info] Important changes for INSEE 88222. arrondissement_insee: 881 => 883 ; population: 258 => 234
[info] Important changes for INSEE 88223. arrondissement_insee: 881 => 882 ; population: 166 => 169
[info] Important changes for INSEE 88226. arrondissement_insee: 881 => 882 ; population: 128 => 129
[info] Important changes for INSEE 88233. arrondissement_insee: 881 => 882 ; geom: […] ; population: 638 => 645
[info] Important changes for INSEE 88237. arrondissement_insee: 881 => 882 ; population: 360 => 351
[info] Important changes for INSEE 88240. arrondissement_insee: 881 => 883 ; population: 278 => 274
[info] Important changes for INSEE 88246. arrondissement_insee: 881 => 882 ; population: 488 => 487
[info] Important changes for INSEE 88254. arrondissement_insee: 881 => 882 ; population: 83 => 82
[info] Important changes for INSEE 88256. arrondissement_insee: 881 => 883 ; population: 268 => 264
[info] Important changes for INSEE 88257. arrondissement_insee: 881 => 882 ; population: 181 => 182
[info] Important changes for INSEE 88261. arrondissement_insee: 881 => 883 ; population: 631 => 633
[info] Important changes for INSEE 88262. arrondissement_insee: 881 => 883 ; population: 580 => 576
[info] Important changes for INSEE 88263. arrondissement_insee: 881 => 883 ; population: 204 => 202
[info] Important changes for INSEE 88264. arrondissement_insee: 881 => 882 ; population: 61 => 63
[info] Important changes for INSEE 88266. arrondissement_insee: 881 => 883 ; population: 827 => 833
[info] Important changes for INSEE 88279. arrondissement_insee: 881 => 882 ; population: 47 => 49
[info] Important changes for INSEE 88280. arrondissement_insee: 881 => 882 ; population: 143 => 135
[info] Important changes for INSEE 88281. arrondissement_insee: 881 => 882
[info] Important changes for INSEE 88286. arrondissement_insee: 881 => 882
[info] Important changes for INSEE 88288. arrondissement_insee: 881 => 882
[info] Important changes for INSEE 88292. arrondissement_insee: 881 => 882 ; geom: […] ; population: 799 => 800
[info] Important changes for INSEE 88295. arrondissement_insee: 881 => 882 ; population: 232 => 234
[info] Important changes for INSEE 88297. arrondissement_insee: 881 => 883 ; population: 162 => 168
[info] Important changes for INSEE 88304. arrondissement_insee: 881 => 882 ; population: 4819 => 4782
[info] Important changes for INSEE 88322. arrondissement_insee: 881 => 883 ; population: 508 => 511
[info] Important changes for INSEE 88331. arrondissement_insee: 881 => 883 ; population: 54 => 55
[info] Important changes for INSEE 88334. arrondissement_insee: 881 => 882 ; population: 297 => 283
[info] Important changes for INSEE 88347. arrondissement_insee: 881 => 882
[info] Important changes for INSEE 88348. arrondissement_insee: 881 => 883 ; population: 135 => 139
[info] Important changes for INSEE 88354. arrondissement_insee: 881 => 882 ; population: 188 => 185
[info] Important changes for INSEE 88357. arrondissement_insee: 881 => 882 ; population: 675 => 667
[info] Important changes for INSEE 88359. arrondissement_insee: 881 => 883 ; population: 90 => 89
[info] Important changes for INSEE 88364. arrondissement_insee: 881 => 882 ; population: 147 => 145
[info] Important changes for INSEE 88365. arrondissement_insee: 881 => 882 ; population: 152 => 150
[info] Important changes for INSEE 88368. arrondissement_insee: 881 => 882 ; population: 177 => 162
[info] Important changes for INSEE 88370. arrondissement_insee: 881 => 882 ; population: 66 => 71
[info] Important changes for INSEE 88374. arrondissement_insee: 881 => 882 ; population: 23 => 24
[info] Important changes for INSEE 88378. arrondissement_insee: 881 => 882 ; population: 99 => 100
[info] Important changes for INSEE 88382. arrondissement_insee: 881 => 882 ; population: 66 => 64
[info] Important changes for INSEE 88389. arrondissement_insee: 881 => 882 ; population: 81 => 80
[info] Important changes for INSEE 88391. arrondissement_insee: 883 => 881 ; population: 680 => 679
[info] Important changes for INSEE 88399. arrondissement_insee: 881 => 883 ; population: 206 => 210
[info] Important changes for INSEE 88400. arrondissement_insee: 881 => 882 ; population: 268 => 265
[info] Important changes for INSEE 88433. arrondissement_insee: 881 => 882 ; geom: […] ; population: 73 => 72
[info] Important changes for INSEE 88437. arrondissement_insee: 881 => 882 ; population: 100 => 99
[info] Important changes for INSEE 88442. arrondissement_insee: 883 => 881 ; population: 633 => 632
[info] Important changes for INSEE 88447. arrondissement_insee: 883 => 881 ; population: 2514 => 2510
[info] Important changes for INSEE 88462. arrondissement_insee: 883 => 881 ; population: 1887 => 1876
[info] Important changes for INSEE 88464. arrondissement_insee: 883 => 881 ; population: 510 => 506
[info] Important changes for INSEE 88467. arrondissement_insee: 883 => 881
[info] Important changes for INSEE 88469. arrondissement_insee: 881 => 882 ; population: 99 => 100
[info] Important changes for INSEE 88476. arrondissement_insee: 881 => 882 ; population: 120 => 117
[info] Important changes for INSEE 88486. arrondissement_insee: 883 => 881 ; population: 3900 => 3878
[info] Important changes for INSEE 88489. arrondissement_insee: 881 => 882 ; population: 253 => 254
[info] Important changes for INSEE 88493. arrondissement_insee: 881 => 882 ; population: 23 => 24
[info] Important changes for INSEE 88494. arrondissement_insee: 881 => 882 ; population: 119 => 120
[info] Important changes for INSEE 88499. arrondissement_insee: 881 => 882 ; population: 159 => 161
[info] Important changes for INSEE 88500. arrondissement_insee: 883 => 881 ; population: 832 => 828
[info] Important changes for INSEE 88502. arrondissement_insee: 881 => 883 ; population: 134 => 126
[info] Important changes for INSEE 88507. arrondissement_insee: 881 => 882 ; population: 196 => 193
[info] Important changes for INSEE 88508. arrondissement_insee: 881 => 882 ; population: 533 => 521
[info] Important changes for INSEE 88512. arrondissement_insee: 881 => 883 ; population: 247 => 241
[info] Important changes for INSEE 88522. arrondissement_insee: 881 => 882 ; population: 69 => 68
[info] Important changes for INSEE 88525. arrondissement_insee: 881 => 882
[info] Important changes for INSEE 88528. arrondissement_insee: 881 => 883 ; population: 154 => 153
[info] Important changes for INSEE 88529. arrondissement_insee: 881 => 882 ; population: 111 => 109
[info] Important changes for INSEE 95169. geom: […] ; population: 511 => 502 ; siren: 219501699 => 200102267
[info] Finished. Count of changes: %{arrondissement_insee: 177, departement_insee: 3, geom: 2632, insee: 3, nom: 21, population: 31895, region_id: 3, siren: 15}
[info] 0 new departements
[info] 0 departements should be removed
[info] Deleting removed communes…
[info] Updating departments (including potentially incorrect geometry)…
[info] Important changes for INSEE 976. chef_lieu: 97608 => 97611 ; geom: […]
[info] Finished. Count of changes: %{chef_lieu: 1, geom: 76}
[info] Ensure valid geometries and rectify if needed.
[info] 1255 are now in database
[info] Ensure valid geometries and rectify if needed.
thbar commented 1 week ago

Bravo @vdegove !