openpolis / geojson-italy

Geojson and topojson files for all municipalities, by regions and provinces
Creative Commons Attribution 4.0 International
208 stars 54 forks source link

Holes in provinces and regions #1

Closed guglielmo closed 3 years ago

guglielmo commented 5 years ago

There are some holes in provinces and regions.

Regions:

Provinces:

guglielmo commented 5 years ago

Probably some areas were not assigned codes correctly at the source.

guglielmo commented 5 years ago

Almost all of the municipalities have changed after 2019-01-01, and the SHP file at ISTAT does not contain the geographic coordinates.

Torre de'Busi has gone through some changes BG -> LC -> BG, and this could have confused the algorithm.

guglielmo commented 5 years ago

Torre de' Busi has a wrong identifier (missing a zero-pad) in the istat SHP source file.

A solution is to modify the algorithm, forcing the 0-padding, with zfill(6), while reading metadata from the SHP file.

guglielmo commented 5 years ago

All other missing geometries are due to municipalities fusions happened after 2019-01-01, and are resolved by a management task in OPDM, which will generate the geometries, by uniting the geometries of the old municipalities.