Changeset 29230 in osm for applications/editors/josm/plugins/roadsigns/data
- Timestamp:
- 2013-02-06T13:52:07+01:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/roadsigns/data
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified applications/editors/josm/plugins/roadsigns/data/roadsignpresetDE.xml ¶
r29228 r29230 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!-- 3 Preset file for road signs plugin. 4 5 The plugin is in early state of development (05-2010) and the format is likely to change. 6 7 How to customize 8 ================ 9 10 Add the following to your JOSM preference file 11 (or enter it in the advanced preferences tab in JOSM): 12 13 plugin.roadsigns.sources=/path/to/myroadsignpreset.xml 14 plugin.roadsigns.icon.sources=/path/to/image/folder 15 16 (The second one is only needed if you like to display your own icons.) 17 18 19 Preset format 20 ============= 21 22 Some values can contain parameters like $foo, that will be replaced by the value of the parameter named foo. 23 24 sign: 25 ref Short official designation of the sign that can be used for the traffic_sign tag. (accepts parameters) 26 id Unique identifier. (If missing, equals ref. Either id or ref must be present.) 27 icon Icon image name. (If missing, id or ref is used as image name. In this case ':' and '.' characters are converted to underscore '_'.) 28 name Name of the sign. (required) 29 long_name Long (e.g. official) name of the sign. 30 traffic_sign_tag Value that should be used for traffic_sign tag (if different from ref). 31 help Some notes to guide the user. 32 wiki Page in the osm wiki 33 deprecated Set to "yes" if authorities have decided to no longer install signs of this kind. 34 (But old signs may still be there and need to be recorded.) 35 36 tag: 37 Some tags can be named (ident=*) and modified by other subsequent tags. If this finally results in an 38 empty value (""), then the tag is skipped altogether. Note that the default value of a named tag is 39 only used if there are no appending tags. E.g. access=no becomes access=delivery and not access=no;delivery. 40 41 static tags: 42 key The key text. (accepts parameters) 43 value The value text. (accepts parameters) 44 45 named tags: 46 key The key text. 47 value The default value text. If the final evaluation of the value results in an empty string, the tag is dropped. 48 ident Name a tag so it can later be changed by other tags. 49 50 modifying tags: 51 appending: 52 tag_ref Name of the tag to be changed. 53 append_value Append a string to the value of the tag. The default value of the identified tag is dropped (unless there is no 54 modifying tag appending a value). 55 condition: 56 tag_ref Name of the tag to be changed. 57 condition The condition to add. (K=V becomes K:cond=V.) 58 59 parameter: 60 ident identifier to get the value of this parameter (required) 61 input input type (currently "textfield" and "combo" are possible values) (required) 62 prefix text to put before the input area 63 suffix text to put after the input area 64 field_width for text fields: the width of the field (number of characters) 65 default default value (required) 66 67 supplementary: (list of recommended additional signs) 68 id the id of the supplementary sign 69 3 roadsigns plugin preset file for Germany 70 4 --> 71 5 <roadsignpreset country="DE"> -
TabularUnified applications/editors/josm/plugins/roadsigns/data/roadsignpresetPL.xml ¶
r29228 r29230 1349 1349 wiki="Tag:highway%3Dpedestrian" 1350 1350 > 1351 <tag key="highway" value=" pedestrian"/>1351 <tag key="highway" value="living_street"/> 1352 1352 </sign> 1353 1353 -
TabularUnified applications/editors/josm/plugins/roadsigns/data/roadsignpresetSK.xml ¶
r29228 r29230 225 225 </sign> 226 226 <sign icon="B20.png" id="B20" ref="SK:B20" name="zákaz vjazdu vozidiel alebo súprav vozidiel, ktorých dĺžka presahuje vyznačenú hranicu" sk.name="zákaz vjazdu vozidiel alebo súprav vozidiel, ktorých dĺžka presahuje vyznačenú hranicu"> 227 <tag key=" car:distance" value="$val"/>228 <parameter ident="val" input="textfield" suffix="m" default=" 70" field_width="2"/>227 <tag key="maxlength" value="$val"/> 228 <parameter ident="val" input="textfield" suffix="m" default="10" field_width="2"/> 229 229 </sign> 230 230 <sign icon="B21.png" id="B21" ref="SK:B21" name="zákaz vjazdu vozidiel prepravujúcich nebezpečné veci" sk.name="zákaz vjazdu vozidiel prepravujúcich nebezpečné veci">
Note:
See TracChangeset
for help on using the changeset viewer.