> For the complete documentation index, see [llms.txt](https://osm-tw.gitbook.io/learnosm-tw/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osm-tw.gitbook.io/learnosm-tw/0300-12-31-editing/0300-11-27-josm-presets.md).

# josm presets

If you've been using JOSM for long, by now you understand a bit about tags and presets. Every object is defined by two things - first, it's geometry (whether it's a point, line, or shape and its location), and second, its attributes which come in the form of tags.

When you draw an object and select from the Presets menu, the correct tags are automatically applied to the object.

If you like using presets, what happens when you want to add tags that are not contained in the menu, or when you want to customize your own tags?

In this case, you can add custom menu items to the Presets. In this section we will see how to do this. In the [following chapter](https://github.com/osm-tw/learnosm-tw/tree/c2ea9b469ebd084abe1e86650f91b3f3418814f8/en/editing/creating-presets/README.md), we will cover how to create custom presets files of your own.

## Add Presets

The menus and submenus that make up the Presets menu are stored in files which describe how to create the menus and forms that come up when you click on a preset, and how to define what tags are added to an object based on how the form is filled out.

Presets files can either be added from an online archive, or saved on your computer locally and added into JOSM.

* To add a new entry to the Presets menu, open JOSM and go to Edit->Preferences.
* Click on the third tab down, which looks like a grid covering the planet.

![](https://github.com/osm-tw/learnosm-tw/tree/c2ea9b469ebd084abe1e86650f91b3f3418814f8/images/en/editing/josm-presets/tagging-presets-tab.png)

* At the top, click on "Tagging Presets."

![](https://github.com/osm-tw/learnosm-tw/tree/c2ea9b469ebd084abe1e86650f91b3f3418814f8/images/en/editing/josm-presets/tagging-presets-menu.png)

* Add a presets file from the internet by selecting one in the list on

  the left, and clicking on the blue arrow. In this example, we will

  add the presets named "Buildings Indonesia by Kate Chapman."

![](https://github.com/osm-tw/learnosm-tw/tree/c2ea9b469ebd084abe1e86650f91b3f3418814f8/images/en/editing/josm-presets/example-presets.png)

* You will see a new item appear in the list on the right.
* Click OK.
* You will need to restart JOSM.
* Create a new layer and add a point or shape.
* Go to the Presets menu. Click on the item named "Building," which

  has now been added at the bottom of the menu.

![](https://github.com/osm-tw/learnosm-tw/tree/c2ea9b469ebd084abe1e86650f91b3f3418814f8/images/en/editing/josm-presets/indonesia-building-form.png)

* If you don't speak Indonesian, this might be hard to read, but nonetheless you have been successful and added a custom preset menu.
* If you have been given a custom presets file, you can add it to the menu in a similar way. Simply return to the Preferences menu, and instead of selecting from the list, click on the (+) button in the upper right.

![](https://github.com/osm-tw/learnosm-tw/tree/c2ea9b469ebd084abe1e86650f91b3f3418814f8/images/en/editing/josm-presets/plus-button.png)

* Locate your file and give it a name if you like.
* Click OK.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://osm-tw.gitbook.io/learnosm-tw/0300-12-31-editing/0300-11-27-josm-presets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
