wiki:Presets/TMC

TMC presets

TMC import Germany

The preset itself

<?xml version="1.0" encoding="UTF-8"?>
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"
  author="Michael Bemmerl"
  version="1.7_2018-03-24"
  shortdescription="TMC import Germany"
  de.shortdescription="TMC Import Deutschland"
  link="https://wiki.openstreetmap.org/wiki/TMC/TMC_Import_Germany"
  de.link="https://wiki.openstreetmap.org/wiki/DE:TMC/TMC_Import_Germany"
  description="Tags for the TMC import Germany"
  de.description="Attribute für den TMC Import Deutschland">

        <group name="TMC" icon="presets/shop/vehicle.svg">
                <item name="TMC Area" icon="presets/misc/boundaries.svg" type="way,relation">
                        <text key="TMC:cid_58:tabcd_1:LocationCode" text="LocationCode" />
                        <key key="TMC:cid_58:tabcd_1:Class" value="Area" />
                        <key key="TMC:cid_58:tabcd_1:LCLversion" value="9.00" />
                </item>
                <item name="TMC Road" icon="presets/transport/way/way_unclassified.svg" type="relation">
                        <text key="TMC:cid_58:tabcd_1:LocationCode" text="LocationCode" />
                        <key key="TMC:cid_58:tabcd_1:Class" value="Road" />
                        <key key="TMC:cid_58:tabcd_1:LCLversion" value="9.00" />
                </item>
                <item name="TMC Segment" icon="presets/transport/way/way_unclassified.svg" type="relation">
                        <text key="TMC:cid_58:tabcd_1:LocationCode" text="LocationCode" />
                        <text key="TMC:cid_58:tabcd_1:NextLocationCode" text="NextLocationCode" />
                        <text key="TMC:cid_58:tabcd_1:PrevLocationCode" text="PrevLocationCode" />
                        <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)" />
                        <key key="TMC:cid_58:tabcd_1:Class" value="Segment" />
                        <key key="TMC:cid_58:tabcd_1:LCLversion" value="9.00" />
                        <key key="type" value="TMC" />
                </item>
                <item name="TMC Point" icon="Nuvola_Roja.png" type="node,way">
                        <label text="Use the relation preset if you want to tag two or more LocationCodes on the same node!" />
                        <text key="TMC:cid_58:tabcd_1:LocationCode" text="LocationCode" />
                        <text key="TMC:cid_58:tabcd_1:NextLocationCode" text="NextLocationCode" />
                        <text key="TMC:cid_58:tabcd_1:PrevLocationCode" text="PrevLocationCode" />
                        <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)" />
                        <key key="TMC:cid_58:tabcd_1:Class" value="Point" />
                        <key key="TMC:cid_58:tabcd_1:LCLversion" value="9.00" />
                </item>
                <item name="TMC Point (relation)" icon="Nuvola_Roja.png" type="relation">
                        <label text="A relation is used whenever two or more TMC points are referenced by only one OSM node." />
                        <text key="TMC:cid_58:tabcd_1:LocationCode" text="LocationCode" />
                        <text key="TMC:cid_58:tabcd_1:NextLocationCode" text="NextLocationCode" />
                        <text key="TMC:cid_58:tabcd_1:PrevLocationCode" text="PrevLocationCode" />
                        <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)" />
                        <key key="TMC:cid_58:tabcd_1:Class" value="Point" />
                        <key key="TMC:cid_58:tabcd_1:LCLversion" value="9.00" />
                        <key key="type" value="tmc" />
                </item>
        </group>
</presets>

Presets_TMC-preset.xml, Presets_TMC.zip

Last modified 6 years ago Last modified on 2018-03-24T15:06:24+01:00

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.