#1 Tue 04 May 2021 13:18
- NoemieB56
- Juste Inscrit !
- Date d'inscription: 28 Feb 2021
- Messages: 1
QGIS: Dictionnaire de donnees - informations champs
Bonjour,
Je souhaite réaliser un dictionnaire de données pour plusieurs shp. Ce dictionnaire doit contenir le nom des champs contenus dans la couche, le type de données et les différentes valeurs possibles (pour les données de type Liste de valeurs).
J'ai enregistré le fichier de style depuis l'onglet champs. Ce fichier au format QML contient les informations qui m'intéresse mais je ne sais pas comment extraire automatiquement les données qui sont entre des balises pour l'avoir dans un tableur.
Connaissez-vous un programme ou un plugin qui fasse cela sur QGIS 3.10 ?
Merci par avance, Noémie
Hors ligne
#2 Wed 05 May 2021 17:00
Re: QGIS: Dictionnaire de donnees - informations champs
Bonjour,
En application indépendante de QGIS, DicoGIS fonctionne toujours : https://static.geotribu.fr/dicogis.
Dernière modification par Guts JM (Thu 06 May 2021 20:48)
Géomaticien et animateur de Geotribu (http://geotribu.fr)
Hors ligne
#3 Thu 06 May 2021 10:47
- GlaDal
- Participant assidu
- Date d'inscription: 30 Aug 2013
- Messages: 1021
Re: QGIS: Dictionnaire de donnees - informations champs
Bonjour, le lien proposé par Guts JM ne fonctionnant pas, je me permets de le modifier : https://static.geotribu.fr/articles/201 … 5_dicogis/
Hors ligne
#4 Thu 06 May 2021 20:49
Re: QGIS: Dictionnaire de donnees - informations champs
Bonjour, le lien proposé par Guts JM ne fonctionnant pas, je me permets de le modifier : https://static.geotribu.fr/articles/201 … 5_dicogis/
Corrigé, merci ! Sacrées balises BBCode, j'ai perdu l'habitude !
Géomaticien et animateur de Geotribu (http://geotribu.fr)
Hors ligne
#5 Sun 26 February 2023 11:16
- Theos2000
- Participant assidu
- Date d'inscription: 15 Jun 2015
- Messages: 221
Re: QGIS: Dictionnaire de donnees - informations champs
Bonjour est ce que quelqu’un a essayé sur une base postgis ? Pas possible de le faire fonctionner, est ce lié a la version postgres ou windows, je travaille avec un window11 et un postgreSQL 11 Merci.
Code:
Exception in Tkinter callback Traceback (most recent call last): File "Tkinter.pyo", line 1486, in __call__ File "DicoGIS.py", line 474, in <lambda> File "DicoGIS.py", line 877, in process File "DicoGIS.py", line 1505, in check_fields File "DicoGIS.py", line 1549, in test_connection AttributeError: 'NoneType' object has no attribute 'GetLayerCount' Exception in Tkinter callback Traceback (most recent call last): File "Tkinter.pyo", line 1486, in __call__ File "DicoGIS.py", line 474, in <lambda> File "DicoGIS.py", line 877, in process File "DicoGIS.py", line 1505, in check_fields File "DicoGIS.py", line 1549, in test_connection AttributeError: 'NoneType' object has no attribute 'GetLayerCount' Exception in Tkinter callback Traceback (most recent call last): File "Tkinter.pyo", line 1486, in __call__ File "DicoGIS.py", line 474, in <lambda> File "DicoGIS.py", line 877, in process File "DicoGIS.py", line 1505, in check_fields File "DicoGIS.py", line 1559, in test_connection File "DicoGIS.py", line 1435, in process_db File "modules\georeaders\Infos_PostGIS.pyo", line 86, in __init__ UnboundLocalError: local variable 'obj' referenced before assignment Exception in Tkinter callback Traceback (most recent call last): File "Tkinter.pyo", line 1486, in __call__ File "DicoGIS.py", line 474, in <lambda> File "DicoGIS.py", line 877, in process File "DicoGIS.py", line 1505, in check_fields File "DicoGIS.py", line 1559, in test_connection File "DicoGIS.py", line 1435, in process_db File "modules\georeaders\Infos_PostGIS.pyo", line 86, in __init__ UnboundLocalError: local variable 'obj' referenced before assignment Exception in Tkinter callback Traceback (most recent call last): File "Tkinter.pyo", line 1486, in __call__ File "DicoGIS.py", line 474, in <lambda> File "DicoGIS.py", line 877, in process File "DicoGIS.py", line 1505, in check_fields File "DicoGIS.py", line 1549, in test_connection AttributeError: 'NoneType' object has no attribute 'GetLayerCount'
Hors ligne
#6 Sun 26 February 2023 13:02
- Theos2000
- Participant assidu
- Date d'inscription: 15 Jun 2015
- Messages: 221
Re: QGIS: Dictionnaire de donnees - informations champs
Bonjour est ce que quelqu’un a essayé sur une base postgis ? Pas possible de le faire fonctionner, est ce lié a la version postgres ou windows, je travaille avec un window11 et un postgreSQL 11 Merci.
Code:
Exception in Tkinter callback Traceback (most recent call last): File "Tkinter.pyo", line 1486, in __call__ File "DicoGIS.py", line 474, in <lambda> File "DicoGIS.py", line 877, in process File "DicoGIS.py", line 1505, in check_fields File "DicoGIS.py", line 1549, in test_connection AttributeError: 'NoneType' object has no attribute 'GetLayerCount' Exception in Tkinter callback Traceback (most recent call last): File "Tkinter.pyo", line 1486, in __call__ File "DicoGIS.py", line 474, in <lambda> File "DicoGIS.py", line 877, in process File "DicoGIS.py", line 1505, in check_fields File "DicoGIS.py", line 1549, in test_connection AttributeError: 'NoneType' object has no attribute 'GetLayerCount' Exception in Tkinter callback Traceback (most recent call last): File "Tkinter.pyo", line 1486, in __call__ File "DicoGIS.py", line 474, in <lambda> File "DicoGIS.py", line 877, in process File "DicoGIS.py", line 1505, in check_fields File "DicoGIS.py", line 1559, in test_connection File "DicoGIS.py", line 1435, in process_db File "modules\georeaders\Infos_PostGIS.pyo", line 86, in __init__ UnboundLocalError: local variable 'obj' referenced before assignment Exception in Tkinter callback Traceback (most recent call last): File "Tkinter.pyo", line 1486, in __call__ File "DicoGIS.py", line 474, in <lambda> File "DicoGIS.py", line 877, in process File "DicoGIS.py", line 1505, in check_fields File "DicoGIS.py", line 1559, in test_connection File "DicoGIS.py", line 1435, in process_db File "modules\georeaders\Infos_PostGIS.pyo", line 86, in __init__ UnboundLocalError: local variable 'obj' referenced before assignment Exception in Tkinter callback Traceback (most recent call last): File "Tkinter.pyo", line 1486, in __call__ File "DicoGIS.py", line 474, in <lambda> File "DicoGIS.py", line 877, in process File "DicoGIS.py", line 1505, in check_fields File "DicoGIS.py", line 1549, in test_connection AttributeError: 'NoneType' object has no attribute 'GetLayerCount'
Hors ligne