Location: Difference between revisions

From Open Food Facts wiki
No edit summary
No edit summary
Line 1: Line 1:
Handling Location in Product Opener
Handling Location in Product Opener
[[Category:Locations]][[Category:ProductOpener]]
[[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 ==



Revision as of 10:14, 1 April 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