Location: Difference between revisions

From Open Food Facts wiki
(Created page with "Handling Location in Product Opener http://en.wiki.openfoodfacts.org/French_locations_taxonomy == Fields that contain geo info == * Packaging Codes : EMB codes and EU codes...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Handling Location in Product Opener
Handling Location in Product Opener
[[Category:Locations]][[Category:ProductOpener]]


http://en.wiki.openfoodfacts.org/French_locations_taxonomy
== Inferring countries ==
 
* from scans
* from packaging OCRs
* from fields that contain geo info
* from barcode ranges when they can be linked to a reliable single country GLN
== Taxonomies ==
https://en.wiki.openfoodfacts.org/French_locations_taxonomy
== Fields that contain geo info ==
== Fields that contain geo info ==


Line 19: Line 25:


That means we need:
That means we need:
- Oceans and seas
* Oceans and seas
- FAO zones (for oceans and seas)
* FAO zones (for oceans and seas)
- Political zones (Europe, common market btw Russia and other states…)
* Political zones (Europe, common market btw Russia and other states…)
- Countries (we already have a linked taxonomy)
* Countries (we already have a linked taxonomy)
- Department and intermediate zones
* Department and intermediate zones
- Cities
* Cities
- Street addresses (for factories…)
* Street addresses (for factories…)


    
    
Ideally, we want all those to be:
Ideally, we want all those to be:
-linked to Wikidata (some of the items are linked to OSM, not all OSM items exist in Wikidata)
*linked to Wikidata (some of the items are linked to OSM, not all OSM items exist in Wikidata)
-linked to Open Street Map
*linked to Open Street Map




== Current reuses ==
== Current reuses ==
http://cestemballepresdechezvous.fr
* https://cestemballepresdechezvous.fr/
http://madenear.me/
* http://madenear.me/


== TODO ==
== TODO ==
- taxonomize fields
* taxonomize fields
- load remaining EU countries
* load remaining EU countries
- improve individual packaging code pages
* improve individual packaging code pages
- handle BIO codes better (in labels) by displaying the country of certification
* handle BIO codes better (in labels) by displaying the country of certification


== Bugs ==
== Bugs ==
https://github.com/openfoodfacts/openfoodfacts-server/milestones/Location%20Location%20Location
https://github.com/openfoodfacts/openfoodfacts-server/milestones/Location%20Location%20Location

Latest revision as of 11:31, 2 May 2021

Handling Location in Product Opener

Inferring countries

  • from scans
  • from packaging OCRs
  • from fields that contain geo info
  • from barcode ranges when they can be linked to a reliable single country GLN

Taxonomies

https://en.wiki.openfoodfacts.org/French_locations_taxonomy

Fields that contain geo info

  • Countries where sold
  • Stores (sometime, contributors put the exact address)
  • City, state and country where purchased
  • Origin of Ingredients
  • Manufacturing or processing places


That means we need:

  • Oceans and seas
  • FAO zones (for oceans and seas)
  • Political zones (Europe, common market btw Russia and other states…)
  • Countries (we already have a linked taxonomy)
  • Department and intermediate zones
  • Cities
  • Street addresses (for factories…)


Ideally, we want all those to be:

  • linked to Wikidata (some of the items are linked to OSM, not all OSM items exist in Wikidata)
  • linked to Open Street Map


Current reuses

TODO

  • taxonomize fields
  • load remaining EU countries
  • improve individual packaging code pages
  • handle BIO codes better (in labels) by displaying the country of certification

Bugs

https://github.com/openfoodfacts/openfoodfacts-server/milestones/Location%20Location%20Location