Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import des données 2024 erreur OGR2OGR #459

Open
jserieye opened this issue Sep 5, 2024 · 0 comments
Open

Import des données 2024 erreur OGR2OGR #459

jserieye opened this issue Sep 5, 2024 · 0 comments

Comments

@jserieye
Copy link

jserieye commented Sep 5, 2024

Description du bug

Bonjour, lors de l'import des du millésime 2024, je rencontre l'erreur suivante à l'étape * Import des fichiers EDIGEO dans la base :
Erreur - L'import des données via OGR2OGR a échoué: Failed to process SRS definition: EPSG:2154 ['', '-s_srs', 'EPSG:2154', '-a_srs', 'EPSG:2154', '-append', '-f', 'PostgreSQL', 'PG:host=localhost port=5432 dbname=postgres active_schema=cadastre_1 user=*** password=****', 'C:\\Users\\JB2A4~1.SER\\AppData\\Local\\Temp\\2\\cad_edigeo_plain_m7ew0x86\\tar_1\\E0000A02.THF', '-lco', 'GEOMETRY_NAME=geom', '-lco', 'PG_USE_COPY=YES', '-nlt', 'GEOMETRY', '-gt', '50000', '--config', 'OGR_EDIGEO_CREATE_LABEL_LAYERS', 'NO', '--config', 'PG_USE_COPY', 'YES']

Reproduire le bug

Etapes pour reproduire le bug (remplacer)

  1. Ouvrir la fenêtre d'import des données
  2. Compléter les informations :
    Type de base = Postgis
    Schéma = cadastre_1
    Répertoire Fichiers EDIGEO = c:/XXXXXX, Projection source=2154, Projection cible=2154
    Répertoire Fichiers MAJIC= c:/XXXXXX
    Paramètres Département = 30, Direction=0, Version du format=2024, année 2024, Lot= 30_2024

Log

INITIALISATION
* Copie du répertoire C:\Users\j.serieye\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\cadastre\scripts/plugin 
0 s 
MAJIC
Suppression des contraintes 
0 s 
- SUPPRESSION DES CONTRAINTES D'INTEGRITEES : DEBUT 
0 s 
- suppression clefs primaires 
0 s 
Suppression des indexes 
0 s 
Import des fichiers majic 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30064\BATI.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30074\BATI.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30105\BATI.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30139\BATI.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30213\BATI.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30297\BATI.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30332\BATI.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30064\LLOC.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30074\LLOC.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30105\LLOC.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30139\LLOC.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30213\LLOC.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30297\LLOC.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30332\LLOC.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30064\NBAT.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30074\NBAT.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30105\NBAT.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30139\NBAT.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30213\NBAT.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30297\NBAT.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30332\NBAT.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30064\PDLL.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30074\PDLL.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30105\PDLL.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30139\PDLL.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30213\PDLL.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30297\PDLL.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30332\PDLL.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30064\PROP.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30074\PROP.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30105\PROP.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30139\PROP.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30213\PROP.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30297\PROP.A2024.N000540 
S:/0_MAJ_CADASTRE/MAJIC/30/majic_2024/majic_par_commune\30332\PROP.A2024.N000540 
15 s 
Mise en forme des données 
15 s 
- FORMATAGE DONNEES : DEBUT 
15 s 
- Traitement: parcelle 
16 s 
- Traitement: suf 
17 s 
- Traitement: sufexoneration 
18 s 
- Traitement: suftaxation 
18 s 
- Traitement: local00 
19 s 
- Traitement: local10 
20 s 
- Traitement: pev 
20 s 
- Traitement: pevexoneration 
20 s 
- Traitement: pevexoneration_imposable 
20 s 
- Traitement: pevexoneration_imposee 
20 s 
- Traitement: pevtaxation 
20 s 
- Traitement: pevprincipale 
20 s 
- Traitement: pevprofessionnelle 
20 s 
- Traitement: 
21 s 
- Traitement: pevdependances 
21 s 
- Traitement: commune_majic 
21 s 
- Traitement: proprietaire 
21 s 
- création: comptecommunal à partir de proprietaire 
22 s 
- Traitement: pdl 
22 s 
- Traitement: parcellecomposante 
22 s 
- Traitement: lots 
22 s 
- Traitement: lotslocaux 
22 s 
- Traitement: commune 
22 s 
- Traitement: voie 
22 s 
- purge des doublons : voie 
22 s 
- INDEXES 
26 s 
- ANALYSES 
36 s 
- FORMATAGE DONNEES : FIN 
36 s 
Purge des données brutes 
36 s 
EDIGEO
Type de base : postgis, Connexion: Postgres (localhost), Schéma: cadastre_1 
* Décompression des fichiers 
* Recherche des fichiers .bz2 
101 fichier(s) .bz2 dans S:/0_MAJ_CADASTRE/EDIGEO/30 
101 fichier(s) .bz2 dans C:\Users\JB2A4~1.SER\AppData\Local\Temp\2\cad_edigeo_plain_m7ew0x86 
45 s 
Suppression des contraintes 
45 s 
- SUPPRESSION DES CONTRAINTES D'INTEGRITEES : DEBUT 
45 s 
- suppression clefs primaires 
45 s 
* Import des fichiers EDIGEO dans la base 
- Import des fichiers via ogr2ogr 
Erreur - L'import des données via OGR2OGR a échoué: Failed to process SRS definition: EPSG:2154 ['', '-s_srs', 'EPSG:2154', '-a_srs', 'EPSG:2154', '-append', '-f', 'PostgreSQL', 'PG:host=localhost port=5432 dbname=postgres active_schema=cadastre_1 user=***** password=*******', 'C:\\Users\\JB2A4~1.SER\\AppData\\Local\\Temp\\2\\cad_edigeo_plain_m7ew0x86\\tar_1\\E0000A02.THF', '-lco', 'GEOMETRY_NAME=geom', '-lco', 'PG_USE_COPY=YES', '-nlt', 'GEOMETRY', '-gt', '50000', '--config', 'OGR_EDIGEO_CREATE_LABEL_LAYERS', 'NO', '--config', 'PG_USE_COPY', 'YES'] 
FINALISATION



Environnement

  • OS: Windows / Linux ? Windows
  • Version de QGIS : ? 3.38.2
  • Version du plugin : ? 1.20.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant