Opened 17 months ago
Last modified 17 months ago
#23326 new defect
RoadSigns dialogue not showing custom entry icons
Reported by: | daxro | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin roadsigns | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Download and unzip ZA.zip from https://github.com/yopaseopor/traffic_signs_preset_JOSM
- Move content to
/home/user/ZA/
- Point plugin.roadsigns.sources to
/home/user/ZA/Presets_Traffic_signs-preset_ZA.xml
with image folder at relative location to the xml. - I even tried
What is the expected result?
Use RoadSigns dialogue for South African road signs.
What happens instead?
RoadSigns dialogue is blank. There are no custom entry icons. I even tried adding an entry to:
`
plugin.roadsigns.presets [{code=BE, display-name=Belgium, preset-path=resource://data/roadsignpresetBE.xml, icon-path=resource://images/BE/}, {code=CZ, display-name=Czech Republic, preset-path=resource://data/roadsignpresetCZ.xml, icon-path=resource://images/CZ/}, {code=ES, display-name=Spain, preset-path=resource://data/roadsignpresetES.xml, icon-path=resource://images/ES/}, {code=DE, display-name=Germany, preset-path=resource://data/roadsignpresetDE.xml, icon-path=resource://images/DE/}, {code=PL, display-name=Poland, preset-path=resource://data/roadsignpresetPL.xml, icon-path=resource://images/PL/}, {code=SK, display-name=Slovakia, preset-path=resource://data/roadsignpresetSK.xml, icon-path=resource://images/SK/}, {code=ZA, display-name=South, preset-path=/home/user/ZA/Presets_Traffic_signs-preset_ZA.xml, icon-path=/home/user/ZA/traffic_signs/ZA/, =}]
`
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2023-08-29 13:38:40 +0200 (Tue, 29 Aug 2023) Revision:18822 Build-Date:2023-08-30 01:30:57 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18822 en) Linux Ubuntu 23.10 Memory Usage: 316 MB / 8192 MB (149 MB allocated, but free) Java version: 19.0.2+7-Ubuntu-4, Private Build, OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.gtk.GTKLookAndFeel Screen: :0.0 1366×768 (scaling 1.00×1.00) Maximum Screen Size: 1366×768 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_US.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: ubuntu:GNOME Java ATK Wrapper package: libatk-wrapper-java:all-0.40.0-3 fonts-noto: fonts-noto:- Plugins: + FastDraw (36126) + RoadSigns (36126) + alignways (36178) + apache-commons (36176) + buildings_tools (36178) + ejml (36176) + geotools (36176) + intersection (0.0.7) + jackson (36176) + jaxb (36118) + jogl (1.2.3) + jts (36004) + kendzi3d (1.0.205) + kendzi3d-resources (0.0.2) + log4j (36176) + measurement (36126) + opendata (36186) + reverter (36126) + tageditor (36126) + touchscreenhelper (36178) + turnlanes (36126) + turnlanes-tagging (0.0.5) + undelete (36126) + utilsplugin2 (36178) Tagging presets: + https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/ZA.zip Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1 + https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss + ${HOME}/ZA/Styles_Traffic_signs-style_AFR.mapcss
Attachments (0)
Change History (4)
comment:1 by , 17 months ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 17 months ago
@gaben I did do that at first, but it doesn't do anything. I added any random country under Tagging Presets, and added it under Map Paint Styles. But the dialogue doesn't show the added country under Country preset; that's why I did it manually. Am I doing something wrong? I even reset all preferences too.
comment:3 by , 17 months ago
Component: | Core → Plugin roadsigns |
---|
Ah sorry, I misunderstood the problem at first, but now it's clear.
I'm not sure if the yopaseopor's presets are compatible with the roadsigns plugin. Comparing
- roadsigns preset for Germany https://github.com/JOSM/josm-plugins/blob/master/roadsigns/data/roadsignpresetDE.xml and
- yopaseopor's preset XSD (schema definition) https://github.com/yopaseopor/traffic_signs_preset_JOSM/blob/master/test/tagging-preset.xsd
I don't think it will work without significant effort.
comment:4 by , 17 months ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
Please use the built-in preset installer. See Help/Preferences/TaggingPresetPreference#Activatepresetsfromavailablepresets for details.