This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

List of placeholders

0

The placeholders we know:

  • {name}
  • {description}

But there are for sure some more. By accident I found another one: {measure}

Could you please provide a collection of all supported placeholders?

asked 03 Mar '19, 11:33

Ziggie71's gravatar image

Ziggie71
26446
accept rate: 0%

1

What software/website are you using? Could you explain in more detail what you are trying to do?

(03 Mar '19, 11:58) SomeoneElse ♦

One Answer:

1

Given that your previous questions where about umap, I assume this one is too.

You can add the name of any tag between curly braces. So if the OSM object is e.g. a bench (amenity=bench), there is a good chance you can use {backrest}. If the field is not set on the object, an empty string is shown. This also means that {name} and {description} will only work when the OSM object has those tags.

I do not know about other system defined tags such as {measure}

p.s. please state next time that you are asking a question about umap. This site is about all things OpenStreetMap, not only umap.

answered 04 Mar '19, 04:19

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

1

BTW, this makes me wonder whether {measure} is a system tag after all, or whether the object you display happen to have such a tag. The system would not be able to distinguish between some tag 'measure' and something it has to calculate.

(04 Mar '19, 04:24) escada

Source code available on GitHub .