OpenStreetMap Cheat Sheet

siiky 2021/07/12 2022/07/28 en

Here you'll find some personal notes I've gathered, or am still gathering, to ease and quicken creating and correctly tagging common features on OpenStreetMap.

If you can't find what you want to map here, have a look at How to map a.

Water Source

For sources of water to be used (mainly) by humans. Water sources to used by animals require a different tag (amenity=watering_place). Likewise for water to be used to refill RV's deposits and the like (amenity=water_point).

Other possibly interesting tags to take a look at are natural=water and natural=spring.

Simple Water Source

Ornamented Water Source

Waste

Features related to waste processing, such as of trash and recyclables.

Recycling Container

The Big Three

By "big three" I mean paper, plastic, and glass:

Some of these containers also have batteries containers ("pilhão") next to them, where you can deposit used batteries.

The correct recycling:<material>=yes/no tags, based on amenity=recycling (PT), are the following:

recycling:plastic=yes
recycling:plastic_bags=yes
recycling:plastic_bottles=yes
recycling:plastic_packaging=yes
recycling:cans=yes
recycling:PET=yes
recycling:paper=yes
recycling:paper_packaging=yes
recycling:beverage_cartons=yes
recycling:cardboard=yes
recycling:cartons=yes
recycling:magazines=yes
recycling:newspaper=yes
recycling:glass=yes
recycling:glass_bottles=yes

NOTE: I think styrofoam is allowed in the plastic container. However, I'm not sure it actually is, nor if it's implied by the tags above.

And in case there's a batteries basket, include also the following:

recycling:batteries=yes
recycling:car_batteries=no

Clothes & Footwear

The correct recycling:<material>=yes/no tags, based on amenity=recycling (PT), are the following:

recycling:belts=yes
recycling:clothes=yes

NOTE: Footwear is accepted, according to the comments, even though there's no recycling:footwear=yes or similar. I guess it's implied by recycling:clothes=yes.

Trash

Use amenity=waste_disposal if the feature is a container, or amenity=waste_basket if it is a basket.

Additionally, specify the accepted kind of waste with waste=*:

waste=trash;organic;dog_excrement

If there's an ashtray attached, you can include cigarettes:

waste=trash;organic;dog_excrement;cigarettes

You may also include location=*.

Leisure

Picnic Table

Bench

BBQ Grill

Tourism

Viewpoint (Miradouro)

Education

Study Center

amenity=prep_school seems to be the most appropriate, but for more info see also Education features.

Some other possible options:

Popular Restaurant/Cafe/etc chains

McDonald's

Tags common to all, from McDonald's:

amenity=fast_food
brand:wikidata=Q38076
brand=McDonald's
cuisine=burger
name=McDonald's

I believe all McDonald's have takeaway, so:

takeaway=yes

Some common tags that vary:

outdoor_seating=yes/no
smoking=outside
drive_through=yes/no
opening_hours=*
wheelchair=yes/no/...

Don't forget to add addr:*=* and payment:*=*.


Overpass query to find McDonald's restaurants with no brand:

[out:json][timeout:300];
(
  nwr["name"~"^mcdonald.?s", i]({{bbox}});
  nwr["brand"~"^mcdonald.?s", i]({{bbox}});
  nwr["operator"~"^mcdonald.?s", i]({{bbox}});
);
out body;
>;
out skel qt;

Montalegrense

TODO: amenity=cafe, amenity=bakery, shop=confectionery, or something else?

Mixpão

TODO: amenity=cafe, amenity=bakery, shop=confectionery, or something else?

NIF/VAT number

Use ref:vatin, e.g. ref:vatin=PT123456789.

Adding turn restrictions

First, in this order, select the "from" way, the intersecting ("via") node, and the "to" way. Then, "Presets">"Relations">"Turn restriction". Select the correct restriction (e.g. no_u_turn) and hit "New relation". On the lower left list of objects, select the "from" way and change its role to "from" (and similarly to the "via" node and the "to" way). Hit "Ok" and you're done.