| | 1 | == TMC presets == |
| | 2 | |
| | 3 | TMC import Germany |
| | 4 | |
| | 5 | === The preset itself === |
| | 6 | |
| | 7 | {{{ |
| | 8 | #!preset |
| | 9 | <?xml version="1.0" encoding="UTF-8"?> |
| | 10 | <presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0" |
| | 11 | author="Michael Bemmerl" |
| | 12 | version="1.[[revision]]_[[date]]" |
| | 13 | shortdescription="TMC import Germany" |
| | 14 | de.shortdescription="TMC Import Deutschland" |
| | 15 | link="http://wiki.openstreetmap.org/wiki/TMC/TMC_Import_Germany" |
| | 16 | de.link="http://wiki.openstreetmap.org/wiki/DE:TMC/TMC_Import_Germany" |
| | 17 | description="Tags for the TMC import Germany" |
| | 18 | de.description="Attribute für den TMC Import Deutschland"> |
| | 19 | |
| | 20 | <group name="TMC" icon="presets/car.png"> |
| | 21 | <item name="TMC Area" icon="presets/boundaries.png" type="way,relation"> |
| | 22 | <text key="TMC:cid_58:tabcd_1:LocationCode" text="LocationCode" /> |
| | 23 | <key key="TMC:cid_58:tabcd_1:Class" value="Area" /> |
| | 24 | <key key="TMC:cid_58:tabcd_1:LCLversion" value="9.00" /> |
| | 25 | </item> |
| | 26 | <item name="TMC Road" icon="presets/way_unclassified.png" type="relation"> |
| | 27 | <text key="TMC:cid_58:tabcd_1:LocationCode" text="LocationCode" /> |
| | 28 | <key key="TMC:cid_58:tabcd_1:Class" value="Road" /> |
| | 29 | <key key="TMC:cid_58:tabcd_1:LCLversion" value="9.00" /> |
| | 30 | </item> |
| | 31 | <item name="TMC Segment" icon="presets/way_unclassified.png" type="relation"> |
| | 32 | <text key="TMC:cid_58:tabcd_1:LocationCode" text="LocationCode" /> |
| | 33 | <text key="TMC:cid_58:tabcd_1:NextLocationCode" text="NextLocationCode" /> |
| | 34 | <text key="TMC:cid_58:tabcd_1:PrevLocationCode" text="PrevLocationCode" /> |
| | 35 | <combo key="TMC:cid_58:tabcd_1:Direction" values="both,positive,negative" text="Direction" default="both" readonly="true" display_values="Both directions,From PrevLocation to NextLocation (positive),From NextLocation to PrevLocation (negative)" de.display_value="Aus beiden Richtungen,Von PrevLocation nach NextLocation (positiv),Von NextLocation nach PrevLocation (negativ)" /> |
| | 36 | <key key="TMC:cid_58:tabcd_1:Class" value="Segment" /> |
| | 37 | <key key="TMC:cid_58:tabcd_1:LCLversion" value="9.00" /> |
| | 38 | <key key="type" value="TMC" /> |
| | 39 | </item> |
| | 40 | <item name="TMC Point" icon="Nuvola_Roja.png" type="node,way"> |
| | 41 | <label text="Use the relation preset if you want to tag two or more LocationCodes on the same node!" /> |
| | 42 | <text key="TMC:cid_58:tabcd_1:LocationCode" text="LocationCode" /> |
| | 43 | <text key="TMC:cid_58:tabcd_1:NextLocationCode" text="NextLocationCode" /> |
| | 44 | <text key="TMC:cid_58:tabcd_1:PrevLocationCode" text="PrevLocationCode" /> |
| | 45 | <combo key="TMC:cid_58:tabcd_1:Direction" values="both,positive,negative" text="Direction" default="both" readonly="true" display_values="Both directions,From PrevLocation to NextLocation (positive),From NextLocation to PrevLocation (negative)" de.display_value="Aus beiden Richtungen,Von PrevLocation nach NextLocation (positiv),Von NextLocation nach PrevLocation (negativ)" /> |
| | 46 | <key key="TMC:cid_58:tabcd_1:Class" value="Point" /> |
| | 47 | <key key="TMC:cid_58:tabcd_1:LCLversion" value="9.00" /> |
| | 48 | </item> |
| | 49 | <item name="TMC Point (relation)" icon="Nuvola_Roja.png" type="relation"> |
| | 50 | <label text="A relation is used whenever two or more TMC points are referenced by only one OSM node." /> |
| | 51 | <text key="TMC:cid_58:tabcd_1:LocationCode" text="LocationCode" /> |
| | 52 | <text key="TMC:cid_58:tabcd_1:NextLocationCode" text="NextLocationCode" /> |
| | 53 | <text key="TMC:cid_58:tabcd_1:PrevLocationCode" text="PrevLocationCode" /> |
| | 54 | <combo key="TMC:cid_58:tabcd_1:Direction" values="both,positive,negative" text="Direction" default="both" readonly="true" display_values="Both directions,From PrevLocation to NextLocation (positive),From NextLocation to PrevLocation (negative)" de.display_value="Aus beiden Richtungen,Von PrevLocation nach NextLocation (positiv),Von NextLocation nach PrevLocation (negativ)" /> |
| | 55 | <key key="TMC:cid_58:tabcd_1:Class" value="Point" /> |
| | 56 | <key key="TMC:cid_58:tabcd_1:LCLversion" value="9.00" /> |
| | 57 | <key key="type" value="tmc" /> |
| | 58 | </item> |
| | 59 | </group> |
| | 60 | </presets> |
| | 61 | }}} |