This page might need some clean up and more internal links.
Languages:
- dansk
- English
- español
- français
- 日本語
- Nederlands
- русский
- українська
Tags/Membership panel
Table of Contents
Keyboard shortcut: Alt+Shift+P
— one of the JOSM panels
Usage
This panel shows the existing tags for the selected objects in Map view, and allows you to add, edit, or delete tags.
The keys and values in use in OpenStreetMap can be found using multiple ways.
Note: You can also add tags to selected object using presets, it is covered in presets introduction.
Try it yourself
Open this sample file by using the menu item File > Open Location ... (Ctrl+L
).
Overview of this panel
The three parts, Preset Links, Filter and Tags Table, are only shown if selection includes at least one object with tag.
Counts
In the header, the counts for currently selected objects in Map view are shown - objects, tags and memberships, if selection includes at least one objects with tag or membership.
Presets Links
Icons and the names of presets, namely:
- All matching presets for single object, if only one object was selected
- Common presets of selected objects (set intersection and result set may be empty because there no common preset(s) for all objects)
- Annotations presets (notes or address) will be displayed if at least one object has such tag
Possible activation: Left mouse click on the preset will open the preset, as is shown in Introduction.
Filter Tags
Tag filter with same syntax as Search:
- Simple string (such as
Rome
will searched both in values and in keys (i.e. if you add tag "Rome"=yes it will be matched against "Rome" search) "addr:city":ome
or"addr:city":Rome
will matchaddr:city=Rome
tag
All tags not matching the filter are omitted from Tags Table below.
Tags Table
The table shows the tags as key/value pairs and, additionally, some empty space below. Depending on Filter Tags above some or all tags may be omitted.
- key/value pairs for single selected object
- annotated summary for multiple selected objects where the values are:
value
, if all objects have the tag<number 'value', number unset>
, if a number of objects have the tag and the other number of object do not have the tag<number different>
, if all objects have the tag but with the number of different values<number different, number unset>
, if some objects have the tag but with the number of different values and the other number of object do not have the tag
Possible activation:
- double click on a tag will open Change value dialog.
- double click on empty space will open Add tag dialog.
- right click on item from tag table will show respective context menu ("Add" to Add tag dialog; "Edit" to Change value dialog)
Membership Table
The table shows information about memberships of selected objects in relations. The table is only shown if any object in selection is member of a relation.
- Member of
-
shows the type of relation, its name (value of
name=*
tag), the total number of members and its state - incomplete if the relation is not downloaded completely. - Role
-
shows the roles as:
- empty or
role
, if all object have no role or all have the same role <different>
, if objects have different roles or some objects have a role and some have not.
- empty or
Note: Objects without parent relations in local data layer can have parent relations on the server
Possible activation:
- double click on item or
Alt+S
will open relation editor (and selection will be preserved) - right click on item from parent relations will show respective context menu ("Edit" item will open relation editor)
- double click on the field of the role column opens the following dialog to edit the roles of selected members of the item (and selection will be preserved)
Panel Buttons
Basic usage is covered in adding tags introduction.
Panel buttons are visible by default, see (JOSM interface customization)
Add (Alt+A
)
- Adds key/value pairs to selected objects using the Add tag dialog.
Alternative activation steps covered in overview section above.
Edit (Alt+S
)
- Change selected key/value pair using the Change value dialog - if tag was selected.
- Open relation editor - if relationship was selected.
Alternative activation steps covered in overview section above.
Delete (Ctrl+Alt+Shift+D
or Del
)
- Delete selected key/value pairs.
If you select one or several key/value pair in the tags table, and then click the Delete button they will be immediately deleted.
Examples
Single object without parent relations (note: you can click on headings to open complete presets):
Single object used in 3 relations at once:
When localized name tags are used, the language the abbreviation stands for is displayed behind the key:
Context Menu
See TagsMembership Context Menu
Advanced Preferences
Property | Default | Explanation |
---|---|---|
properties.presets.visible | true | If set to true , displays the list of presets matching the current tags.
|
properties.presets.top | true | If set to true , displays the list of presets matching the current tags above the list of tags, else below.
|
url.openstreetmap-wiki | https://wiki.openstreetmap.org/wiki/ | The address of the OSM wiki used to see the documentation of a tag. |
Back to Windows menu
Back to Sidebar
Back to Main Menu
Back to Main Help
Attachments (7)
-
Properties_dialog.png
(332.5 KB
) - added by 13 years ago.
screenshot
-
tagsmemberships-single-object.png
(4.4 KB
) - added by 9 years ago.
without parent relations
- tagsmemberships-single-object-multiple-parent-relations.png (6.2 KB ) - added by 9 years ago.
- TagsMembershipDemo.2.osm (1.6 KB ) - added by 9 years ago.
- name-xx.png (5.9 KB ) - added by 6 years ago.
-
josm_TagsMembership_ToggleDialog.png
(99.2 KB
) - added by 5 years ago.
complete screenshot better version
-
role_input_dialog.jpg
(11.3 KB
) - added by 3 years ago.
screenshot of role input dialog
Download all attachments as: .zip