﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22987	Arrangement of Presets	mrgenie	team	"I'll update this report step by step - as it's a complicated matter where I'll cut-paste the various files that are to be merged in the preset menu.

I'll add an attachment with screenshot as well.

So here's the first file (partially only relevant part)

1) __________________________________________________________________
link: https://josm.openstreetmap.de/wiki/Presets/PhilippinesJeepneys
<presets
        xmlns=""http://josm.openstreetmap.de/tagging-preset-1.0""
        author=""Hike&amp;Map""
        version=""1.15_2023-02-13""
        description=""Philippines Jeepney Presets for conveniently adding all Objects part of Jeepney Routes""
        shortdescription=""Philippines Jeepneys""
        link=""https://josm.openstreetmap.de/wiki/Presets/PhilippinesJeepneys""
        icon=""JeepneyFront.svg"">
...
        <group name=""Philippines"" icon=""flag.svg"">
                <group name=""Jeepney"" icon=""JeepneyFront.svg"">                                  
                        <!-- Jeepney Stop, exact point on the highway -->
                        <item name=""Stop Position"" icon=""StopPosition.svg"" type=""node"">
                                <link wiki=""Tag:public_transport=stop_position"" />
                                <label text=""Jeepney stop position (node) on the road"" />
                                <space />
                                <key key=""bus"" value=""yes"" />
                                <key key=""public_transport"" value=""stop_position""/>
                                <reference ref=""name"" />
                                <reference ref=""no_stop_area"" />
                                <reference ref=""network"" />
                        </item>                 
                        <separator />     
.....to the end of file....


2) __________________________________________________________________
link: https://josm.openstreetmap.de/wiki/Presets/PhilippinesTrafficSigns
<presets
        xmlns=""http://josm.openstreetmap.de/tagging-preset-1.0""
        author=""Hike&amp;Map""
        version=""1.9_2023-06-04""
        description=""Tag easily nodes along highways as traffic signs for the Philippines using the official DPWH codes. Based on work from @yopaseopor""
        shortdescription=""Philippines Traffic Signs""
        link=""https://wiki.openstreetmap.org/wiki/Proposed_features/Extended_traffic_signs_tagging"" 
        icon=""various/PH_license_plate.svg"">
....
        <group name=""Philippines"" icon=""various/flag.svg"">
                <group name=""Traffic Signs"" icon=""various/PH_license_plate.svg"">
                        <group name=""Beside the road"" icon=""various/beside_road.svg"">
                                <!-- Regulatory signs -->
                                <group name=""Regulatory"">
                                        <item name=""R1-1"" icon=""regulatory/Philippines_road_sign_R1-1.svg"" type=""node"">
                                                <key key=""traffic_sign"" value=""PH:R1-1""/>
                                                <combo key=""direction"" text=""Direction sign is facing"" values=""N,NNE,NE,NEE,E,SEE,SE,SSE,S,SSW,SW,SWW,W,NWW,NW,NNW"" default="""" />
                                        </item>

.....to the end of file....

I have a few local files I'm still working on before I upload them - but the thing is, the **''nested Philippines inside the Philippines menu option''**

If I have only 1 preset - it's not there. The moment I have 2+ under the **''Philippines''** menu option - JOSM magically creates a nested bogus **''2nd Philippines under Philippines''**

And it's empty - hovering over it - there's nothing there! So all the menu options are actually correct for the 2+ preset definitions, it's just JOSM creates out of nowhere this bogus 2nd **''Philippines''**

So my question - how do I create my presets file that this doesn't happen, that I don't have this 2nd bogus **''Philippines''** menu option?

Or if this is a bug - can you please fix it?

Thank you for your consideration"	defect	closed	normal		Core	tested	duplicate		
