User:GeoMechain/Tutorial:Brewery mapping
Please use Template:WIP
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 and the 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 .
- If the brewery only occupies a small part of the building, only a 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=*
- building=industrial + industrial=brewery + product=beer
- An industrial brewery.
- craft=brewery + product=beer + organic=only + shop=alcohol
- An artisanal brewery that brews only with organic products and sells on site.
Brewpub
A microbrewery (brewpub) is a pub or restaurant that practices brewing but whose brewing activity is not its main activity.
Shop
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.
Do not confuse the tag produce and product. Elements tagged with product=* are elements transformed by human beings (such as beer or malt) while elements tagged with produce=* are not (such as hops). |
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.
Methods for checking existing data (QA)
Check if the brewery still exists
[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
[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) |
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) |
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
- Relaunch the Proposed features/Beer details tag project.
- Consider the possibility of referencing the styles available in a brewery based on BJCP guidelines.
- Addition of the places of distribution of the beers of a brewery with the key brewery=*.
- To indicate in which form the beer is available, it is possible to use the tag drink=*.