#24617 closed defect (fixed)
[patch] Cadastre-fr plugin needs update for new edigeo features
| Reported by: | chris38 | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin cadastre-fr | Version: | tested |
| Keywords: | template_report | Cc: |
Description (last modified by )
plus possible de charger un fichier THF avec le greffon cadastre. / No more possible to load a THF file
What steps will reproduce the problem?
- open file thf (lambert93)
What is the expected result?
display
What happens instead?
error
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2026-01-31 13:00:34 +0100 (Sat, 31 Jan 2026) Revision:19481 Build-Date:2026-02-01 02:30:45 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (19481 fr) Linux Mint 22.1 Memory Usage: 278 MB / 1962 MB (166 MB allocated, but free) Java version: 21.0.9+10-Ubuntu-124.04, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 1366x768x[Multi depth]@60Hz (scaling 1.00×1.00) Maximum Screen Size: 1366×768 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: fr_FR.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: fr_FR Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: X-Cinnamon Java package: openjdk-21-jre:amd64-21.0.9+10-1~24.04 fonts-noto: fonts-noto:- Plugins: + apache-commons (36474) + cadastre-fr (36474) + conflation (274) + contourmerge (v0.2.2) + ejml (36474) + geotools (36474) + jackson (36474) + jaxb (36474) + jts (36474) + scripting (v0.3.5) + todo (157) + utilsplugin2 (36474) Last errors/warnings: - 00003.372 E: java.lang.IllegalStateException: Erreur lors de l'ajout du certificat HARICA TLS RSA Root CA 2021 - non-concordance de signature du certificat. Attendu 8dd4b5373cb0de36769c12339280d82746b3aa6cd426e797a31babe4279cf00b , était d95d0e8eda79525bf9beb11b14d2100d3294985f0c62d9fabd9cd999eccb7b1d - 00003.991 W: Version principale du greffon panoramax manquante. - 00006.174 W: Version principale du greffon panoramax manquante. - 00006.997 W: Mettre à jour - Vous avez mis à jour votre logiciel JOSM. Les greffons devraient aussi être mis à jour pour éviter les conflits. Voulez-vous les mettre à jour maintenant ? - 00012.878 W: Version principale du greffon panoramax manquante. - 00013.177 W: Version principale du greffon panoramax manquante. - 00059.665 E: Handled by bug report queue: java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 1 === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: main-worker-0 (26) of main java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 1 at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55) at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52) at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213) at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:210) at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckFromToIndex(Preconditions.java:112) at java.base/jdk.internal.util.Preconditions.checkFromToIndex(Preconditions.java:349) at java.base/java.lang.String.checkBoundsBeginEnd(String.java:4865) at java.base/java.lang.String.substring(String.java:2834) at org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoRecord.<init>(EdigeoRecord.java:69) at org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoFile.read(EdigeoFile.java:152) at org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoLotFile.read(EdigeoLotFile.java:48) at org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoFileTHF$Lot.readFiles(EdigeoFileTHF.java:265) at org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoFileTHF.read(EdigeoFileTHF.java:485) at org.openstreetmap.josm.plugins.fr.cadastre.edigeo.pci.EdigeoPciReader.parse(EdigeoPciReader.java:309) at org.openstreetmap.josm.plugins.fr.cadastre.edigeo.pci.EdigeoPciReader.parseDataSet(EdigeoPciReader.java:276) at org.openstreetmap.josm.plugins.fr.cadastre.edigeo.pci.EdigeoPciImporter.parseDataSet(EdigeoPciImporter.java:60) at org.openstreetmap.josm.gui.io.importexport.OsmImporter.loadLayer(OsmImporter.java:121) at org.openstreetmap.josm.gui.io.importexport.OsmImporter.importData(OsmImporter.java:97) at org.openstreetmap.josm.plugins.fr.cadastre.edigeo.pci.EdigeoPciImporter.importData(EdigeoPciImporter.java:47) at org.openstreetmap.josm.gui.io.importexport.FileImporter.importDataHandleExceptions(FileImporter.java:103) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:426) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:354) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583)
Attachments (3)
Change History (10)
by , 3 weeks ago
| Attachment: | edigeo.tar.gz added |
|---|
comment:1 by , 3 weeks ago
Il semble que les fichiers edigeo ancienne mouture, ç.à.d avant l'ajout de deux occurences aux attributs des objets batiment et piscine datant de fin 2025 (modification du SCD), passent sans problème.
cf https://static.data.gouv.fr/resources/plan-cadastral-informatise/20250825-085949/standard-edigeo-modifie-2025-f-v1.3.pdf
comment:2 by , 3 weeks ago
| Component: | Core → Plugin cadastre-fr |
|---|
comment:4 by , 3 weeks ago
Like most plugins there is only keep-alive maintenance from my side. To get this fixed, you need to find someone who provides a patch.
by , 2 weeks ago
| Attachment: | 24617.patch added |
|---|
comment:5 by , 2 weeks ago
| Description: | modified (diff) |
|---|---|
| Summary: | plus possible de charger un fichier THF avec le greffon cadastre. / No more possible to load a THF file → [patch] Cadastre-fr plugin needs update for new edigeo features |
| Version: | → tested |
The cause of the problem was not the changes in the edigeo standard. The cause was an additional, non-printing, character after the end-of-file marker in the new version of the .DIC file. I have also updated the plugin to recognise the new features in the standard. The new features will be tagged note=IA because they have been obtained from aerial imagery by AI.



capture d'écran et fichiers edigeo utilisés