Scripts to convert Geojsons in our format
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-22 10:54:59 +02:00
scripts feat: first script 2026-10-22 10:54:59 +02:00
.gitignore feat: first script 2026-10-22 10:54:59 +02:00
README.md readme 2026-10-22 10:42:56 +02:00

This Repo is here to store all scripts that we will use (maybe temporarly before adding a better solution) to convert geojsons from internet to our format :

Our format :

{
  "type": "FeatureCollection",
  "map": {
    "fr": { "name": "Europe", "description": "Pays et capitales d'Europe" },
    "en": { "name": "Europe", "description": "European countries and capitals" }
  },
  "features": [
    {
      "type": "Feature",
      "geometry": { "type": "Point", "coordinates": [2.35, 48.85] },
      "properties": {
        "names": {
          "fr": { "name": "Paris" },
          "en": { "name": "Paris", "aliases": ["City of Light"] }
        }
      }
    }
  ]
}