Prior to the rendering process with the Mapsforge writer some preprocessing is essential:
- to work arround bugs with Mapsforge
- to simplify osm-structure (unifying sac:scale,dav:scale;via_ferrata eg)
- eliminating mass tagging (remove trees except under certain conditions)
- remove some redundant tags (cycle nodes with additional tags covering the basic information)
- aso…
The tool for this task: tag-transform
Its cappable to transform NODES, WAYS and RELATIONS (it cannot RESOLVE Relations in any way) in a most powerfull way.
The possibilitys of this tool are endless, however its not that easy to understand how it works and to ride this horse propper.
Here are my settings for Tag-Transform:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 |
<?xml version="1.0"?> <translations> <translation> <name>remove unec. Tags</name> <description>remove values from to reduce effects of "common value bug" in mapsforge and confusing information in POIs-DB</description> <match mode="or"> <tag k="oneway" v="no"/> <tag k="one" v="no"/> <tag k="bridge" v="no"/> <tag k="tunnel" v="no"/> <tag k="noexit" v=".*"/> <tag k="access" v="yes"/> <tag k="building" v="no"/> <tag k="ladder" v="no"/> <tag k="lockable" v="no"/> <tag k="lockable" v="yes"/> <tag k="raised" v="no"/> <tag k="raised" v="yes"/> <tag k="fixme|FIXME" v=".*"/> <tag k="source" v=".*"/> <tag k="width" v=".*"/> <tag k="smoothness" v=".*"/> <tag k="created_by" v=".*"/> <tag k="wikipedia" v=".*"/> <tag k="wikidata" v=".*"/> <tag k="official_name" v=".*"/> <tag k="alt_name" v=".*"/> <tag k="alt_name(:.*)" v=".*"/> <tag k="note(.*)" v=".*"/> <tag k="is_in" v=".*"/> <tag k="is_in(:.*)" v=".*"/> <tag k="gnis(:.*)" v=".*"/> <tag k="ideewfs(:.*)" v=".*"/> <tag k="gns(:.*)" v=".*"/> <tag k="ngbe(:.*)" v=".*"/> <tag k="iemv(:.*)" v=".*"/> <tag k="ele(:.*)" v=".*"/> <tag k="seamark(:.*)" v=".*"/> <tag k="munro" v="no"/> </match> <output> <copy-unmatched/> </output> </translation> <!-- Cleanup for better offline search in POIs --> <translation> <name>move opengeodb:* to OSM tags</name> <description>move opengeodb:* OSM tags</description> <match type="any" mode="and"> <tag k="place" match_id="_place" v="(.*)"/> <match mode="or"> <tag k="openGeoDB:population" match_id="_population" v="(.*)"/> <tag k="openGeoDB:postal_codes" match_id="_valplz" v="(.*)"/> </match> </match> <output> <copy-unmatched/> <tag k="population" from_match="_population" v="{1}"/> <tag k="postal_code" v="{1}" from_match="_valplz" /> <tag k="place" from_match="_place" v="{1}"/> </output> </translation> <translation> <name>remove geodb tags for easier poi search</name> <description>remove geodb tags for easier poi search</description> <match mode="or" type="any"> <tag k="opengeodb(:lat|:lon)" v=".*" /> <tag k="openGeoDB(.*)" v=".*" /> </match> <output> <copy-unmatched/> </output> </translation> <!-- clear ele data --> <translation> <name>clear ele tags from misstagging, reduce to full meters (for POIS) </name> <description>clear ele tags from misstagging, reduce to full meters DOES NOT CATCH ELE with ".|," as thousand seperator</description> <match mode="or" type="node"> <tag k="ele" v="(^[0-9]*)(.*)" match_id="ele"/> </match> <output> <copy-all/> <tag k="ele" from_match="ele" v="{1}"/> </output> </translation> <translation> <name>set peak_dist to at least pd_2 if munro=yes </name> <description>set peak_dist to at least pd_2 if munro=yes</description> <match type="node" mode="and"> <tag k="natural" v="peak|volcano"/> <tag k="peak_dist" v="pd_3|pd_4|pd_5"/> <tag k="munro" v="yes"/> </match> <output> <copy-all/> <tag k="peak_dist" v="pd_2"/> </output> </translation> <!--translation> <name>clear peaks from add. tags </name> <description>clear ele tags </description> <match type="node" mode="and"> <tag k="natural" v="peak"/> <match mode="or"> <tag k="place" v="locality"/> <tag k="man_made" v="survey_point"/> <tag k="tourism" v="viewpoint"/> </match> </match> <output> <copy-unmatched/> <tag k="natural" v="peak"/> </output> </translation--> <!--translation> <name>unify summit cross </name> <description>.</description> <match type="node" mode="and"> <tag k="natural" v="peak"/> <match type="node" mode="or"> <tag k="man_made" v="cross"/> <tag k="man_made" v="summit_cross"/> </match> </match> <output> <copy-unmatched/> <tag k="natural" v="peak"/> <tag k="summit:cross" v="yes"/> </output> </translation--> <!-- Abandoned YEAHH we have a new tag combination in the Sandbox --> <!-- 20170907 --> <translation> <name>bring abandoned landuses like quarrys and cemetrys back to map</name> <description>bring abandoned landuses like quarrys and cemetrys back to map</description> <match type="way"> <tag k="abandoned:landuse" v="(.*)" match_id="aban_landuse"/> </match> <output> <copy-unmatched/> <tag k="landuse" from_match="aban_landuse" v="{1}"/> <tag k="abandoned" v="yes"/> </output> </translation> <translation> <name>bring disused buildings back to map</name> <description>bring disused buildings back to map</description> <match type="way"> <tag k="disused:building" v=".*" /> </match> <output> <copy-unmatched/> <tag k="building" v="yes"/> </output> </translation> <translation> <name>Adjust tunnel Layers</name> <description>Adjust tunnel Layers</description> <match type="way" mode="or"> <match> <tag k="highway" v=".*"/> <tag k="tunnel" v="yes"/> <!--tag k="layer" v=".*"/--> </match> <match> <tag k="railway" v=".*"/> <tag k="tunnel" v="yes"/> <!--tag k="layer" v=".*"/--> </match> </match> <output> <copy-all/> <tag k="layer" v="2"/> </output> </translation> <translation> <name>unify mtb_scale</name> <description>unify mtb_scale</description> <match mode="or" type="way"> <tag k="mtb:scale" match_id="mtbs0" v="0|-0|0-|\+0|0\+"/> <tag k="mtb:scale" match_id="mtbs1" v="1|-1|1-|\+1|1\+"/> <tag k="mtb:scale" match_id="mtbs2" v="2|-2|2-|\+2|2\+"/> <tag k="mtb:scale" match_id="mtbs3" v="3|-3|3-|\+3|3\+"/> <tag k="mtb:scale" match_id="mtbs4" v="4|-4|4-|\+4|4\+"/> <tag k="mtb:scale" match_id="mtbs5" v="5|-5|5-|\+5|5\+"/> <tag k="mtb:scale" match_id="mtbs6" v="6|-6|6-|\+6|6\+"/> </match> <output> <copy-all/> <tag k="mtb_scale" from_match="mtbs0" v="mtbs_0"/> <tag k="mtb_scale" from_match="mtbs1" v="mtbs_1"/> <tag k="mtb_scale" from_match="mtbs2" v="mtbs_2"/> <tag k="mtb_scale" from_match="mtbs3" v="mtbs_3"/> <tag k="mtb_scale" from_match="mtbs4" v="mtbs_4"/> <tag k="mtb_scale" from_match="mtbs5" v="mtbs_5"/> <tag k="mtb_scale" from_match="mtbs6" v="mtbs_6"/> </output> </translation> <translation> <name>unify mtb_scale_uphill</name> <description>unify mtb_scale_uphill</description> <match mode="or" type="way"> <tag k="mtb:scale:uphill" match_id="mtbu0" v="0|-0|0-|\+0|0\+"/> <tag k="mtb:scale:uphill" match_id="mtbu1" v="1|-1|1-|\+1|1\+"/> <tag k="mtb:scale:uphill" match_id="mtbu2" v="2|-2|2-|\+2|2\+"/> <tag k="mtb:scale:uphill" match_id="mtbu3" v="3|-3|3-|\+3|3\+"/> <tag k="mtb:scale:uphill" match_id="mtbu4" v="4|-4|4-|\+4|4\+"/> <tag k="mtb:scale:uphill" match_id="mtbu5" v="5|-5|5-|\+5|5\+"/> <tag k="mtb:scale:uphill" match_id="mtbu6" v="6|-6|6-|\+6|6\+"/> </match> <output> <copy-all/> <tag k="mtb_scale_uphill" from_match="mtbu0" v="mtbu_0"/> <tag k="mtb_scale_uphill" from_match="mtbu1" v="mtbu_1"/> <tag k="mtb_scale_uphill" from_match="mtbu2" v="mtbu_2"/> <tag k="mtb_scale_uphill" from_match="mtbu3" v="mtbu_3"/> <tag k="mtb_scale_uphill" from_match="mtbu4" v="mtbu_4"/> <tag k="mtb_scale_uphill" from_match="mtbu5" v="mtbu_5"/> <tag k="mtb_scale_uphill" from_match="mtbu6" v="mtbu_6"/> </output> </translation> <translation> <name>dav to sac</name> <description>dav blue=T2 red=T3 black=T4 only if there is no sac_scale</description> <match> <match mode="or" type="way"> <tag k="dav_scale" match_id="T1" v="T1|yellow"/> <tag k="dav_scale" match_id="T2" v="T2|blue"/> <tag k="dav_scale" match_id="T3" v="red"/> <tag k="dav_scale" match_id="T4" v="black"/> </match> <notag k="sac_scale" v=".*"/> </match> <output> <copy-all/> <tag k="sac_scale" from_match="T1" v="T1"/> <tag k="sac_scale" from_match="T2" v="T2"/> <tag k="sac_scale" from_match="T3" v="T3"/> <tag k="sac_scale" from_match="T4" v="T5"/> </output> </translation> <translation> <name>unify sac_scale</name> <description>unify sac_scale</description> <match mode="or" type="way"> <tag k="sac_scale" match_id="T1" v="T1|hiking|T1 - hiking|T1-hiking"/> <tag k="sac_scale" match_id="T2" v="T2|mountain_hiking|T2-mountain_hiking"/> <tag k="sac_scale" match_id="T3" v="T3|demanding_mountain_hiking"/> <tag k="sac_scale" match_id="T4" v="T4|alpine_hiking"/> <tag k="sac_scale" match_id="T5" v="T5|demanding_alpine_hiking"/> <tag k="sac_scale" match_id="T6" v="T6|difficult_alpine_hiking"/> </match> <output> <copy-all/> <tag k="sac_scale" from_match="T1" v="T1"/> <tag k="sac_scale" from_match="T2" v="T2"/> <tag k="sac_scale" from_match="T3" v="T3"/> <tag k="sac_scale" from_match="T4" v="T4"/> <tag k="sac_scale" from_match="T5" v="T5"/> <tag k="sac_scale" from_match="T6" v="T6"/> </output> </translation> <translation> <name>set via_ferrata_flag</name> <description>set via_ferrata_flag </description> <match mode="or" type="way"> <tag k="via_ferrata" v=".*"/> <tag k="via_ferrata_scale" v="1-|1|1\+|2-|2|2\+|3-|3|3\+|4-|4|4\+|5-|5|5\+|6-|6|6\+"/> <tag k="sport" v="via_ferrata"/> <tag k="highway" v="via_ferrata"/> </match> <output> <copy-all/> <!--tag k="highway" v="path"/> <tag k="mtb_scale" v="mtbs_6"/> <tag k="sac_scale" v="T6"/--> <tag k="via_ferrata_flag" v="set"/> </output> </translation> <translation> <name>Filter Cycle+Hike Nodes</name> <description>Filter Cycle+Hike Nodes allowed is 1*A-Z and Numbers, remove all other tags from nodes</description> <match mode="or" type="node"> <tag k="rwn_ref" match_id="h_node" v="(^[A-Z,a-z,0-9]{1,3})"/> <tag k="rcn_ref" match_id="c_node" v="(^[A-Z,a-z,0-9]{1,3})"/> </match> <output> <copy-matched/> <tag k="hike_node" from_match="h_node" v="rwn"/> <tag k="cycle_node" from_match="c_node" v="NLBE"/> <tag k="name" from_match="h_node" v="{1}"/> <tag k="name" from_match="c_node" v="{1}"/> <tag k="layer" v="2"/> </output> </translation> <translation> <name>remove ladders from hunting_stands, these ladders are intend for use with hiking/climbin routes</name> <description>remove ladders from hunting_stands, these ladders are intend for use with hiking/climbin routes</description> <match type="node" mode="and"> <tag k="amenity" v="hunting_stand"/> <tag k="ladder" v="yes"/> </match> <output> <copy-all/> <tag k="ladder" v="dummy"/> </output> </translation> <translation> <name>ladders with numeric values to yes</name> <description>ladders with numeric values to yes</description> <match> <tag k="ladder" v="(^[1-9].*)"/> </match> <output> <copy-all/> <tag k="ladder" v="yes"/> </output> </translation> <translation> <name>ropes with numeric values to yes</name> <description>ropes with numeric values to yes</description> <match> <tag k="safety_rope" v="(^[1-9].*)"/> </match> <output> <copy-all/> <tag k="safety_rope" v="yes"/> </output> </translation> <translation> <name>rungs with numeric values to yes</name> <description>runges with numeric values to yes</description> <match> <tag k="rungs" v="(^[1-9].*)"/> </match> <output> <copy-all/> <tag k="rungs" v="yes"/> </output> </translation> <translation> <name>remove area=yes from campsites</name> <description>remove area=yes from campsites</description> <match type="way" mode="and"> <tag k="area" v="yes"/> <tag k="tourism" v="camp_site"/> </match> <output> <copy-unmatched/> <tag k="tourism" v="camp_site"/> </output> </translation> <translation> <name>Transform Towers</name> <description>Mapsforge cannot rendert tower:type for some reasons so we have to transform into tower=tower:type, Tower without a type stay untouched</description> <match mode="or"> <tag k="tower:type" match_id="type" v="(.*)"/> </match> <output> <copy-all/> <tag k="tower" from_match="type" v="{1}"/> </output> </translation> <translation> <name>Transform man_made=communications_tower to tower=communication</name> <description>Transform man_made=communications_tower to tower=communication</description> <match mode="or"> <tag k="man_made" v="communications_tower"/> </match> <output> <copy-all/> <tag k="tower" v="communication"/> </output> </translation> <translation> <name>filter out trees with denotation=landmark|natural_monument, create intermediate tag</name> <description>filter trees</description> <match type="node" mode="and"> <tag k="natural" v="tree"/> <match type="node" mode="or"> <tag k="denotation" v="natural_monument|landmark"/> <tag k="name" v=".*"/> </match> </match> <output> <copy-all/> <tag k="natural" v="tree_m"/> </output> </translation> <translation> <name>delete trees without denotation=landmark|natural_monument</name> <description>filter trees</description> <match type="node"> <tag k="natural" v="tree"/> </match> <output> <copy-unmatched/> </output> </translation> <translation> <name>rename trees with denotation=landmark|natural_monument back to tree to ensure compatibility</name> <description>filter trees</description> <match type="node"> <tag k="natural" v="tree_m"/> </match> <output> <copy-all/> <tag k="natural" v="tree"/> </output> </translation> <translation> <name>motorway_junctions ref2name</name> <description>mapsforge doesnt address "ref" so ref is transformed to "addr:housenumber"</description> <match mode="and" type="node"> <tag k="highway" v="motorway_junction"/> <tag k="ref" match_id="j_ref" v="(^[a-zA-Z0-9]{1,3})"/> </match> <output> <copy-all/> <tag k="highway" v="motorway_junction"/> <tag k="addr:housenumber" from_match="j_ref" v="{1}"/> </output> </translation> <translation> <name>eliminate motorway_junctions without ref-tag</name> <description>eliminate motorway_junctions without ref-tag</description> <match> <match type="node"> <tag k="highway" v="motorway_junction"/> </match> <notag k="ref" v=".*"/> </match> <output> <copy-all/> <tag k="highway" v="motorway_junction_noref"/> </output> </translation> <translation> <name>amenity=swimming_pool zu leisure</name> <description>amenity=swimming_pool zu leisure</description> <match> <tag k="amenity" v="swimming_pool"/> </match> <output> <copy-all/> <tag k="leisure" v="swimming_pool"/> </output> </translation> <translation> <name>landuse=wood to natural=wood</name> <description>landuse=wood to natural=wood</description> <match> <tag k="landuse" v="wood"/> </match> <output> <copy-unmatched/> <tag k="natural" v="wood"/> </output> </translation> <!--translation> <name>retagging winter_room=yes to winter_room=wr_yes to work around CommonValueBug</name> <description>retagging winter_room=yes to winter_room=wr_yes</description> <match> <tag k="winter_room" v="yes"/> </match> <output> <copy-all/> <tag k="winter_room" v="wr_yes"/> </output> </translation--> <translation> <name>set incline up</name> <description>first char have to be numeric for incline up</description> <match mode="or" type="way"> <tag k="incline" v="(^[1-9].*|up)"/> </match> <output> <copy-unmatched/> <tag k="incline_dir" v="up"/> </output> </translation> <translation> <name>set incline down</name> <description>first char have to be - for incline down</description> <match mode="or" type="way"> <tag k="incline" v="(^[\-][1-9].*|down)"/> </match> <output> <copy-unmatched/> <tag k="incline_dir" v="down"/> </output> </translation> <translation> <name>remove landuses from highways</name> <description>remove landuses from highways</description> <match mode="and" type="way"> <tag k="highway" v=".*"/> <tag k="landuse" v=".*"/> </match> <output> <copy-all/> <tag k="landuse" v="delete_me"/> </output> </translation> <!--translation> <name>unify and retag class:bicycle</name> <description>unify and retag class:bicycle for road use</description> <match mode="or" type="way"> <tag k="class:bicycle" match_id="cbrm3" v="-3"/> <tag k="class:bicycle" match_id="cbrm2" v="-2"/> <tag k="class:bicycle" match_id="cbrm1" v="-1"/> <tag k="class:bicycle" match_id="cbrp0" v="-0|0|\+0"/> <tag k="class:bicycle" match_id="cbrp1" v="1|\+1"/> <tag k="class:bicycle" match_id="cbrp2" v="2|\+2"/> <tag k="class:bicycle" match_id="cbrp3" v="3|\+3"/> </match> <output> <copy-unmatched/> <tag k="class_bicycle_road" from_match="cbrm3" v="cbr-3"/> <tag k="class_bicycle_road" from_match="cbrm2" v="cbr-2"/> <tag k="class_bicycle_road" from_match="cbrm1" v="cbr-1"/> <tag k="class_bicycle_road" from_match="cbrp0" v="cbr+0"/> <tag k="class_bicycle_road" from_match="cbrp1" v="cbr+1"/> <tag k="class_bicycle_road" from_match="cbrp2" v="cbr+2"/> <tag k="class_bicycle_road" from_match="cbrp3" v="cbr+3"/> </output> </translation--> <!--translation> <name>unify and retag class:bicycle:*</name> <description>unify and retag class:bicycle:* for road use</description> <match> <match mode="or" type="way"> <tag k="class:bicycle:(roadcycling|roadbike|touring|commute)" match_id="cbrm3" v="-3"/> <tag k="class:bicycle:(roadcycling|roadbike|touring|commute)" match_id="cbrm2" v="-2"/> <tag k="class:bicycle:(roadcycling|roadbike|touring|commute)" match_id="cbrm1" v="-1"/> <tag k="class:bicycle:(roadcycling|roadbike|touring|commute)" match_id="cbrp0" v="-0|0|\+0"/> <tag k="class:bicycle:(roadcycling|roadbike|touring|commute)" match_id="cbrp1" v="1|\+1"/> <tag k="class:bicycle:(roadcycling|roadbike|touring|commute)" match_id="cbrp2" v="2|\+2"/> <tag k="class:bicycle:(roadcycling|roadbike|touring|commute)" match_id="cbrp3" v="3|\+3"/> </match> <notag k="class_bicycle_road" v=".*"/> </match> <output> <copy-unmatched/> <tag k="class_bicycle_road" from_match="cbrm3" v="cbr-3"/> <tag k="class_bicycle_road" from_match="cbrm2" v="cbr-2"/> <tag k="class_bicycle_road" from_match="cbrm1" v="cbr-1"/> <tag k="class_bicycle_road" from_match="cbrp0" v="cbr+0"/> <tag k="class_bicycle_road" from_match="cbrp1" v="cbr+1"/> <tag k="class_bicycle_road" from_match="cbrp2" v="cbr+2"/> <tag k="class_bicycle_road" from_match="cbrp3" v="cbr+3"/> </output> </translation--> <!--translation> <name>unify and retag class:bicycle:mtb</name> <description>unify and retag class:bicycle for road use</description> <match mode="or" type="way"> <tag k="class:bicycle:mtb" match_id="cbmm3" v="-3"/> <tag k="class:bicycle:mtb" match_id="cbmm2" v="-2"/> <tag k="class:bicycle:mtb" match_id="cbmm1" v="-1"/> <tag k="class:bicycle:mtb" match_id="cbmp0" v="-0|0|\+0"/> <tag k="class:bicycle:mtb" match_id="cbmp1" v="1|\+1"/> <tag k="class:bicycle:mtb" match_id="cbmp2" v="2|\+2"/> <tag k="class:bicycle:mtb" match_id="cbmp3" v="3|\+3"/> </match> <output> <copy-unmatched/> <tag k="class_bicycle_mtb" from_match="cbmm3" v="cbmtb-3"/> <tag k="class_bicycle_mtb" from_match="cbmm2" v="cbmtb-2"/> <tag k="class_bicycle_mtb" from_match="cbmm1" v="cbmtb-1"/> <tag k="class_bicycle_mtb" from_match="cbmp0" v="cbmtb+0"/> <tag k="class_bicycle_mtb" from_match="cbmp1" v="cbmtb+1"/> <tag k="class_bicycle_mtb" from_match="cbmp2" v="cbmtb+2"/> <tag k="class_bicycle_mtb" from_match="cbmp3" v="cbmtb+3"/> </output> </translation--> <translation> <name>unify cycleways to network=hcw (previously done by perl a script) 112014 kech61</name> <description>unify cycleways to network=hcw (previously done by perl a script) 112014 kech61</description> <match mode="or" type="way"> <tag k="highway" v="cycleway"/> <tag k="bicycle" v="designated|official"/> </match> <output> <copy-all/> <tag k="network" v="hcw"/> </output> </translation> <translation> <name>unify cycleways to network=hcw (previously done by perl a script) 112014 kech61</name> <description>unify cycleways to network=hcw (previously done by perl a script) 112014 kech61</description> <match mode="and" type="way"> <tag k="highway" v="footway|path"/> <tag k="bicycle" v="yes"/> </match> <output> <copy-all/> <tag k="network" v="hcw"/> </output> </translation> <translation> <name>remove network=hcw from Mountain paths</name> <description>remove network=hcw from Mountain paths</description> <match mode="and"> <match mode="and" type="way"> <tag k="network" v="hcw"/> <tag k="highway" v="footway|path"/> </match> <match mode="or"> <tag k="sac_scale" v=".*"/> <tag k="mtb_scale" v=".*"/> <tag k="sac:scale" v=".*"/> <tag k="mtb:scale" v=".*"/> <tag k="mtb_scale_uphill" v=".*"/> <tag k="trail_visibility" v="intermediate|bad|horrible|no" /> <tag k="surface" v="bad|raw|ground|dirt|grass|sand|wood|earth|mud|clay|winter|ice|snow" /> </match> </match> <output> <copy-all/> <tag k="network" v="dummy"/> </output> </translation> <translation> <name>add old pseudo relations to approbriate network </name> <description>add old pseudo relations to approbriate network </description> <match mode="or" type="way"> <tag k="(icn)" v="yes"/> </match> <find> <tag k="(.?)cn_ref" v="^[A-Z,a-z,0-9]{1,6}" match_id="ref"/> </find> <output> <copy-all/> <tag from_match="ref" k="ref"/> <tag k="network" v="icn"/> </output> </translation> <translation> <name>add old pseudo relations to approbriate network </name> <description>add old pseudo relations to approbriate network </description> <match mode="or" type="way"> <tag k="(ncn)" v="yes"/> </match> <find> <tag k="(.?)cn_ref" v="^[A-Z,a-z,0-9]{1,6}" match_id="ref"/> </find> <output> <copy-all/> <tag from_match="ref" k="ref"/> <tag k="network" v="ncn"/> </output> </translation> <translation> <name>add old pseudo relations to approbriate network </name> <description>add old pseudo relations to approbriate network </description> <match mode="or" type="way"> <tag k="(rcn)" v="yes"/> </match> <find> <tag k="(.?)cn_ref" v="^[A-Z,a-z,0-9]{1,6}" match_id="ref"/> </find> <output> <copy-all/> <tag from_match="ref" k="ref"/> <tag k="network" v="rcn"/> </output> </translation> <translation> <name>add old pseudo relations to approbriate network </name> <description>add old pseudo relations to approbriate network </description> <match mode="or" type="way"> <tag k="(lcn)" v="yes"/> </match> <find> <tag k="(.?)cn_ref" v="^[A-Z,a-z,0-9]{1,6}" match_id="ref"/> </find> <output> <copy-all/> <tag from_match="ref" k="ref"/> <tag k="network" v="lcn"/> </output> </translation> <translation> <name>emergency_access_point ref2name</name> <description>mapsforge doesnt address "ref" so ref is transformed to "addr:housenumber"</description> <match mode="and" type="node"> <tag k="highway" v="emergency_access_point"/> <tag k="ref" match_id="eap_ref" v="(.*)"/> </match> <output> <copy-all/> <tag k="highway" v="emergency_access_point"/> <tag k="addr:housenumber" from_match="eap_ref" v="{1}"/> </output> </translation> <!--translation> <name>access only with permit</name> <description>access only with permit</description> <match mode="or" > <tag k="access" v="permit|license|fee|toll"/> <tag k="foot" v="permit|license|fee|toll"/> <tag k="bicycle" v="permit|license|fee|toll"/> </match> <output> <copy-unmatched/> <tag k="access" v="permit"/> </output> </translation--> <translation> <name>vehicle no|private 2 bicycle</name> <description>vehicle no|private 2 bicycle</description> <match> <match mode="or" > <tag k="vehicle" match_id="v2b" v="(.*)"/> </match> <notag k="bicycle" v=".*"/> </match> <output> <copy-unmatched/> <tag k="bicycle" from_match="v2b" v="{1}"/> </output> </translation> <translation> <name>railway=station and subway=yes 2 station=subway</name> <description>railway=station and subway=yes 2 station=subway</description> <match mode="and"> <tag k="railway" v="station"/> <tag k="subway" v="yes"/> </match> <output> <copy-all/> <tag k="station" v="subway"/> </output> </translation> <translation> <name>national parks type=boundary to type=multipolygon</name> <description>national parks to multipolygons</description> <match mode="and"> <match mode="or" type="relation"> <tag k="boundary" v="national_park"/> <tag k="boundary" v="protected_area"/> <tag k="boundary" v="nature_reserve"/> <tag k="leisure" v="national_park"/> <tag k="leisure" v="nature_reserve"/> </match> <match mode="or" type="relation"> <tag k="type" v="boundary"/> </match> </match> <output> <copy-all/> <tag k="type" v="multipolygon"/> </output> </translation> <translation> <name>Administrative borders to multipolygon to force resolving of these rekations in Mapsforge</name> <description>Administrative borders to multipolygon to force resolving of these rekations in Mapsforge</description> <match mode="and" type="relation"> <tag k="type" v="boundary"/> <tag k="admin_level" v="1|2|3|4"/> <tag k="boundary" v="administrative"/> </match> <output> <copy-all/> <tag k="layer" v="1"/> <tag k="type" v="multipolygon"/> <tag k="area" v="no"/> </output> </translation> <translation> <name>Transform memorial:type=.* to memorial=.*</name> <description>Transform memorial:type=.* to memorial=.*</description> <match mode="or"> <tag k="memorial:type" match_id="mem_type" v="(.*)"/> </match> <output> <copy-all/> <tag k="memorial" from_match="mem_type" v="{1}"/> </output> </translation> <translation> <name>unify moutain_area</name> <description>unify moutain_area</description> <match mode="and"> <tag k="region:type" v="mountain_area"/> <tag k="place" v="region"/> </match> <output> <copy-all/> <tag k="natural" v="mountain_area"/> </output> </translation> <translation> <name>unify moutain_range</name> <description>unify moutain_range</description> <match mode="and"> <tag k="region:type" v="mountain_range"/> <tag k="place" v="region"/> </match> <output> <copy-all/> <tag k="natural" v="mountain_range"/> </output> </translation> <!-- cycleway lanes/tracks --> <translation> <name>unify oneway:bicycle=no and transfor to oneway:bicycle=ow_bic_no</name> <description>unify oneway:bicycle=no</description> <match mode="and"> <match mode="or" type="way"> <tag k="oneway" v="yes"/> </match> <match mode="or" type="way"> <tag k="cycleway" v="opposite"/> <tag k="cycleway" v="opposite_track"/> <tag k="cycleway" v="opposite_lane"/> <tag k="cycleway(:left|:right)" v="opposite_track"/> <tag k="cycleway(:left|:right)" v="opposite_lane"/> <tag k="oneway:bicycle" v="no"/> </match> </match> <output> <copy-all/> <tag k="oneway:bicycle" v="ow_bic_no"/> </output> </translation> <translation> <name>unify cycleway:.*:oneway=no and transfor to cycleway:oneway=cw_ow_no</name> <description>unify cycleway:.*:oneway=no</description> <match mode="or"> <tag k="cycleway:oneway" v="no"/> <tag k="cycleway:left:oneway" v="no"/> <tag k="cycleway:right:oneway" v="no"/> </match> <output> <copy-all/> <tag k="cycleway:oneway" v="cw_ow_no"/> </output> </translation> <!-- handle cycle lanes and tracks on oneway=yes --> <!-- oneway=yes and oneway:bicycle=no will still result in cw_lane_both --> <!-- oneway=yes w/o oneway:bicycle=no will result in cw_lane_oneway/cw_track_oneway = NEW TAGS --> <translation> <name>cycleway lanes oneway</name> <description>cycleway lanes oneway</description> <match mode="and" type="way"> <tag k="cycleway" v="lane"/> <tag k="oneway" v="yes"/> </match> <notag k="oneway:bicycle" v="ow_bic_no"/> <output> <copy-all/> <tag k="cycleway" v="dummy"/> <tag k="cycleway_lane" v="cw_lane_oneway"/> </output> </translation> <translation> <name>cycleway tracks oneway</name> <description>cycleway tracks oneway</description> <match mode="and" type="way"> <tag k="cycleway" v="track"/> <tag k="oneway" v="yes"/> </match> <notag k="oneway:bicycle" v="ow_bic_no"/> <output> <copy-all/> <tag k="cycleway" v="dummy"/> <tag k="cycleway_track" v="cw_track_oneway"/> </output> </translation> <translation> <name>cycleway lanes oneway</name> <description>cycleway lanes oneway</description> <match mode="and" type="way"> <tag k="cycleway" v="lane"/> <tag k="oneway" v="-1"/> </match> <notag k="oneway:bicycle" v="ow_bic_no"/> <output> <copy-all/> <tag k="cycleway" v="dummy"/> <tag k="cycleway_lane" v="cw_lane_oneway_rev"/> </output> </translation> <translation> <name>cycleway tracks oneway</name> <description>cycleway tracks oneway</description> <match mode="and" type="way"> <tag k="cycleway" v="track"/> <tag k="oneway" v="-1"/> </match> <notag k="oneway:bicycle" v="ow_bic_no"/> <output> <copy-all/> <tag k="cycleway" v="dummy"/> <tag k="cycleway_track" v="cw_track_oneway_rev"/> </output> </translation> <translation> <name>cycleway lanes</name> <description>cycleway lanes</description> <match mode="or" type="way"> <match mode="and" type="way"> <tag k="cycleway:left" v="lane"/> <tag k="cycleway:right" v="lane"/> </match> <match mode="and" type="way"> <tag k="cycleway:left" v="opposite_lane"/> <tag k="cycleway:right" v="opposite_lane"/> </match> </match> <output> <copy-unmatched/> <tag k="cycleway_lane" v="cw_lane_both"/> </output> </translation> <translation> <name>cycleway tracks</name> <description>cycleway lanes</description> <match mode="or" type="way"> <match mode="and" type="way"> <tag k="cycleway:left" v="track"/> <tag k="cycleway:right" v="track"/> </match> <match mode="and" type="way"> <tag k="cycleway:left" v="opposite_track"/> <tag k="cycleway:right" v="opposite_track"/> </match> </match> <output> <copy-unmatched/> <tag k="cycleway_track" v="cw_track_both"/> </output> </translation> <translation> <name>cycleway lanes</name> <description>cycleway lanes</description> <match type="way"> <tag k="cycleway" v="lane"/> </match> <output> <copy-all/> <tag k="cycleway_lane" v="cw_lane_both"/> </output> </translation> <translation> <name>cycleway lanes</name> <description>cycleway lanes</description> <match type="way"> <tag k="cycleway:right" v="lane"/> </match> <output> <copy-all/> <tag k="cycleway_lane" v="cw_lane_right"/> </output> </translation> <translation> <name>cycleway lanes</name> <description>cycleway lanes</description> <match type="way"> <tag k="cycleway:left" v="lane"/> </match> <output> <copy-all/> <tag k="cycleway_lane" v="cw_lane_left"/> </output> </translation> <translation> <name>cycleway tracks</name> <description>cycleway tracks</description> <match type="way"> <tag k="cycleway" v="track"/> </match> <output> <copy-all/> <tag k="cycleway_track" v="cw_track_both"/> </output> </translation> <translation> <name>cycleway tracks</name> <description>cycleway tracks</description> <match type="way"> <tag k="cycleway:right" v="track"/> </match> <output> <copy-all/> <tag k="cycleway_track" v="cw_track_right"/> </output> </translation> <translation> <name>cycleway tracks</name> <description>cycleway tracks</description> <match type="way"> <tag k="cycleway:left" v="track"/> </match> <output> <copy-all/> <tag k="cycleway_track" v="cw_track_left"/> </output> </translation> <translation> <name>unify highway=bus_stop</name> <description>unify highway=bus_stop</description> <match mode="and" type="node"> <tag k="public_transport" v="stop_position"/> <tag k="bus" v="yes"/> </match> <output> <copy-all/> <tag k="highway" v="bus_stop"/> </output> </translation> <translation> <name>rename leisure=track to leisure=ls_track doe to common value bug</name> <description>leisure=track to leisure=ls_track</description> <match type="way"> <tag k="leisure" v="track"/> </match> <output> <copy-all/> <tag k="leisure" v="ls_track"/> </output> </translation> <translation> <name>unify natural/place for labels</name> <description>unify natural/place for labels</description> <match> <tag k="place" match_id="_val" v="bay|cape|fjord|canyon|crater|peninsula|valley"/> </match> <output> <copy-unmatched/> <tag k="natural" from_match="_val" v="{1}"/> </output> </translation> <translation> <name>unify natural/place for labels</name> <description>unify natural/place for labels</description> <match> <tag k="natural" match_id="_val" v="ocean|sea|archipelago"/> </match> <output> <copy-unmatched/> <tag k="place" from_match="_val" v="{1}"/> </output> </translation> <!-- springs --> <translation> <name>seperate spring / hot_spring </name> <description>seperate spring / hot_spring</description> <match mode="and"> <match> <tag k="natural" v="spring"/> </match> <match mode="or"> <tag k="spring:type" v="hot"/> <tag k="temperature" v="hot"/> <tag k="spring" v="hot_spring"/> <tag k="type" v="hot"/> <tag k="hot_spring" v="yes"/> <tag k="type" v="hot_water"/> </match> </match> <output> <copy-all/> <tag k="natural" v="hot_spring"/> </output> </translation> <translation> <name>retag leisure=hot_spring / natural=hot_spring </name> <description>retag leisure=hot_spring / natural=hot_spring</description> <match> <tag k="leisure" v="hot_spring"/> </match> <output> <copy-all/> <tag k="natural" v="hot_spring"/> </output> </translation> <translation> <name>natural=cairn, historic=cairn, landmark=cairn to man_made=cairn</name> <description>natural=cairn, man_made=cairn, landmark=cairn to man_made=cairn</description> <match mode="or"> <tag k="natural" v="cairn"/> <tag k="landmark" v="cairn"/> <tag k="historic" v="cairn"/> </match> <output> <copy-unmatched/> <tag k="man_made" v="cairn"/> </output> </translation> <!-- mines and bunkers --> <!-- mines == man_made=adit --> <translation> <name>check abandoned and disused mines/adit</name> <description>check abandoned and disused mines/adit</description> <match mode="and"> <match> <tag k="man_made" v="adit"/> </match> <match mode="or"> <tag k="abandoned" v="yes"/> <tag k="historic" v="yes"/> <tag k="ruins" v="yes"/> <tag k="disused" v="yes"/> <tag k="historic" v="ruins"/> </match> </match> <output> <copy-unmatched/> <tag k="man_made" v="adit_disused"/> </output> </translation> <translation> <name>check abandoned and disused mines/adit</name> <description>check abandoned and disused mines/adit</description> <match mode="or"> <tag k="abandoned:man_made" v="adit"/> <tag k="disused:man_made" v="adit"/> <tag k="historic:man_made" v="adit"/> <tag k="historic" v="adit"/> <tag k="historic" v="mine_adit"/> </match> <output> <copy-unmatched/> <tag k="man_made" v="adit_disused"/> </output> </translation> <!-- Bunkers --> <translation> <name>check abandoned and disused for military = bunker</name> <description>check abandoned and disused for military = bunker</description> <match mode="and"> <match> <tag k="military" v="bunker"/> </match> <match mode="or"> <tag k="abandoned" v="yes"/> <tag k="historic" v="yes"/> <tag k="ruins" v="yes"/> <tag k="disused" v="yes"/> <tag k="historic" v="ruins"/> </match> </match> <output> <copy-unmatched/> <tag k="military" v="bunker_disused"/> </output> </translation> <translation> <name>check abandoned and disused for military = bunker</name> <description>check abandoned and disused for military = bunker</description> <match mode="or"> <tag k="abandoned:building" v="bunker"/> <tag k="abandoned:military" v="bunker"/> <tag k="disused:military" v="bunker"/> <tag k="historic" v="bunker"/> </match> <output> <copy-unmatched/> <tag k="military" v="bunker_disused"/> </output> </translation> <!--translation> <name>add bboxweight=tiny to ponds and other tiny water_areas</name> <description>add bboxweight=tiny </description> <match mode="and"> <match mode="or"> <tag k="natural" v="water"/> <tag k="landuse" v="reservoir"/> <tag k="landuse" v="basin"/> </match> <match mode="or"> <tag k="emergency" v="fire_water_pond"/> <tag k="fire_hydrant:type" v="pond"/> <tag k="water" v="pond"/> <tag k="water" v="fish_pass"/> <tag k="water" v="lock"/> <tag k="water" v="moat"/> </match> </match> <output> <copy-all/> <tag k="bBoxWeight" v="tiny"/> </output> </translation--> <!-- English abr. --> <translation> <name>one string name abreviation [en]</name> <description>one string name abreviation [en]</description> <match type="way" mode="and"> <tag k="highway" v=".*"/> <match mode="or"> <tag k="name" match_id="_name" v="(.*)( W)est$"/> <tag k="name:en" match_id="_name_lang" v="(.*)( W)est$"/> <tag k="name" match_id="_name" v="(.*)( S)outh$"/> <tag k="name:en" match_id="_name_lang" v="(.*)( S)outh$"/> <tag k="name" match_id="_name" v="(.*)( N)orth$"/> <tag k="name:en" match_id="_name_lang" v="(.*)( N)orth$"/> <tag k="name" match_id="_name" v="(.*)( E)ast$"/> <tag k="name:en" match_id="_name_lang" v="(.*)( E)ast$"/> <tag k="name" match_id="_name" v="(.*)([s|S]t)reet$"/> <tag k="name:en" match_id="_name_lang" v="(.*)([s|S]t)reet$"/> <tag k="name" match_id="_name" v="(.*)(Sq)uare$"/> <tag k="name:en" match_id="_name_lang" v="(.*)(Sq)uare$"/> <tag k="name" match_id="_name" v="(.*)(Dr)ive$"/> <tag k="name:en" match_id="_name_lang" v="(.*)(Dr)ive$"/> <tag k="name" match_id="_name" v="(.*)(Cl)ose$"/> <tag k="name:en" match_id="_name_lang" v="(.*)(Cl)ose$"/> <tag k="name" match_id="_name" v="(.*)(Av)enue$"/> <tag k="name:en" match_id="_name_lang" v="(.*)(Av)enue$"/> <tag k="name" match_id="_name" v="(.*)(Pl)ace$"/> <tag k="name:en" match_id="_name_lang" v="(.*)(Pl)ace$"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name" v="{1}{2}"/> <tag k="name:en" from_match="_name_lang" v="{1}{2}"/> </output> </translation> <translation> <name>two string name abreviation [en]</name> <description>two string name abreviation [en]</description> <match type="way" mode="and"> <tag k="highway" v=".*"/> <match mode="or"> <tag k="name" match_id="_name" v="(.*)(R)oa(d)$"/> <tag k="name:en" match_id="_name_lang" v="(.*)(R)oa(d)$"/> <tag k="name" match_id="_name" v="(.*)(C)our(t)$"/> <tag k="name:en" match_id="_name_lang" v="(.*)(C)our(t)$"/> <tag k="name" match_id="_name" v="(.*)(L)a(n)e$"/> <tag k="name:en" match_id="_name_lang" v="(.*)(L)a(n)e$"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name" v="{1}{2}{3}"/> <tag k="name:en" from_match="_name_lang" v="{1}{2}{3}"/> </output> </translation> <translation> <name>three string name abreviation [en]</name> <description>three string name abreviation [en]</description> <match type="way" mode="and"> <tag k="highway" v=".*"/> <match mode="or"> <tag k="name" match_id="_name" v="(.*)(H)igh(w)a(y)"/> <tag k="name:en" match_id="_name_lang" v="(.*)(H)igh(w)a(y)"/> <tag k="name" match_id="_name" v="(.*)(B)oule(v)ar(d)$"/> <tag k="name:en" match_id="_name_lang" v="(.*)(B)oule(v)ar(d)$"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name" v="{1}{2}{3}{4}"/> <tag k="name:en" from_match="_name_lang" v="{1}{2}{3}{4}"/> </output> </translation> <!-- German abr. --> <translation> <name>one string name abreviation [de]</name> <description>one string name abreviation [de]</description> <match type="way" mode="and"> <tag k="highway" v=".*"/> <match mode="or"> <tag k="name" match_id="_name" v="(.*)([s|S]tr)a(ss|ß)e"/> <tag k="name:de" match_id="_name_lang" v="(.*)([s|S]tr)a(ss|ß)e"/> <tag k="name" match_id="_name" v="(.*)(g)asse"/> <tag k="name:de" match_id="_name_lang" v="(.*)(g)asse"/> <tag k="name" match_id="_name" v="(.*)([p|P]l)atz"/> <tag k="name:de" match_id="_name_lang" v="(.*)([p|P]l)atz"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name" v="{1}{2}."/> <tag k="name:de" from_match="_name_lang" v="{1}{2}."/> </output> </translation> <translation> <name>one string name abreviation [de]</name> <description>one string name abreviation [de]</description> <match type="leisure" mode="nature_reserve"> <match mode="or"> <tag k="name" match_id="_name_nsg" v="Naturschutzgebiet(.*)"/> <tag k="name" match_id="_name_np" v="Nationalpark(.*)"/> <tag k="name" match_id="_name_sg" v="(.*)Schutzgebiet(.*)"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name_nsg" v="NSG{1}"/> <tag k="name" from_match="_name_np" v="NP{1}"/> <tag k="name" from_match="_name_sg" v="{1}SG{2}"/> </output> </translation> <!-- Spanish abr. --> <translation> <name>name abreviation [es]</name> <description>name abreviation [es]</description> <match type="way" mode="and"> <tag k="highway" v=".*"/> <match mode="or"> <tag k="name" match_id="_name" v="Calle (.*)"/> <tag k="name:es" match_id="_name_lang" v="Calle (.*)"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name" v="C/{1}"/> <tag k="name:es" from_match="_name_lang" v="C/{1}"/> </output> </translation> <translation> <name>name abreviation [es]</name> <description>name abreviation [es]</description> <match type="way" mode="and"> <tag k="highway" v=".*"/> <match mode="or"> <tag k="name" match_id="_name" v="Carrer (.*)"/> <tag k="name:es" match_id="_name_lang" v="Carrer (.*)"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name" v="c/{1}"/> <tag k="name:es" from_match="_name_lang" v="c/{1}"/> </output> </translation> <translation> <name>name abreviation [es]</name> <description>name abreviation [es]</description> <match type="way" mode="and"> <tag k="highway" v=".*"/> <match mode="or"> <tag k="name" match_id="_name" v="Carretera (.*)"/> <tag k="name:es" match_id="_name_lang" v="Carretera (.*)"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name" v="Ctra.{1}"/> <tag k="name:es" from_match="_name_lang" v="Ctra.{1}"/> </output> </translation> <translation> <name>name abreviation [es]</name> <description>name abreviation [es]</description> <match type="way" mode="and"> <tag k="highway" v=".*"/> <match mode="or"> <tag k="name" match_id="_name" v="(Av)enida (.*)"/> <tag k="name:es" match_id="_name_lang" v="(Av)enida (.*)"/> <tag k="name" match_id="_name" v="(Pl)aza (.*)"/> <tag k="name:es" match_id="_name_lang" v="(Pl)aza (.*)"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name" v="{1}.{2}"/> <tag k="name:es" from_match="_name_lang" v="{1}.{2}"/> </output> </translation> <translation> <name>name abreviation [es]</name> <description>name abreviation [es]</description> <match type="way" mode="and"> <tag k="highway" v=".*"/> <match mode="or"> <tag k="name" match_id="_name" v="(C)ami(no) (.*)"/> <tag k="name:es" match_id="_name_lang" v="(C)ami(no) (.*)"/> <tag k="name" match_id="_name" v="(Pl)aza (.*)"/> <tag k="name:es" match_id="_name_lang" v="(Pl)aza (.*)"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name" v="{1}{2}.{3}"/> <tag k="name:es" from_match="_name_lang" v="{1}{2}.{3}"/> </output> </translation> <!-- French abr. --> <translation> <name>name abreviation [fr]</name> <description>name abreviation [fr]</description> <match type="way" mode="and"> <tag k="highway" v=".*"/> <match mode="or"> <tag k="name" match_id="_name" v="(A)(v)enue (.*)"/> <tag k="name:fr" match_id="_name_lang" v="(A)(v)enue (.*)"/> <tag k="name" match_id="_name" v="(A)(ll)ée (.*)"/> <tag k="name:fr" match_id="_name_lang" v="(A)(ll)ée (.*)"/> <tag k="name" match_id="_name" v="(B)oulevar(d) (.*)"/> <tag k="name:fr" match_id="_name_lang" v="(B)oulevar(d) (.*)"/> <tag k="name" match_id="_name" v="(P)(l)ace (.*)"/> <tag k="name:fr" match_id="_name_lang" v="(P)(l)ace (.*)"/> <tag k="name" match_id="_name" v="(R)uel(le) (.*)"/> <tag k="name:fr" match_id="_name_lang" v="(R)uel(le) (.*)"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name" v="{1}{2}.{3}"/> <tag k="name:fr" from_match="_name_lang" v="{1}{2}.{3}"/> </output> </translation> <!-- NL abr. --> <translation> <name>one string name abreviation [nl]</name> <description>one string name abreviation [nl]</description> <match type="way" mode="and"> <tag k="highway" v=".*"/> <match mode="or"> <tag k="name" match_id="_name" v="(.*)([s|S]tr)aat"/> <tag k="name:nl" match_id="_name_lang" v="(.*)([s|S]tr)aat"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name" v="{1}{2}."/> <tag k="name:nl" from_match="_name_lang" v="{1}{2}."/> </output> </translation> <!-- RU abr. --> <translation> <name>one string name abreviation [ru]</name> <description>one string name abreviation [ru]</description> <match type="way" mode="and"> <tag k="highway" v=".*"/> <match mode="or"> <tag k="name" match_id="_name" v="(.*)улица(.*)"/> <tag k="name:ru" match_id="_name_lang" v="(.*)улица(.*)"/> </match> </match> <output> <copy-all/> <tag k="name" from_match="_name" v="{1}ул.{2}"/> <tag k="name:ru" from_match="_name_lang" v="{1}ул.{2}"/> </output> </translation> <!-- zh_pinyin does'nt work in language switcher --> <translation> <name>retag zh_pinyin</name> <description>retag zh_pinyin</description> <match> <tag k="name:zh_pinyin" v="(.*)" match_id="pinyin"/> </match> <output> <copy-unmatched/> <tag k="name:zhp" from_match="pinyin" v="{1}"/> </output> </translation> <!-- EMERGANCY TRANSFORM to reduce tags down to 16 --> <translation> <name>remove *sac_scale from tracks</name> <description>remove *sac_scale from tracks</description> <match type="way" mode="and"> <tag k="highway" v="track"/> <match mode="or"> <tag k="sac_scale" v=".*"/> <tag k="raw_sac_scale" v=".*"/> </match> </match> <output> <copy-unmatched/> <tag k="highway" v="track"/> </output> </translation> <!-- relations blocking rendering --> <translation> <name>remove area=yes from place/MP</name> <description>remove area=yes from place/MP</description> <match type="relation" mode="and"> <match type="relation" mode="or"> <tag k="type" v="multipolygon"/> <tag k="type" v="boundary"/> </match> <tag k="place" v=".*"/> <tag k="area" v="yes"/> </match> <output> <copy-all/> <tag k="area" v="no"/> </output> </translation> <translation> <name>copy lock_name to name</name> <description>copy lock_name to name</description> <match type="way" mode="and"> <tag k="lock_name" match_id="_lock_name" v="(.*)"/> <tag k="lock" v="yes"/> </match> <output> <copy-unmatched/> <tag k="name" from_match="_lock_name" v="{1}"/> <tag k="lock" v="yes"/> </output> </translation> </translations> |
Changelog:
For maps from 10th of October 2018:
added some transforms for cycleway lanes/tracks
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
<translation> <name>cycleway lanes oneway</name> <description>cycleway lanes oneway</description> <match mode="and" type="way"> <tag k="cycleway" v="lane"/> <tag k="oneway" v="-1"/> </match> <notag k="oneway:bicycle" v="ow_bic_no"/> <output> <copy-all/> <tag k="cycleway" v="dummy"/> <tag k="cycleway_lane" v="cw_lane_oneway_rev"/> </output> </translation> <translation> <name>cycleway tracks oneway</name> <description>cycleway tracks oneway</description> <match mode="and" type="way"> <tag k="cycleway" v="track"/> <tag k="oneway" v="-1"/> </match> <notag k="oneway:bicycle" v="ow_bic_no"/> <output> <copy-all/> <tag k="cycleway" v="dummy"/> <tag k="cycleway_track" v="cw_track_oneway_rev"/> </output> </translation> |
For maps from 29th of July 2018:
handle cycle lanes and tracks on oneway=yes
oneway=yes and oneway:bicycle=no will still result in cw_lane_both | cw_track_both
oneway=yes w/o oneway:bicycle=no will result in cw_lane_oneway | cw_track_oneway = NEW TAGS !!
For maps from 3rd of January 2018:
Bugfix: generator:source=* again in maps
For maps from 26th of December 2017:
value:permit was transformed from key:foot|bicycle to key:access so far
NEW: value:permit stays with key:foot|bicycle|access and have to be handled in theme seperate.
new tagmapping for key:foot|bicycle|access
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<osm-tag key='access' value='destination' equivalent-values='customers' renderable='false' /> <osm-tag key='access' value='private' equivalent-values='delivery, restricted' renderable='false' /> <osm-tag key='access' value='acc_no' equivalent-values='no,prohibited' renderable='false' /> <osm-tag key='access' value='permit' equivalent-values='license,fee,toll' renderable='false' /> <osm-tag key='access' value='forestry' equivalent-values='agricultural,agricultural;forestry' renderable='false' /> <osm-tag key='bicycle' value='bic_yes' equivalent-values='yes,public,allowed' renderable='false' /> <osm-tag key='bicycle' value='bic_designated' equivalent-values='designated,official' renderable='false' /> <osm-tag key='bicycle' value='bic_permissive' equivalent-values='permissive' renderable='false' /> <osm-tag key='bicycle' value='bic_no' equivalent-values='no,prohibited' renderable='false' /> <osm-tag key='bicycle' value='bic_private' equivalent-values='delivery,restricted' renderable='false' /> <osm-tag key='bicycle' value='bic_forestry' equivalent-values='agricultural,agricultural;forestry' renderable='false' /> <osm-tag key='bicycle' value='bic_destination' equivalent-values='customers' renderable='false' /> <osm-tag key='bicycle' value='bic_permit' equivalent-values='license,fee,toll' renderable='false' /> <osm-tag key='foot' value='ft_yes' equivalent-values='yes,public,allowed' renderable='false' /> <osm-tag key='foot' value='ft_designated' equivalent-values='designated,official' renderable='false' /> <osm-tag key='foot' value='ft_permissive' equivalent-values='permissive' renderable='false' /> <osm-tag key='foot' value='ft_no' equivalent-values='no,prohibited' renderable='false' /> <osm-tag key='foot' value='ft_private' equivalent-values='delivery,restricted' renderable='false' /> <osm-tag key='foot' value='ft_destination' equivalent-values='customers' renderable='false' /> <osm-tag key='foot' value='ft_permit' equivalent-values='license,fee,toll' renderable='false' /> |
For maps from 3rd of December 2017:
allow numeric values for:
(+ some additional values for safety_rope)
<!– tags_alpine –>
<osm-tag key=‘safety_rope’ value=‘sr_yes’ equivalent-values=’yes’ zoom-appear=’15’ />
<osm-tag key=‘ladder’ value=‘ld_yes’ equivalent-values=’yes’ zoom-appear=’15’ />
<osm-tag key=‘rungs’ value=‘rn_yes’ equivalent-values=’yes’ zoom-appear=’15’ />
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<translation> <name>ladders with numeric values to yes</name> <description>ladders with numeric values to yes</description> <match> <tag k="ladder" v="(^[1-9].*)"/> </match> <output> <copy-all/> <tag k="ladder" v="yes"/> </output> </translation> <translation> <name>ropes with numeric values to yes</name> <description>ropes with numeric values to yes</description> <match> <tag k="safety_rope" v="(^[1-9].*)"/> </match> <output> <copy-all/> <tag k="safety_rope" v="yes"/> </output> </translation> <translation> <name>rungs with numeric values to yes</name> <description>runges with numeric values to yes</description> <match> <tag k="rungs" v="(^[1-9].*)"/> </match> <output> <copy-all/> <tag k="rungs" v="yes"/> </output> </translation> |
For maps from 19th of November 2017:
added mines (Tag= “adit”) and military=bunker , both ways and nodes
with special focus at abandoned/disused ones
Please take a look at TagTransform page for rules
<osm-tag key=’military’ value=’bunker’ zoom-appear=’15’ />
<osm-tag key=’military’ value=’bunker_disused’ zoom-appear=’15’ />
<osm-tag key=’man_made’ value=’adit’ zoom-appear=’15’ />
<osm-tag key=’man_made’ value=’adit_disused’ zoom-appear=’15’ />
TagTRansform rules for identifiying the disused adits/mines/bunkers
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
<!-- mines and bunkers --> <!-- mines == man_made=adit --> <translation> <name>check abandoned and disused mines/adit</name> <description>check abandoned and disused mines/adit</description> <match mode="and"> <match> <tag k="man_made" v="adit"/> </match> <match mode="or"> <tag k="abandoned" v="yes"/> <tag k="historic" v="yes"/> <tag k="ruins" v="yes"/> <tag k="disused" v="yes"/> <tag k="historic" v="ruins"/> </match> </match> <output> <copy-unmatched/> <tag k="man_made" v="adit_disused"/> </output> </translation> <translation> <name>check abandoned and disused mines/adit</name> <description>check abandoned and disused mines/adit</description> <match mode="or"> <tag k="abandoned:man_made" v="adit"/> <tag k="disused:man_made" v="adit"/> <tag k="historic:man_made" v="adit"/> <tag k="historic" v="adit"/> <tag k="historic" v="mine_adit"/> </match> <output> <copy-unmatched/> <tag k="man_made" v="adit_disused"/> </output> </translation> <!-- Bunkers --> <translation> <name>check abandoned and disused for military = bunker</name> <description>check abandoned and disused for military = bunker</description> <match mode="and"> <match> <tag k="military" v="bunker"/> </match> <match mode="or"> <tag k="abandoned" v="yes"/> <tag k="historic" v="yes"/> <tag k="ruins" v="yes"/> <tag k="disused" v="yes"/> <tag k="historic" v="ruins"/> </match> </match> <output> <copy-unmatched/> <tag k="military" v="bunker_disused"/> </output> </translation> <translation> <name>check abandoned and disused for military = bunker</name> <description>check abandoned and disused for military = bunker</description> <match mode="or"> <tag k="abandoned:building" v="bunker"/> <tag k="abandoned:military" v="bunker"/> <tag k="disused:military" v="bunker"/> <tag k="historic" v="bunker"/> </match> <output> <copy-unmatched/> <tag k="military" v="bunker_disused"/> </output> </translation> |
For maps from 6th of October:
transform name:zh_pinyin=* TO name:zhp=*
’cause Mapsforge language switcher does’nt work with “zh_pinyin”
For maps from 24th of September:
place=island, place=islet and place=archipelago: for these areas (Multipolys) the center is calculated an a Node with the name/label ist created and set at the center of the MP. This is a huge improvement for maps with lots of islands. Thanks to @JohnPercy for this idea.
https://www.openandromaps.org/oam-forums/topic/names-for-larger-islands-a-suggestion
Clear abandoned:landuse=* to landuse=* PLUS abandoned=yes
Reason: eg. quarrys and cemetrys will exist for many centurys even when disuses/abandoned.
Transform disused:building=* to building=yes cause these buildings still exist.
Removed raw_sac_scale
Removed class:bicycle:*=*
Removed noexit
Removed incline_dir
Reason: Only 15 Tags are allowed for one object in Mapsforge – if exeeded the object is skipped and the whole map tile where this object resists too!
### Changed rule:
1 2 3 4 |
<tag k="via_ferrata" v=".*"/> <tag k="via_ferrata_scale" v="(^[1-9].*)"/> <tag k="sport" v="via_ferrata"/> <tag k="highway" v="via_ferrata"/> |
no longer force
1 2 |
<tag k="mtb_scale" v="mtbs_6"/> <tag k="sac_scale" v="T6"/> |
Force of “via_ferrata_flag=yes” stays at it is.
So new rule is:
Note: via_ferrata_scale=0 does’nt force via_ferrata_flag=set
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<translation> <name>set via_ferrata_flag</name> <description>set via_ferrata_flag and force highest mtb- and sac- scales</description> <match mode="or" type="way"> <tag k="via_ferrata" v=".*"/> <tag k="via_ferrata_scale" v="1-|1|1+|2-|2|2+|3-|3|3+|4-|4|4+|5-|5|5+|6-|6|6+"/> <tag k="sport" v="via_ferrata"/> <tag k="highway" v="via_ferrata"/> </match> <output> <copy-all/> <tag k="via_ferrata_flag" v="set"/> </output> </translation> |
For maps from 1st of August:
There are important changes in both tagmapping and tagtransform concerning sac_scale (click)
For maps from 1st of July 2017:
removed sac_scale from ways tagged as highway=track
sac_scale on tracks doesnt add much information for users and occuopies 1 slot in limited tagspace for objects.
For maps from 1st of June 2017:
Cleanup for more efficient seach in POI places (Citys, towns,…)
move opengeodb:population und :post_codes to approbriate OSM-Tags
delete opengeodb:* tags
delete “is_in” Tag (you never find a major city of a district/county with this tag cause all villages within the county will have the capital in the is_in tag)
transformed landuse=wood to natural=wood
(see http://wiki.openstreetmap.org/wiki/Tag:landuse%3Dwood)
For maps from 4th of March 2017:
access=permit + access=licence + foot=permit
transformed to access=permit
For maps from 20th of December 2016:
Changes for cycleway track/lanes
.. cause there are roads with a cycleway=track PLUS cycleway=lane
- cycleway:right=track transformed to cycleway_track=cw_track_right
- cycleway:left=track transformed to cycleway_track=cw_track_left
- cycleway=track now transformed to cycleway_track=cw_track_both
- cycleway:right=lane transformed to cycleway_lane=cw_lane_right
- cycleway:left=lane transformed to cycleway_lane=cw_lane_left
- cycleway=lane now transformed to cycleway_lane=cw_lane_both
For maps from 1st of December 2016:
Added:
- cycleway:right=track transformed to cycleway=cw_track_right
- cycleway:left=track transformed to cycleway=cw_track_left
Changed Tag:
- cycleway=track now transformed to cycleway=cw_track_both
For maps from 11th of November 2016:
Added:
- cycleway:right=lane transformed to cycleway=cw_lane_right
- cycleway:left=lane transformed to cycleway=cw_lane_left
Changed Tag:
- cycleway=lane now transformed to cycleway=cw_lane_both
For maps from 10th of Oktober 2016:
Abreviations for streetnames for improved rendering on device
(Names in mapsforge are only rendered if street name fit straight way segment so: the shorter the name the more likely its rendered on screen)
Thanks to John Percy for this great idea!
DE:
#Platz -> Pl.
#Strasse -> Str.
#Straße – > Str.
#.*gasse -> g.
EN:
#Boulevard -> Bvd
#Highway -> Hwy
#Square -> Sq
#Street -> St
#Drive -> Dr
#Avenue -> Av
#Road ->
#Close -> Cl
#Court -> Ct
#East -> E
#West -> W
#North -> N
#South -> S
#Lane -> Ln
ES:
#Avenida -> Av.
#Camino -> Cno.
#Carretera -> Ctra.
#Plaza -> Pl.
#Calle -> C/
#Carrer -> c/
FR:
#Allée -> All.
#Avenue -> Av.
#Boulevard -> Bd.
#Place -> Pl.
#Ruelle -> RLE
NL:
#Straat -> str.
For maps from 8th of July 2016:
seperate hot_springs from natural=spring:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<translation> <name>seperate spring / hot_spring </name> <description>seperate spring / hot_spring</description> <match mode="and"> <match> <tag k="natural" v="spring"/> </match> <match mode="or"> <tag k="spring:type" v="hot"/> <tag k="temperature" v="hot"/> <tag k="spring" v="hot_spring"/> <tag k="type" v="hot"/> <tag k="hot_spring" v="yes"/> <tag k="type" v="hot_water"/> </match> </match> <output> <copy-all/> <tag k="natural" v="hot_spring"/> </output> </translation> <translation> <name>retag leisure=hot_spring / natural=hot_spring </name> <description>retag leisure=hot_spring / natural=hot_spring</description> <match> <tag k="leisure" v="hot_spring"/> </match> <output> <copy-all/> <tag k="natural" v="hot_spring"/> </output> |