Ticket #16391: josm_16391_19440_v3.patch
File josm_16391_19440_v3.patch, 15.3 KB (added by , 4 years ago) |
---|
-
resources/data/defaultpresets.xml
51 51 <chunk id="highway_yesno"> 52 52 <checkgroup columns="2"> 53 53 <check key="bridge" text="Bridge" disable_off="true" /> 54 <check key="embankment" text="Embankment" disable_off="true" />55 54 <check key="tunnel" text="Tunnel" disable_off="true" /> 55 <check key="embankment" text="Embankment" disable_off="true" /> 56 56 <check key="cutting" text="Cutting" disable_off="true" /> 57 57 </checkgroup> 58 58 </chunk> … … 61 61 <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" /> 62 62 </chunk> 63 63 <chunk id="highway_yesno_incline_oneway_lit_width"> 64 <check key="oneway" text="Oneway" /> 65 <reference ref="highway_yesno_incline" /> 66 <check key="lit" text="Lit" /> 64 <checkgroup columns="3"> 65 <check key="oneway" text="Oneway" /> 66 <check key="bridge" text="Bridge" disable_off="true" /> 67 <check key="tunnel" text="Tunnel" disable_off="true" /> 68 <check key="embankment" text="Embankment" disable_off="true" /> 69 <check key="cutting" text="Cutting" disable_off="true" /> 70 <check key="lit" text="Lit" /> 71 </checkgroup> 72 <combo key="incline" text="Incline" values="10%,-10%,10°,-10°,up,down" /> 67 73 <text key="width" text="Width (meters)" /> 68 74 </chunk> 69 75 <chunk id="highway_yesno_incline_oneway_lit_width_sidewalk"> 70 76 <reference ref="highway_yesno_incline_oneway_lit_width" /> 71 77 <combo key="sidewalk" text="Sidewalk" values="both,left,right,no,separate" values_context="sidewalk" /> 72 78 </chunk> 79 <chunk id="placement"> 80 <space /> 81 <combo key="placement" text="Placement" values="left_of:1,left_of:2,left_of:3,left_of:4,left_of:5,middle_of:1,middle_of:2,middle_of:3,middle_of:4,middle_of:5,right_of:1,right_of:2,right_of:3,right_of:4,right_of:5,transition" /> 82 <combo key="placement:forward" text="Placement in way direction" values="left_of:1,left_of:2,left_of:3,left_of:4,left_of:5,middle_of:1,middle_of:2,middle_of:3,middle_of:4,middle_of:5,right_of:1,right_of:2,right_of:3,right_of:4,right_of:5" /> 83 <combo key="placement:backward" text="Placement opposed to way direction" values="left_of:1,left_of:2,left_of:3,left_of:4,left_of:5,middle_of:1,middle_of:2,middle_of:3,middle_of:4,middle_of:5,right_of:1,right_of:2,right_of:3,right_of:4,right_of:5" /> 84 </chunk> 73 85 <chunk id="railway_service"> 74 86 <combo key="service" text="Service type" values="yard,siding,spur,crossover" /> 75 87 </chunk> … … 551 563 <text key="destination" text="Destination" /> 552 564 <text key="destination:ref" text="Destination reference" /> 553 565 <text key="width" text="Width (meters)" /> 554 <combo key="placement" text="Placement" values="left_of:1,left_of:2,left_of:3,middle_of:1,middle_of:2,middle_of:3,right_of:1,right_of:2,right_of:3,transition" /> 566 <reference ref="placement" /> 567 <space /> 555 568 <checkgroup columns="4"> 556 569 <check key="oneway" text="Oneway" default="on" /> 557 570 <check key="bridge" text="Bridge" disable_off="true" /> … … 573 586 <text key="destination:ref" text="Destination reference" /> 574 587 <text key="junction:ref" text="Junction reference" /> 575 588 <text key="width" text="Width (meters)" /> 576 <combo key="placement" text="Placement" values="left_of:1,left_of:2,left_of:3,middle_of:1,middle_of:2,middle_of:3,right_of:1,right_of:2,right_of:3,transition" /> 589 <reference ref="placement" /> 590 <space /> 577 591 <checkgroup columns="4"> 578 592 <check key="oneway" text="Oneway" default="on" /> 579 593 <check key="bridge" text="Bridge" disable_off="true" /> … … 591 605 <space /> 592 606 <key key="highway" value="trunk" /> 593 607 <text key="ref" text="Reference" /> 608 <check key="noref" text="Street has no reference" disable_off="true" /> 594 609 <optional> 595 610 <text key="name" text="Name" /> 611 <check key="noname" text="Street has no name" disable_off="true" /> 596 612 <reference ref="highway_base" /> 597 613 <text key="destination" text="Destination" /> 598 614 <text key="destination:ref" text="Destination reference" /> 599 615 <text key="width" text="Width (meters)" /> 600 <combo key="placement" text="Placement" values="left_of:1,left_of:2,left_of:3,middle_of:1,middle_of:2,middle_of:3,right_of:1,right_of:2,right_of:3,transition" /> 616 <reference ref="placement" /> 617 <space /> 601 618 <checkgroup columns="4"> 602 619 <check key="oneway" text="Oneway" default="on" /> 603 620 <check key="motorroad" text="Motorroad" default="on" /> … … 622 639 <text key="destination:ref" text="Destination reference" /> 623 640 <text key="junction:ref" text="Junction reference" /> 624 641 <text key="width" text="Width (meters)" /> 625 <combo key="placement" text="Placement" values="left_of:1,left_of:2,left_of:3,middle_of:1,middle_of:2,middle_of:3,right_of:1,right_of:2,right_of:3,transition" /> 642 <reference ref="placement" /> 643 <space /> 626 644 <checkgroup columns="4"> 627 645 <check key="oneway" text="Oneway" default="on" /> 628 646 <check key="motorroad" text="Motorroad" default="on" /> … … 642 660 <space /> 643 661 <key key="highway" value="primary" /> 644 662 <text key="ref" text="Reference" /> 663 <check key="noref" text="Street has no reference" disable_off="true" /> 645 664 <optional> 646 665 <text key="name" text="Name" /> 666 <check key="noname" text="Street has no name" disable_off="true" /> 647 667 <reference ref="highway_base" /> 648 668 <check key="motorroad" text="Motorroad" /> 649 669 <reference ref="highway_yesno_incline_oneway_lit_width_sidewalk" /> 650 <check key="narrow" text="Narrow" disable_off="true" /> 651 <check key="trolley_wire" text="Overhead trolley wires" /> 652 <combo key="placement" text="Placement" values="left_of:1,left_of:2,left_of:3,middle_of:1,middle_of:2,middle_of:3,right_of:1,right_of:2,right_of:3,transition" /> 670 <checkgroup columns="2"> 671 <check key="narrow" text="Narrow" disable_off="true" /> 672 <check key="trolley_wire" text="Overhead trolley wires" /> 673 </checkgroup> 674 <reference ref="placement" /> 653 675 </optional> 654 676 <preset_link preset_name="Road Restrictions" /> 655 677 </item> <!-- Primary --> … … 663 685 <text key="junction:ref" text="Junction reference" /> 664 686 <check key="motorroad" text="Motorroad" /> 665 687 <reference ref="highway_yesno_incline_oneway_lit_width_sidewalk" /> 666 < combo key="placement" text="Placement" values="left_of:1,left_of:2,left_of:3,middle_of:1,middle_of:2,middle_of:3,right_of:1,right_of:2,right_of:3,transition" />688 <reference ref="placement" /> 667 689 </optional> 668 690 <preset_link preset_name="Road Restrictions" /> 669 691 </item> <!-- Primary Link --> … … 672 694 <space /> 673 695 <key key="highway" value="secondary" /> 674 696 <text key="ref" text="Reference" /> 697 <check key="noref" text="Street has no reference" disable_off="true" /> 675 698 <optional> 676 699 <text key="name" text="Name" /> 700 <check key="noname" text="Street has no name" disable_off="true" /> 677 701 <reference ref="highway_base" /> 678 702 <reference ref="highway_yesno_incline_oneway_lit_width_sidewalk" /> 679 <check key="narrow" text="Narrow" disable_off="true" /> 680 <check key="trolley_wire" text="Overhead trolley wires" /> 681 <combo key="placement" text="Placement" values="left_of:1,left_of:2,left_of:3,middle_of:1,middle_of:2,middle_of:3,right_of:1,right_of:2,right_of:3,transition" /> 703 <checkgroup columns="2"> 704 <check key="narrow" text="Narrow" disable_off="true" /> 705 <check key="trolley_wire" text="Overhead trolley wires" /> 706 </checkgroup> 707 <reference ref="placement" /> 682 708 </optional> 683 709 <preset_link preset_name="Road Restrictions" /> 684 710 </item> <!-- Secondary --> … … 690 716 <text key="destination" text="Destination" /> 691 717 <text key="destination:ref" text="Destination reference" /> 692 718 <reference ref="highway_yesno_incline_oneway_lit_width_sidewalk" /> 693 < combo key="placement" text="Placement" values="left_of:1,left_of:2,left_of:3,middle_of:1,middle_of:2,middle_of:3,right_of:1,right_of:2,right_of:3,transition" />719 <reference ref="placement" /> 694 720 </optional> 695 721 <preset_link preset_name="Road Restrictions" /> 696 722 </item> <!-- Secondary Link --> … … 699 725 <space /> 700 726 <key key="highway" value="tertiary" /> 701 727 <text key="ref" text="Reference" /> 728 <check key="noref" text="Street has no reference" disable_off="true" /> 702 729 <optional> 703 730 <text key="name" text="Name" /> 731 <check key="noname" text="Street has no name" disable_off="true" /> 704 732 <reference ref="highway_base" /> 705 733 <reference ref="highway_yesno_incline_oneway_lit_width_sidewalk" /> 706 <check key="narrow" text="Narrow" disable_off="true" /> 707 <check key="trolley_wire" text="Overhead trolley wires" /> 708 <combo key="placement" text="Placement" values="left_of:1,left_of:2,left_of:3,middle_of:1,middle_of:2,middle_of:3,right_of:1,right_of:2,right_of:3,transition" /> 734 <checkgroup columns="2"> 735 <check key="narrow" text="Narrow" disable_off="true" /> 736 <check key="trolley_wire" text="Overhead trolley wires" /> 737 </checkgroup> 738 <reference ref="placement" /> 709 739 </optional> 710 740 <preset_link preset_name="Road Restrictions" /> 711 741 </item> <!-- Tertiary --> … … 717 747 <text key="destination" text="Destination" /> 718 748 <text key="destination:ref" text="Destination reference" /> 719 749 <reference ref="highway_yesno_incline_oneway_lit_width_sidewalk" /> 750 <reference ref="placement" /> 720 751 </optional> 721 752 <preset_link preset_name="Road Restrictions" /> 722 753 </item> <!-- Tertiary Link --> … … 727 758 <text key="name" text="Name" /> 728 759 <check key="noname" text="Street has no name" disable_off="true" /> 729 760 <text key="ref" text="Reference" /> 761 <check key="noref" text="Street has no reference" disable_off="true" /> 730 762 <reference ref="highway_base" /> 731 763 <reference ref="highway_yesno_incline_oneway_lit_width_sidewalk" /> 732 <check key="narrow" text="Narrow" disable_off="true" /> 733 <check key="trolley_wire" text="Overhead trolley wires" /> 734 <combo key="placement" text="Placement" values="left_of:1,left_of:2,left_of:3,middle_of:1,middle_of:2,middle_of:3,right_of:1,right_of:2,right_of:3,transition" /> 735 <check key="passing_places" text="Passing Places" /> 764 <checkgroup columns="3"> 765 <check key="narrow" text="Narrow" disable_off="true" /> 766 <check key="trolley_wire" text="Overhead trolley wires" /> 767 <check key="passing_places" text="Passing Places" /> 768 </checkgroup> 769 <reference ref="placement" /> 736 770 </optional> 737 771 <preset_link preset_name="Road Restrictions" /> 738 772 </item> <!-- Unclassified --> … … 741 775 <space /> 742 776 <key key="highway" value="residential" /> 743 777 <text key="name" text="Name" /> 778 <check key="noname" text="Street has no name" disable_off="true" /> 744 779 <optional> 745 <check key="noname" text="Street has no name" disable_off="true" />746 780 <text key="ref" text="Reference" /> 747 781 <reference ref="highway_base" /> 748 782 <checkgroup columns="2"> 749 783 <check key="oneway" text="Oneway" /> 750 784 <check key="oneway:bicycle" text="Oneway for bicycle" /> 785 <check key="bridge" text="Bridge" disable_off="true" /> 786 <check key="tunnel" text="Tunnel" disable_off="true" /> 787 <check key="embankment" text="Embankment" disable_off="true" /> 788 <check key="cutting" text="Cutting" disable_off="true" /> 751 789 </checkgroup> 752 <reference ref="highway_yesno_incline" />753 790 <check key="lit" text="Lit" /> 754 791 <text key="width" text="Width (meters)" /> 755 792 <combo key="sidewalk" text="Sidewalk" values="both,left,right,no,separate" values_context="sidewalk" /> 756 <check key="narrow" text="Narrow" disable_off="true" /> 757 <check key="trolley_wire" text="Overhead trolley wires" /> 793 <checkgroup columns="2"> 794 <check key="narrow" text="Narrow" disable_off="true" /> 795 <check key="trolley_wire" text="Overhead trolley wires" /> 796 </checkgroup> 758 797 </optional> 759 798 <preset_link preset_name="Road Restrictions" /> 760 799 </item> <!-- Residential --> … … 790 829 <combo key="layer" text="Layer" values="5,4,3,2,1,0,-1,-2,-3,-4,-5" length="3" /> 791 830 <reference ref="surface_smoothness" /> 792 831 <reference ref="highway_yesno_incline_oneway_lit_width" /> 793 <check key="narrow" text="Narrow" disable_off="true" /> 794 <check key="trolley_wire" text="Overhead trolley wires" /> 832 <checkgroup columns="2"> 833 <check key="narrow" text="Narrow" disable_off="true" /> 834 <check key="trolley_wire" text="Overhead trolley wires" /> 835 </checkgroup> 795 836 </optional> 796 837 <preset_link preset_name="Road Restrictions" /> 797 838 </item> <!-- Living Street --> … … 1107 1148 <space /> 1108 1149 <key key="highway" value="motorway_junction" /> 1109 1150 <text key="name" text="Name" /> 1151 <check key="noname" text="Junction has no name" disable_off="true" /> 1110 1152 <text key="ref" text="Number" /> 1153 <check key="noref" text="Junction has no reference" disable_off="true" /> 1111 1154 </item> <!-- Motorway Junction --> 1112 1155 <item name="Services" icon="presets/vehicle/services.svg" type="node,closedway,multipolygon" preset_name_label="true"> 1113 1156 <link wiki="Tag:highway=services" />