Opened 16 months ago
Last modified 16 months ago
#23094 new defect
To update FranceSpecificRules according Pifomètre V3 (ref:FR:FANTOIR)
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | External rule | Version: | |
Keywords: | template_report | Cc: | PanierAvide |
Description
Hello,
The new 9-character TOPO codes for roads and localities in France replace the 10-character FANTOIR codes, with the last control character removed. The current rule considers these new codes to be incorrect, whereas version 3 of the Pifomètre tool already takes them into account.
As the 2 types of code will co-exist "for a while", the FANTOIR rule in https://josm.openstreetmap.de/wiki/Rules/FranceSpecificRules needs to be updated. (cf https://github.com/osm-fr/osm-vs-fantoir/issues/303)
Many thanks in advance.
What steps will reproduce the problem?
- tag a road/locality why a 9-character ref:FR:FANTOIR
- save the changeset
What is the expected result?
No validation error.
What happens instead?
Validation error ("wrong ref:FR:FANTOIR")
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2023-07-06 21:00:41 +0200 (Thu, 06 Jul 2023) Build-Date:2023-07-07 01:30:58 Revision:18772 Relative:URL: ^/trunk Identification: JOSM/1.5 (18772 fr) Linux Debian GNU/Linux 9.13 (stretch) Memory Usage: 3894 MB / 3894 MB (804 MB allocated, but free) Java version: 1.8.0_332-8u332-ga-1~deb9u1-b09, Oracle Corporation, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 1600×900 (scaling 1.00×1.00) Maximum Screen Size: 1600×900 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: KDE Java package: openjdk-8-jre:amd64-8u332-ga-1~deb9u1 WebStart package: icedtea-netx:amd64-1.6.2-3.1+deb9u1 Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13+deb9u1 libcommons-logging-java: libcommons-logging-java:all-1.2-1 fonts-noto: fonts-noto:all-20161116-1 VM arguments: [-Dicedtea-web.bin.name=javaws, -Dicedtea-web.bin.location=/usr/bin/javaws, -Djava.security.manager, -Djava.security.policy=/etc/icedtea-web/javaws.policy] Dataset consistency test: No problems found Plugins: + FixAddresses (36062) + Relation.Validation.Plugin (1.0.1) + apache-commons (36034) + apache-http (35924) + cadastre-fr (36097) + conflation (0.6.11) + ejml (35924) + fieldpapers (v0.5.0) + geotools (36068) + jackson (36034) + jaxb (35952) + jna (36005) + jts (36004) + log4j (36045) + measurement (36097) + opendata (36097) + pdfimport (36097) + public_transport (36097) + reverter (36066) + scripting + todo (123) + undelete (36066) + utilsplugin2 (36097) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/FranceRoads&zip=1 + https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/FR.zip + https://raw.githubusercontent.com/osmlab/name-suggestion-index/main/dist/presets/nsi-josm-presets.min.xml + https://github.com/Jungle-Bus/josm-presets/raw/gh-pages/jungle-stops/Preset_Jungle-Bus.zip Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/MTB&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Osmc&zip=1 Validator rules: + https://github.com/Jungle-Bus/transport_mapcss/raw/gh-pages/transport.validator.zip + https://josm.openstreetmap.de/josmfile?page=Rules/FranceSpecificRules&zip=1 Last errors/warnings: - 822800.908 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.agriculture.RegistreParcellaireHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: LOOL - 822800.908 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.administration.GeoFlaHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: LOOL - 822800.908 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.transport.PassageNiveauHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: LOOL - 822800.909 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.hydrologie.ROEHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: LOOL - 822800.909 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.ecologie.ForetsPubliquesHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: LOOL - 822800.909 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.ecologie.ReservesBiologiquesHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: LOOL - 822800.909 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.hydrologie.EauxDeSurfaceHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: LOOL - 822800.910 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.ecologie.InventaireForestierNationalHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: LOOL - 822800.910 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.transport.AeroportsHandler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: LOOL - 822800.910 E: Cannot instantiate class org.openstreetmap.josm.plugins.opendata.modules.fr.datagouvfr.datasets.transport.Route500Handler because of java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException. Cause : java.lang.NoSuchFieldError: LOOL
Attachments (0)
Change History (2)
comment:1 by , 16 months ago
Cc: | added |
---|---|
Component: | Core → External rule |
The last character, the letter, is optional.
So I think you need to modify https://josm.openstreetmap.de/wiki/Rules/FranceSpecificRules by adding a "?" behind the two ([ABCDEFGHJKLMNPRSTUVWXYZ]) of the 3 lines: ref:FR:FANTOIR, ref:FR:FANTOIR:left and ref:FR:FANTOIR:right