This document is based on the Vespucci preset documentation.
OSM2go uses JOSM compatible presets, although the support is only partial and not yet up to the current version of JOSM.
Note: this is loosely based on what JOSM claims to work like, this may, and actually likely is, different from the actual implementation. Language specific attributes are ignored. "Supported" doesn't necessarily imply the same behaviour as JOSM, simply that OSM2go will do something useful with the value.
Element | Attributes | Support | Notes |
---|---|---|---|
<presets> | supported | required | |
<!-- comment --> | ignored | ||
<group> | supported | ||
name | supported | required | |
name_context | ignored | ||
icon | supported | supported | |
<item> | supported | ||
name | supported | required | |
name_context | ignored | ||
icon | supported | ||
type | supported | ||
name_template | ignored | ||
preset_name_label | supported | ||
<chunk> | supported | ||
id | supported | required | |
<reference> | supported | ||
ref | supported | required | |
<key> | supported | ||
value | supported | required | |
match | supported | ||
<text> | supported | ||
key | supported | required | |
text | supported | ||
match | supported | "keyvalue" and "keyvalue!" behave like "key" and "key!" | |
default | supported | ||
use_last_as_default | ignored | ||
auto_increment | ignored | ||
length | ignored | ||
alternative_autocomplete_keys | ignored | ||
<combo> | supported | ||
key | supported | required | |
text | supported | ||
text_context | ignored | ||
values | supported | ||
values_sort | ignored | ||
delimiter | supported | ||
default | supported | ||
match | supported | ||
display_values | supported | ||
short_descriptions | ignored | ||
values_context | ignored | ||
editable | supported | ||
use_last_as_default | ignored | ||
values_searchable | ignored | ||
length | ignored | ||
values_no_i18n | ignored | ||
<multiselect> | supported | ||
key | supported | required | |
text | supported | ||
text_context | ignored | ||
values | supported | ||
values_sort | ignored | ||
delimiter | supported | ||
default | supported | ||
match | supported | ||
display_values | supported | ||
short_descriptions | ignored | ||
values_context | ignored | ||
editable | ignored | always treated as false | |
use_last_as_default | ignored | ||
values_searchable | ignored | ||
length | ignored | ||
values_no_i18n | ignored | ||
rows | supported | ignored on Hildon | |
<list_entry> | supported | ||
value | supported | required | |
display_value | supported | ||
short_description | ignored | ||
icon | ignored | ||
icon_size | ignored | ||
<checkgroup> | ignored | but not the included elements | |
<check> | supported | ||
key | supported | required | |
text | supported | ||
text_context | ignored | ||
value_on | supported | ||
value_off | ignored | ||
disable_off | ignored | ||
default | supported | only checked for "on" or not | |
match | supported | ||
<label> | supported | ||
text | supported | required | |
<space/> | supported | ignored on Hildon | |
<optional> | ignored | the contained items are parsed as if they were on the same level | |
text | ignored | ||
<separator/> | supported | ||
<item_separator/> | ignored | ||
<link> | supported | ||
href | supported | required | |
<roles> | supported | ||
<role> | supported | ||
key | supported | ||
text | ignored | ||
text_context | ignored | ||
requisite | ignored | ||
count | supported | ||
regexp | supported | used to hide those roles | |
type | supported | ||
member_expression | ignored | ||
<preset_link> | supported | ||
preset_name | supported | required |