/belgium-topojson

Belgian municipalities in TopoJSON format

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

Topojson file of Belgian municipalities, arrondissements and provinces

The repository contains a topojson file (belgium.json) of the Belgian municipalities, arrondissements and provinces. These objects and properties are available:

  • municipalities
    • nis: NIS code
    • name_nl: name in Dutch
    • name_fr: name in French
    • reg_nis: NIS code of the region
    • reg_nl: region name in Dutch
    • reg_fr: region name in French
    • prov_nis: NIS code of the province
    • prov_nl: province name in Dutch
    • prov_fr: province name in French
    • arr_nis: NIS code of the arrondissement
    • arr_nl: arrondissement name in Dutch
    • arr_fr: arrondissement name in French
    • population: population on 01/01/2020
  • arrondissements
    • nis: NIS code
    • name_nl: name in Dutch
    • name_fr: name in French
    • reg_nis: NIS code of the region
    • reg_nl: region name in Dutch
    • reg_fr: region name in French
    • prov_nis: NIS code of the province
    • prov_nl: province name in Dutch
    • prov_fr: province name in French
  • provinces
    • nis: NIS code
    • name_nl: name in Dutch
    • name_fr: name in French
    • reg_nis: NIS code of the region
    • reg_nl: region name in Dutch
    • reg_fr: region name in French

Example

The notebook at https://observablehq.com/@bmesuere/topojson-example shows an example of how to use the topojson file in combination with Vega-lite. You can load the file directly from GitHub using this URL:https://raw.githubusercontent.com/bmesuere/belgium-topojson/master/belgium.json.

example map

Data sources

The base map is taken from arneh61. While the geo-part of this map is great, the properties aren't that useful. Naming of the properties is all over the place and the nis code (needed to join with other data sources) isn't present.

If you wish to modifiy the properties, you can modify the join_data.js script to create a new topojson file. Simply run run.sh to generated a new belgium.json file