Changeset 17466 in josm
- Timestamp:
- 2021-01-18T13:47:54+01:00 (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/defaultpresets.xml
r17433 r17466 2374 2374 <link wiki="Tag:railway=milestone" /> 2375 2375 <key key="railway" value="milestone" /> 2376 <text key=" distance" text="Distance(kilometers)" />2376 <text key="railway:position" text="Position (kilometers)" /> 2377 2377 <text key="ref" text="Reference" /> 2378 2378 </item> <!-- Railway Milestone --> -
trunk/resources/data/validator/deprecated.mapcss
r17284 r17466 670 670 /* #11330, #18642 */ 671 671 *[/^.$/], 672 node[/^..$/] ,672 node[/^..$/][!kp][!pk], 673 673 way[/^..$/][route=ferry][!to], 674 674 way[/^..$/][route!=ferry], … … 681 681 assertMatch: "node fo=bar"; 682 682 assertMatch: "node f=b"; 683 assertNoMatch: "node kp=5"; /* already has a deprecated warning */ 684 assertNoMatch: "node pk=7"; /* already has a deprecated warning */ 683 685 } 684 686 … … 725 727 } 726 728 727 /* #8717 */ 728 *[kp][highway=milestone], 729 *[kp][railway=milestone], 730 *[kp][waterway=milestone] { 729 /* #8717, #20326 */ 730 *[kp][railway!=milestone] { 731 731 throwWarning: tr("{0} is deprecated", "{0.key}"); 732 732 suggestAlternative: "distance"; … … 734 734 fixChangeKey: "kp => distance"; 735 735 } 736 *[pk][highway=milestone], 737 *[pk][railway=milestone], 738 *[pk][waterway=milestone] { 736 *[pk][railway!=milestone] { 739 737 throwWarning: tr("{0} is deprecated", "{0.key}"); 740 738 suggestAlternative: "distance"; 741 739 group: tr("deprecated tagging"); 742 740 fixChangeKey: "pk => distance"; 741 } 742 *[kp][railway=milestone] { 743 throwWarning: tr("{0} is deprecated", "{0.key}"); 744 suggestAlternative: "railway:position"; 745 group: tr("deprecated tagging"); 746 fixChangeKey: "kp => railway:position"; 747 } 748 *[pk][railway=milestone] { 749 throwWarning: tr("{0} is deprecated", "{0.key}"); 750 suggestAlternative: "railway:position"; 751 group: tr("deprecated tagging"); 752 fixChangeKey: "pk => railway:position"; 753 } 754 *[distance][railway=milestone] { 755 throwWarning: tr("{0} is deprecated for {1}", "{0.key}", "{1.tag}"); 756 suggestAlternative: "railway:position"; 757 group: tr("deprecated tagging"); 758 fixChangeKey: "distance => railway:position"; 743 759 } 744 760 -
trunk/resources/data/validator/ignoretags.cfg
r17451 r17466 699 699 K:cuisine=BBQ 700 700 E:pole:type 701 E:kp 702 E:pk 701 703 ; 702 704 ; Tags not yet decided (to remove from this section when added or moved up when deprecated) -
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/LabelCompositionStrategy.java
r16438 r17466 150 150 "int_name", 151 151 "distance", 152 "railway:position", 152 153 "ref", 153 154 "operator",
Note:
See TracChangeset
for help on using the changeset viewer.