Giter Club home page Giter Club logo

geojson-italy's Introduction

Introduction

This repository contains geo-referenced limits for all municipalities in Italy, and their breakdown by regions and provinces.

The geographic projection used is WGS84.

The limits are released both in topojson with a high simplification rate (20%), and the non-simplified geojson format.

As administrative limits change continuously, the files are upgraded periodically, and refer to the latest administrative subdivisions, as published by ISTAT in this permalink (hoping it's actually a permalink).

Historical versions, year by year, are published as tags, currently only 2019 and 2021 are present.

The master branch currently contains limits as of February 2021.

Attribution

The original administrative limits data are copyrighted by ISTAT, that releases them under the CC-BY license. The data generated and published here are released under the same CC-BY license.

Geojson files

These files are not simplified, contain a large number of vectors, and can only contain one layer. They are compatible with almost all visualisers and applications, and can be used to integrate geographic information, almost as ubiquitously as shp files.

The following files are available:

Please consider that maps preview for geojson data are only available for files of limited size in github.com; use mapshaper to see and explore larger files.

Topojson files

These files are simplified, smaller, but less precise, and contains a lot less vectors than the corresponding geojson files, can contain many layers, and can be used in compatible map visualisers (leaflet, d3, mapshaper).

The following topojson files are available:

Please consider that maps preview for topojson data are not available on github.com; use mapshaper to see the files.

Metadata

Each geographic area has the following metadata:

  • name (M) - the name of the municipality
  • com_catasto_code (M) - the cadaster code (H501)
  • com_istat_code (M) - the ISTAT code, as text (zero-padded)
  • com_istat_code_num (M) - the ISTAT code, as integer
  • op_id (M) - the openpolis ID (for integration with legacy OP data)
  • opdm_id (M) - the opdm ID (for integration with OPDM data)
  • minint_elettorale (M) - interior minister ID
  • prov_name (M,P) - parent province name
  • prov_istat_code (M,P) - parent province ISTAT code, as text (zero-padded)
  • prov_istat_code_num (M,P) - parent province ISTAT code, as integer
  • prov_acr (M,P,R) - parent province acronym (ex: RM)
  • reg_name (M,P,R) - parent region full name
  • reg_istat_code (M,P,R) - parent region ISTAT code, as text (zero padded)
  • reg_istat_code_num (M,P,R) - parent region ISTAT code, as number

In parenthesis, the contexts where these properties can be found:

  • M: Municipalities,
  • P: Provinces,
  • R: Regions

Developers

To generate all files, starting from the comuni.geojson file:

  ./generate_geojson.sh
  ./generate_topojson.sh

The mapshaper client, based on node js, is required by the scripts to work.

How the comuni.geojson file is generated, and other scripts' internals are described in this wiki page.

geojson-italy's People

Contributors

guglielmo avatar deuteu avatar mlocati 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.