Skip to content

Conversation

@planemad
Copy link

@planemad planemad commented Jul 6, 2020

Ref #1

  • Script augments a geojson with translated labels from Wikidata

@planemad planemad changed the base branch from gh-pages to master July 6, 2020 05:25
@answerquest
Copy link

Just for clarity : what the script in this PR does is, from perspective of each individual place node:

  • find wikidata tag if existing
  • using that tag, pull in multilingual translations from wikidata
  • add in those translations as name:xx tags. Where existing, replace. (pls confirm?)
  • also do a bit of data cleaning

End result: if say a place node earlier didn't have multilingual tags in OSM but was linked to a wikidata id and that id happens to have the name in say 10 indian languages, now it will have them added in as if it's from OSM only, and so these language names can be picked up for the place in next stage.

Pls let me know if I got anything wrong here. And, nice! 👍

@planemad
Copy link
Author

@answerquest 🙏 for description. The preferWikidataLabel=true controls the overwrite behavior of the OSM label translations https://github.com/osm-in/indic-map/pull/2/files#diff-fc0409def193ba297fbdc4cc9f02e911ace7f722ff84a278fae20efe4b3e078eR57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants