Nested svg elements are displayed wrongly
What steps will reproduce the problem?
- Configure paint style http://duinoord.home.xs4all.nl/OSM/JOSM/NL_traffic_signs/Styles_Traffic_signs-style.mapcss
- Load this node into JOSM: node 4236434683
- Look at the rendered icon.
What is the expected result?
an image with the two elements visible
What happens instead?
the image components are displayed stacked together.
![screenshot traffic_sign=NL:C03,OB54 screenshot traffic_sign=NL:C03,OB54](/raw-attachment/ticket/16838/Screenshot_20181013_203821.png)
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-10-01 23:59:36 +0200 (Mon, 01 Oct 2018)
Revision:14289
Build-Date:2018-10-01 22:08:47
URL:https://josm.openstreetmap.de/svn/trunk
Identification: JOSM/1.5 (14289 en_GB) Linux openSUSE Tumbleweed
Memory Usage: 487 MB / 1974 MB (200 MB allocated, but free)
Java version: 11+28-suse-1.1-x8664, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: java-11-openjdk:x86_64-11.0.0.0
Dataset consistency test: No problems found
Plugins:
+ Mapillary (v1.5.17)
+ OpeningHoursEditor (34535)
+ PicLayer (34544)
+ SeaChart (34237)
+ SeaMapEditor (34589)
+ apache-commons (34506)
+ apache-http (34632)
+ ejml (34389)
+ geojson (87)
+ geotools (34513)
+ graphview (34576)
+ jna (34633)
+ jts (34524)
+ measurement (34529)
+ opendata (34675)
+ reverter (34552)
+ turnrestrictions (34643)
+ utilsplugin2 (34506)
Tagging presets:
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/Presets_Hafen.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/OpenSeaMap_bridge&zip=1
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/INT-1-preset.xml
+ <josm.pref>/Beacons.xml
+ http://mijndev.openstreetmap.nl/~allroads/JOSM/Presets/NL-Fiets.zip
Map paint styles:
+ https://raw.githubusercontent.com/OpenSeaMap/josm/master/CEVNI_MapCSS.mapcss
- https://raw.githubusercontent.com/OpenSeaMap/josm/master/INT1_Seamark.mapcss
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/INT1_MapCSS.mapcss
- 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/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PriorityRoad&zip=1
+ http://duinoord.home.xs4all.nl/OSM/JOSM/NL_traffic_signs/Styles_Traffic_signs-style.mapcss
+ http://mijndev.openstreetmap.nl/~allroads/JOSM/Styles/Road_Extended_JOSM_style.zip
Validator rules:
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/Seamark.validator.mapcss
Last errors/warnings:
- W: Unkown setting type: integer
- W: Unkown setting type: integer
- W: Unkown setting type: integer
- W: No configuration settings found. Using hardcoded default values for all pools.
This traffic_sign is just an example, the problem is with all combined traffic_signs.
A frequent used system of one pole with multiple signs attached.
With a single sign there is no display problem.
In LibreOffice-Draw, Firefox, Brave etc. the image is displayed correctly.
![file in the cache, (how JOSM the traffic_sign, in miniature, is supposed to display file in the cache, (how JOSM the traffic_sign, in miniature, is supposed to display](/raw-attachment/ticket/16838/mirror_https___duinoord.xs4all.nl_OSM_JOSM_NL_traffic_signs_svgbuilder_merge.svg.php_signs_NL_C03_NL_OB54.svg)
Change History
(18)
Description: |
modified (diff)
|
Description: |
modified (diff)
|
Description: |
modified (diff)
|
Keywords: |
svg added
|
Keywords: |
nested offset added
|
Milestone: |
→ 18.10
|
Summary: |
svg displays wrongly → Nested svg elements are displayed wrongly
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
screenshot traffic_sign=NL:C03,OB54