Closed dthonon closed 2 years ago
In GitLab by @fred.lpo07 on Oct 28, 2020, 17:07
Merci! Oui, ok, prioritaire sur les dates. Il serait intéressant à terme de savoir comment récupérer cette liste. Une fonction supplémentaire à l'appli? transfer_vn --get-territories?
La liste est déjà accessible dans la table src_vn.territorial_units. Je commence dès que possible.
In GitLab by @fred.lpo07 on Oct 29, 2020, 11:28
Oui, c'est vrai, on peut préalablement charger les territorial_units sans charger les données.
Il est possible de faire un premier téléchargement --full
avec uniquement le contrôleur territorial_units
activé. Même pour la France, ceci ne devrait prendre que quelques secondes.
Puis pour les téléchargements suivants, ajouter ce nouveau filtre avec les départements concernés.
In GitLab by @fred.lpo07 on Oct 31, 2020, 00:38
Oui, c'est bien suffisant.
mentioned in commit 1120449b7621d836ee0be113a0d28f3a8a4722d9
Le filtrage doit aussi s'appliquer a local_admin_units et places.
mentioned in commit 3e023a77bf1190926ad0a427952d1b8a97e9a1b0
mentioned in commit 889dd04f168b3419dde01ca8ac883f1780872a4e
mentioned in commit 4ad74535d723e488d5b0470c88c104b3bcd50d28
mentioned in commit 086ebf84968779007a70529dcf19f77b52e69d0d
mentioned in commit 4b04b3982a3ff31baebb1f83318317937083cecb
mentioned in commit abe4033d678fa4f3d2642606c3e15b7ab1f1ccb1
mentioned in commit 4083df8d34c66a912b435fce3ab65ee808e06c6f
mentioned in commit 8bc404aa9a5a6f3c8521c1a2e4daab1b3d85c5e6
mentioned in commit 1b0b4bc3fe8d6609f88fcd6dc25b531a5a99fe8a
Je propose d'ajouter un indicateur au filtre par territoire pour choisir. Le paramètre YAML serait :
Optional("territorial_unit_ids"): Seq(Str())
Et la séquence de chaînes de caractère serait les identifiants des départements