User:GeoMechain/Tutorial:Brewery mapping

From OpenStreetMap Wiki
Jump to navigation Jump to search

This page gives some tips to help map the craft breweries in France.

There are a large number of craft breweries in France but few are listed on OSM.

How to map ?

The two map features allowed for breweries are the node node and the area area.

The signs to know if it is necessary to put a node or a path can be of various kinds:

  • If the brewery covers the whole building, the tags can be added directly on the shape of building, which is itself an area area.
  • If the brewery only occupies a small part of the building, only a node node containing the tags describing the brewery is added.

Proposed Tagging Scheme

Brewery

If the brewery has more than one production site, the following must be added: operator=*

LOADING TAG LIST... (If you do not see this tag list, you need to enable JavaScript)
This table is auto-generated. See Template:Taglist for a documentation on it.
building=industrial + industrial=brewery + product=beer
An industrial brewery.
LOADING TAG LIST... (If you do not see this tag list, you need to enable JavaScript)
This table is auto-generated. See Template:Taglist for a documentation on it.
craft=brewery + product=beer + organic=only + shop=alcohol
An artisanal brewery that brews only with organic products and sells on site.
building=farm + craft=brewery + product=beer
An artisanal brewery farm.

Brewpub

A microbrewery (brewpub) is a pub or restaurant that practices brewing but whose brewing activity is not its main activity.

LOADING TAG LIST... (If you do not see this tag list, you need to enable JavaScript)
This table is auto-generated. See Template:Taglist for a documentation on it.

Shop

LOADING TAG LIST... (If you do not see this tag list, you need to enable JavaScript)
This table is auto-generated. See Template:Taglist for a documentation on it.

Contact

To add contact data, please refer to the associated wiki page: Key:contact.

Opening Hours, Happy Hours

To add the opening hours just add the tag opening_hours=* and enter the hours using a specific pattern. To help you you can use the YoHours web tool.

It is also possible to fill in the happy hours in the same way with the tag happy_hours=*.

Other activities

Hops, malt and barley production

If the brewery grows its own hops, you can indicate this with the tag produce=hop.

If the brewery grows its own barley, you can report it with the tag produce=barley.

And finally if the brewery produces its own malt, you can put the tag product=malt.

These tags can obviously be cumulated if needed:

craft=brewery + produce=hop;barley + product=beer;malt
(for an artisanal brewery that will grow barley, hops and produce its own malt).

Brewing workshop

If the brewery offers brewing workshops, you can notify them in the following way: amenity=training + training=brewing (like training=cooking)

Visitable brewery

If the brewery offers tours, you can add the tag tourism=attraction.

Brewery supply vendor

If the brewery offers brewing equipment for sale, you can add the tag shop=brewing_supplies.

LOADING TAG LIST... (If you do not see this tag list, you need to enable JavaScript)
This table is auto-generated. See Template:Taglist for a documentation on it.

Methods for checking existing data (QA)

Check if the brewery still exists

try it yourself in overpass-turbo
[out:json][timeout:160];
    {{nominatimArea:France}}(._; )->.SA;
        (
        nw[craft=brewery](area.SA);
        nw[industrial=brewery](area.SA);
        nw[microbrewery=yes](area.SA);
        );
        out meta;
>;
out meta qt;

{{style:
  node{
    color: white;
    fill-color: grey;
    fill-opacity: 0.8;
  }

  way{
    color: white;
    fill-color: grey;
    fill-opacity: 0.8;
  }

  node[survey:date=~/2020-*./],
  node[last_check=~/2020-*./], 
  node[check_date=~/2020-*./], 
  node[last_checked=~/2020-*./], 
  node[lastcheck=~/2020-*./]{
    color: white ;
    fill-color: green;
    fill-opacity: 0.8;
  }
  way[survey:date=~/2020-*./],
  way[last_check=~/2020-*./], 
  way[check_date=~/2020-*./], 
  way[last_checked=~/2020-*./], 
  way[lastcheck=~/2020-*./]{
    color: white;
    fill-color: green;
    fill-opacity: 0.8;
  }

  node[survey:date=~/2019-*./],
  node[check_date=~/2019-*./], 
  node[last_check=~/2019-*./], 
  node[last_checked=~/2019-*./], 
  node[lastcheck=~/2019-*./]{
    color: white;
    fill-color: yellow;
    fill-opacity: 0.8;
  }

  way[survey:date=~/2019-*./],
  way[check_date=~/2019-*./], 
  way[last_check=~/2019-*./], 
  way[last_checked=~/2019-*./], 
  way[lastcheck=~/2019-*./]{
    color: white;
    fill-color: yellow;
    fill-opacity: 0.8;
  }

  node[survey:date=~/2018-*./],
  node[check_date=~/2018-*./], 
  node[last_check=~/2018-*./], 
  node[last_checked=~/2018-*./], 
  node[lastcheck=~/2018-*./]{
    color: white;
    fill-color: red;
    fill-opacity: 0.8;
  }

  way[survey:date=~/2018-*./],
  way[check_date=~/2018-*./], 
  way[last_check=~/2018-*./], 
  way[last_checked=~/2018-*./], 
  way[lastcheck=~/2018-*./]{
    color: white;
    fill-color: red;
    fill-opacity: 0.8;
  }
}}

Check places with the duplicate tag microbrewery=yes and craft=brewery

try it yourself in overpass-turbo
[out:json][timeout:120];
{{nominatimArea:France}}(._; )->.SA;
(
  nw["craft"="brewery"](area.SA);
);
out body;
>;
out skel qt;

{{style:
node[craft=brewery][microbrewery=yes] {
  fill-color: red;
}
node[craft=brewery][microbrewery!=yes] {
  fill-color: green;
}
way[craft=brewery][microbrewery=yes] {
  fill-color: red;
}
way[craft=brewery][microbrewery!=yes] {
  fill-color: green;
}
}}

MapRoulette challenges

Num Link Overpass query
1 Fix microbrewery tag on craft breweries (France)
try it yourself in overpass-turbo
area[name="France"]->.SA;
    (
      nw[craft=brewery][microbrewery=yes][amenity!=pub][amenity!=restaurant][amenity!=bar](area.SA);
    );
out body geom;
2 Fix breweries without name (France)
try it yourself in overpass-turbo
area[name="France"]->.SA;
    (
      nw[craft=brewery][!name](area.SA);
      nw[microbrewery=yes][!name](area.SA);
      nw[industrial=brewery][!name](area.SA);
    );
out body geom;

Future Improvements

  1. Relaunch the Proposed features/Beer details tag project.
  2. Consider the possibility of referencing the styles available in a brewery based on BJCP guidelines.
  3. Addition of the places of distribution of the beers of a brewery with the key brewery=*.
  4. To indicate in which form the beer is available, it is possible to use the tag drink=*.

See also