Le contour des iris pour France métropolitaine et les DOM-TOM

Description

This script will dowload and convert Insee's datafile concerning IRIS zones in France and create a single json.

  • Usage

After npm install to get the dependencies, use make download to automatically save the files on your computer. Then launch the conversion using make convert.

  • Format

This will create a single geojson file with the following structure:

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "DEPCOM": "97701",
        "NOM_COM": "SAINT-BARTHELEMY",
        "IRIS": "0102",
        "DCOMIRIS": "977010102",
        "NOM_IRIS": "CENTRE",
        "TYP_IRIS": "H",
        "ORIGINE": "2"
      },
      "geometry": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              1.637095937960687,
              7.610503016150719
            ],
            ...
          ]
        ]
      }
    },
    ...
  ]
}

Then you can use it like this in node, if you like to list all iris ids.

var data = require("./data/iris.json");
data.features.forEach(function(iris){
    console.log(iris.properties.IRIS)
})

Thématique

Économie et entreprise

Type

Visualisation

Mots-clés

  • dataviz

  • geojson

  • insee

  • iris

  • json

Date de création

7 mai 2015

Dernière mise à jour

15 avril 2024

1 jeu de données

Visites

1,1k

53 en avr. 2024

Favoris

1

Discussions

Il n'y a pas encore de discussion pour cette réutilisation.

Réutilisations du même créateur

Il n'y a pas d'autres réutilisations de ce créateur.