Giter VIP home page Giter VIP logo

nuts2json's Introduction

Nuts2json

Nuts2json provides various reusable versions of Eurostat NUTS dataset as web formats such as GeoJSON and TopoJSON. It supports the design of statistical web maps of Eurostat data. In a way, it provides a blank map of geometries ready for use with your own data and colors.

For an example of such blank map, see HERE (the URL parameters can be changed).

For an example of thematic map, see this map showing population in Europe.

Supported formats

The JSON files are available in the folder json according to a predefined path pattern. For example, json/topojson/wm/600px/RG_lvl2.json is the path to a TopoJSON file of NUTS regions level 2 in projection web mercator, for a map size 600*600px.

The file path pattern is: /json/<FORMAT>/<PROJECTION>/<SIZE>/\NUTS_lvl<NUTS_LEVEL>.json

where:

  • FORMAT is the file format. Currently, only TopoJSON is provided. GeoJSON format is to come.
  • PROJECTION is the map projection. Currently, European projection LAEA (EPSG 3035) and Web Mercator (EPSG 3857) are provided.
  • SIZE is the size of the map, in pixel. Currently, all maps are squared. The available sizes are 400, 600, 800, 1000 and 1200 pixels.
  • NUTS_LEVEL is the NUTS level to be shown on the map, from national level (NUTS_LEVEL=0) to provincial level (NUTS_LEVEL=3).

Features

Each file provides 4 feature types with the following properties:

NUTS regions (feature type nutsrg) have two properties:

  • id: The NUTS identifier to be used to join Eurostat statistical figures and then assign colors to the regions.
  • na: The geographical name of the region.

NUTS boundaries (feature type nutsbn) have the following properties:

  • lvl: The NUTS level of the boundary, from 0 (national level) to 3 (provincial level).
  • eu: T if the boundary separate two EU member states, F otherwise.
  • efta: T if the boundary touches at least one EFTA country, F otherwise.
  • cc: T if the boundary touches at least one Candidate Country, F otherwise.
  • oth: T if the boundary touches a country wich is not EU, EFTA,CC. F otherwise. NB: The coastal boundaries are not included.

Non-european countries (feature type cntrg)

  • cid: The country identifier (2 letters code).
  • cna: The country name.

Non-european boundaries (feature type cntbn). Coastal boundaries are not included.

Usage example

See this map on EurostatVisu project.

[TODO: describe simple examples, based on d3.]

Technical details

These files are produced from the NUTS SHP files provided on Eurostat website, here. The input SHP files are in the shp folder. They are transformed using GDAL and, of course, TopoJSON libraries. The processes are automated in Bash files, which are also shared in this repository.

Support and contribution

Feel free to ask support, fork the project or simply star it (it's always a pleasure).

Copyright

The Eurostat NUTS dataset is copyrighted. See the Eurostat-GISCO website for more information.

nuts2json's People

Contributors

jgaffuri avatar

Watchers

Zied Ellouze avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.