Skip to content
This repository was archived by the owner on Aug 28, 2023. It is now read-only.

k-yle/name-mi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Lines of code

This is a simple tool to automatically detect te reo Māori names in OpenStreetMap that are defined in the name tag but not in the name:mi tag.

This tool will copy the name tag into name:mi:

  name=Motukiore
+ name:mi=Motukiore

How it works:

  1. This tool reads an extract of the planet file for New Zealand.
  2. It finds all features that have a name tag but no name:mi tag
  3. It runs some crude checks to filter out names that are definitely not te reo Māori
  4. The remaining names are saved to a CSV file
  5. A person manually checks the CSV file
  6. The CSV file is converted into an osmPatch file, which copies the name tag into name:mi
  7. A person uploads the osmPatch file to OSM

The tool was first run in August 2023, and circa 4,000 name:mi tags were added. About 900 false positives were ignored. It could be useful to run this tool again in the future, perhaps a few times per year.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks