{"id":15187224,"url":"https://github.com/arcanma/umbria_osm_stats","last_synced_at":"2026-02-17T14:32:08.425Z","repository":{"id":193562683,"uuid":"689054045","full_name":"arcanma/Umbria_osm_stats","owner":"arcanma","description":"OSM data statics for Umbria region ","archived":false,"fork":false,"pushed_at":"2023-09-10T09:52:46.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-02T09:12:05.693Z","etag":null,"topics":["bash-scripting","osm2pgsql","psql","sql"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arcanma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-08T17:27:30.000Z","updated_at":"2023-09-10T09:12:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"a52b0219-ce5d-4869-adaa-33f6c8e2f12e","html_url":"https://github.com/arcanma/Umbria_osm_stats","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"f357ed954ab006e6b0ae7de251e66623aa3ae66a"},"previous_names":["arcanma/umbria_osm_stats"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arcanma/Umbria_osm_stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcanma%2FUmbria_osm_stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcanma%2FUmbria_osm_stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcanma%2FUmbria_osm_stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcanma%2FUmbria_osm_stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arcanma","download_url":"https://codeload.github.com/arcanma/Umbria_osm_stats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arcanma%2FUmbria_osm_stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278678697,"owners_count":26027049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash-scripting","osm2pgsql","psql","sql"],"created_at":"2024-09-27T18:04:48.011Z","updated_at":"2025-10-06T20:51:01.102Z","avatar_url":"https://github.com/arcanma.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Statistics on OpenStreetMap data for Umbria region\nAll files needed to produce the stats present on site https://wiki.openstreetmap.org/wiki/Umbria_Stato and related subpages, results are managed by LibreOffice Calc to add some statistical elaboration and produce output that can be easily incorporated into wiki pages.\n\n## Author\nMarcello Arcangeli (arcanma@gmail.com)\n\n## License\nAll files are released into the Creative Commons CC0 1.0 Universal. \u003cbr\u003e\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n## Prerequisites\n\u003ca href=\"https://www.postgresql.org/\"\u003ePostgreSQL \u003c/a\u003e with \u003ca href=\"https://postgis.net/\"\u003e PostGIS extension \u003c/a\u003e, added user \"marcello\" and created database named \"gis\" \u003cbr\u003e\n\u003ca href=\"https://osm2pgsql.org/\"\u003eOsm2pgsql\u003c/a\u003e conversion software installed \u003cbr\u003e\nIf you changed the user name or db name in PostgreSQL you have to replace it in auto_umbria_osm.sh script\n\n## Files list and explanation\n\n\u003cstrong\u003e-README.md\u003c/strong\u003e \u003cbr\u003e\n This file\n\n\u003cstrong\u003e-auto_umbria_osm.sh\u003c/strong\u003e\t \u003cbr\u003e\n﻿Main shell script, this script launch all operations, from data download to statistics export on .csv files, all log messages are saved in auto_umbria.log file for troubleshooting if needed\n\n\u003cstrong\u003e-query_list\u003c/strong\u003e  \u003cbr\u003e\n List of queries passed to psql for execution\n\n\u003cb\u003e/sql\u003c/b\u003e\n\n    -OSM_Umbria_admin_update.sql\n     Query for table statistics initialization\n  \n    -highway_type_umbria.sql\n     Query to compute the highway lenght in Umbria divided by highway type, result in highway_type_Umbria.csv file\n  \n    -highway_type_pg.sql\n     Query to compute the highway lenght in Perugia province divided by highway type, result in highway_type_PG.csv file\n  \n    -highway_type_tr.sql\n     Query to compute the highway lenght in Terni province divided by highway type, result in highway_type_TR.csv file\n  \n    -highway_lenght_by_amm.sql\n     Query to compute the highway lenght for each municipality in Umbria\n  \n    -highway_tocheck_count.sql\n     Query to compute number of highways where the name should be set, based on highway classification, for each municipality in Umbria\n  \n    -highway_name_percent.sql\n     Query to compute the percentage of highways where the name should be set but is not set for each municipality in Umbria\n  \n    -buildings.sql\n     Query to compute number of buildings for each municipality in Umbria\n  \n    -civici.sql\n     Query to compute number of addr:housenumber for each municipality in Umbria\n  \n    -amenity.sql\n     Query to compute number of amenities for each municipality in Umbria\n  \n    -shop.sql\n     Query to compute number of shops for each municipality in Umbria\n  \n    -leisure.sql\n     Query to compute number of leisures for each municipality in Umbria\n  \n    -landuse.sql\n     Query to compute number of landuses for each municipality in Umbria\n \n    -Umbria_export_dati.sql\n     Query to export data computed on Umbria_export.csv file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcanma%2Fumbria_osm_stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farcanma%2Fumbria_osm_stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farcanma%2Fumbria_osm_stats/lists"}