3liz / QgisCadastrePlugin

A QGIS plugin which helps users to import the french land registry ('cadastre') data into a database. It is meant to ease the use of the data in QGIS by providing search tools and appropriate layer symbology.
GNU General Public License v2.0
60 stars 41 forks source link

Automatisation import cadastre #145

Open julienrascle opened 5 years ago

julienrascle commented 5 years ago

J'aimerais automatiser l'import des données cadastrales grâce à un script python autonome. Quelle serait la démarche à suivre ?

Merci d'avance

mdouchin commented 5 years ago

@landryb a une branche sur sont github qui permet de réaliser ce type de tâche. Il faudrait voir le travail à réaliser pour que le plugin intègre cette possibilité

landryb commented 5 years ago

cf https://github.com/landryb/QgisCadastrePlugin/tree/import_cli

landryb commented 5 years ago

surtout https://github.com/landryb/QgisCadastrePlugin/blob/import_cli/README_cli.md en fait..

landryb commented 4 years ago

Pour info, je suis en train de batailler pour mettre a jour le code pour qgis3/qt5/python3.

Le mieux serait a mon avis de transformer toute la partie import en un job pour processing, ce qui faciliterait le scripting..

landryb commented 4 years ago

cf https://github.com/landryb/QgisCadastrePlugin/tree/import_cli_qgis3 pour la branche avec le support de qgis3/python3/qt5. a priori ca semble marcher ici avec les données 2019.. je fais un test sur un département pour voir.

auri179 commented 4 years ago

J'ai également besoin de ce script pour automatiser les imports / maj du cadastre. Qu'est ce que les tests ont donné ? Et quelle est la procédure pour l’exécuter en python ? Merci !

landryb commented 4 years ago

https://github.com/landryb/QgisCadastrePlugin/blob/import_cli_qgis3/README_cli.md#configuration

pas de pb manifeste pour l'import d'un departement complet, comme les années précédentes..