Difference between revisions of "Global stores taxonomy"

From Open Food Facts wiki
Jump to navigation Jump to search
(adapted)
Line 1: Line 1:
 
See [[Global taxonomies]] for instructions.
 
See [[Global taxonomies]] for instructions.
 
[[Category:Global_Taxonomies]]
 
[[Category:Global_Taxonomies]]
 +
== Introduction ==
 +
The stores taxonomy contains a list of locations where products (food products, beauty products, etc.) can be obtained.
 +
 +
== Store entries ==
 +
An entry in the taxonomy describes a single location.
 +
The fields used follow the data structure used by [https://prices.openfoodfacts.org/ OFF Prices] and describes a single location:
 +
* id - a unique identifier (as defined by OFF Prices)
 +
* osm_id - the corresponding node(only?) in OpenStreetMap
 +
* name - a long name
 +
* postcode - the postcode
 +
* city - the city
 +
* country - the country tag
 +
* lat - the latitude
 +
* lon - the longitude
 +
 +
== Open Street Map integration ==
 +
Several of the fields are pulled from Open Street Map (name, postcode, city, country, lat, lon). These need to be regularly updated, so that OSM is followed. Any deleted location should be kept.
 +
 +
== Maintenance ==
 +
The stores taxonomy needs to be regularly updated from the data entered through [https://prices.openfoodfacts.org/ OFF Prices]. This means any changed values and any added entries/
  
== Current status ==
 
Draft
 
  
 
== Note ==
 
== Note ==
 
 
* We need to associate stores with brands that are sold in thoses stores (Auchan for Auchan…)
 
* We need to associate stores with brands that are sold in thoses stores (Auchan for Auchan…)
 
* We should try to add Wikidata relations (and thus OSM ones) whenever possible
 
* We should try to add Wikidata relations (and thus OSM ones) whenever possible

Revision as of 09:02, 29 February 2024

See Global taxonomies for instructions.

Introduction

The stores taxonomy contains a list of locations where products (food products, beauty products, etc.) can be obtained.

Store entries

An entry in the taxonomy describes a single location. The fields used follow the data structure used by OFF Prices and describes a single location:

  • id - a unique identifier (as defined by OFF Prices)
  • osm_id - the corresponding node(only?) in OpenStreetMap
  • name - a long name
  • postcode - the postcode
  • city - the city
  • country - the country tag
  • lat - the latitude
  • lon - the longitude

Open Street Map integration

Several of the fields are pulled from Open Street Map (name, postcode, city, country, lat, lon). These need to be regularly updated, so that OSM is followed. Any deleted location should be kept.

Maintenance

The stores taxonomy needs to be regularly updated from the data entered through OFF Prices. This means any changed values and any added entries/


Note

  • We need to associate stores with brands that are sold in thoses stores (Auchan for Auchan…)
  • We should try to add Wikidata relations (and thus OSM ones) whenever possible


Moved to GitHub: https://github.com/openfoodfacts/openfoodfacts-server/blob/master/taxonomies/stores.txt