Changes

Jump to navigation Jump to search
Line 5: Line 5:     
== Store entries ==
 
== Store entries ==
An entry in the taxonomy describes a single location. This taxonomy can combine data pulled from various sources: receipts from prices, osm, wikidata, etc or provided by the user (honour system).  
+
An entry in the taxonomy describes a single location. This taxonomy can combine data pulled from various sources: receipts from prices, osm, wikidata, etc or provided by the user (honour system). OFF should be careful not copy to much data already maintained by other parties. And if data is copied, it is to provide a snapshot in time.
 
+
=== Proofs ===
 +
[[File:Receipt example.png|thumb|Example of store information on a receipt]]
 +
The basis could be the receipts that users have added on prices. As all OFF data, any information should be backed up by image proofs. In the case for a store, this could be a receipt. The store information available on the receipt can be extracted to the taxonomy. Hopefully this information is enough to unambiguously identify a store.
 +
=== Prices ===
 
The possible fields used follow the data structure used by [https://prices.openfoodfacts.org/ OFF Prices] and describes a single location:
 
The possible 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)
 
* id - a unique identifier (as defined by OFF Prices)
Line 19: Line 22:  
=== Example ===
 
=== Example ===
 
An example for an entry / location / store / shop in the taxonomy:
 
An example for an entry / location / store / shop in the taxonomy:
<nowiki>osm_id: 9815975601</nowiki><br>
+
<nowiki>osm_id:en: 9815975601</nowiki><br>
<nowiki>osm_type: NODE</nowiki><br>
+
<nowiki>osm_type:en: NODE</nowiki><br>
<nowiki>id: 45</nowiki><br>
+
<nowiki>price_id:en: 45</nowiki><br>
<nowiki>osm_name: Biocoop</nowiki><br>
+
<nowiki>osm_name:en: Biocoop</nowiki><br>
<nowiki>osm_display_name: "Biocoop, Rue de Tolbiac, Quartier de la Maison-Blanche, Paris 13e Arrondissement, Paris, Île-de-France, France métropolitaine, 75013, France"</nowiki><br>
+
<nowiki>osm_display_name:en: "Biocoop, Rue de Tolbiac, Quartier de la Maison-Blanche, Paris 13e Arrondissement, Paris, Île-de-France, France métropolitaine, 75013, France"</nowiki><br>
<nowiki>osm_address_postcode: 75013</nowiki><br>
+
<nowiki>osm_address_postcode:en: 75013</nowiki><br>
<nowiki>osm_address_city: Paris</nowiki><br>
+
<nowiki>osm_address_city:en: en:Paris</nowiki><br>
<nowiki>osm_address_country: France</nowiki><br>
+
<nowiki>osm_address_country:en: en:france</nowiki><br>
<nowiki>osm_lat: 48.8259597</nowiki><br>
+
<nowiki>osm_lat:en: 48.8259597</nowiki><br>
<nowiki>osm_lon: 2.3511541</nowiki><br>
+
<nowiki>osm_lon:en: 2.3511541</nowiki><br>
 
  −
=== Proofs ===
  −
[[File:Receipt example.png|thumb|Example of store information on a receipt]]
  −
As will all OFF data, any information should be backed up by image proofs. In the case for a store, this could be a receipt. The store information available on the receipt can be extracted to the taxonomy. Hopefully this information is enough to unambiguously identify a store.
      
== Open Street Map integration ==
 
== Open Street Map integration ==
3,393

edits

Navigation menu