Skip to content

lennertVanSever/sea-labels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sea labels

A GeoJSON collection of multilingual sea labels positioned with curved lines.

Example of a map made by d3 with sea labels

So far we support the following languages:

  • Arabic
  • Spanish
  • Hindi
  • French
  • Portuguese
  • Russian
  • Dutch
  • Chinese Traditional
  • Urdu
  • Indonesian
  • Inuktitut it's a facinating language
  • Japanese
  • Turkish
  • German
  • Hebrew

Contributing

Not all the seas are yet in this collection, we only have 26 😞 But you can help by following these steps:

  • Install QGIS (it's free)
  • Install the Bezier Editing plugin
  • Add data.geojson to your QGIS project
  • Add with the line tool and the Bezier tools some seas (don't worry about the translations)
  • If you want straight lines, add the country id to the idsOfLabelsWithStraightLine in straightenLines.js and run node modifyData/straightenLines.js
  • If you make a pull request, I can run the translation script
  • if you want to translate yourself, get an API key from Microsoft Translator (it's free) and add .env file in the modifyData folder with the following content: AZURE_TRANSLATE_KEY=YOUR KEY HERE. Navigate to modifyData and run npm install && node translateLabels.js

About

GeoJSON of multilingual sea labels positioned with curved lines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published