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)
})

Topic

Economy and business

Type

Visualization

Tags

  • dataviz

  • geojson

  • insee

  • iris

  • json

Creation date

May 7, 2015

Last update

April 22, 2024

1 used dataset

Statistics for the year

Views

1.1k

84 in Apr 2024

Followers

1

Discussions

There are no discussions for this reuse yet.

Reuses from the same creator

There are no other reuses from this creator.