Started thnks to https://github.com/kbytesys/django_comuni_italiani
Codes and information are official from ISTAT http://www.istat.it/en/ National Italian Institute of Statistics.
Start file: https://gist.github.com/MassimoCappellano/7bc250056aab737895edad504d6d30e6
Start file enriched with GMAP coordinates: https://gist.github.com/MassimoCappellano/10f745bc7c0230fe2847b89e7228df56
Important: create a .env file with your GMAP service KEY. Use .env_temp
as a template.
Used https://github.com/dwyl/env2 for configuration.
Maybe to use for functionality extension.
https://gist.github.com/datajournalism-it/212e7134625fbee6f9f7
https://fusiontables.google.com/DataSource?docid=1FWBRtJ-Gy5YVVYym6OhRC_dya3j_9pGDrX4rJDE#rows:id=1
https://developers.google.com/maps/documentation/geocoding/intro#GeocodingResponses
http://stackoverflow.com/questions/1502590/calculate-distance-between-two-points-in-google-maps-v3