Skip to content

Commit

Permalink
Update source and fields for Bologna, update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
camille-le committed Aug 11, 2022
1 parent 24f19fa commit ab5312f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions sources/italy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,33 @@
export default [
{
country: "Italy",
city: "Bologna",
short: "Bologna",
long: "Comune di Bologna",
id: "bologna_it",
id_city_name: "bologna_it",
primary: "bologna_it",
center: null,
latitude: null,
longitude: null,
info: "https://opendata.comune.bologna.it/explore/dataset/alberi-manutenzioni/information/?disjunctive.classe&disjunctive.cl_h&disjunctive.dimora&disjunctive.d_edif",
srs: null,
brokenDownload: true,
brokenNotes: "Data has Specie arborea field but no common field",
download: "https://opendata.comune.bologna.it/explore/dataset/alberi-manutenzioni/download/?format=geojson&timezone=Europe/Rome&lang=it",
format: "geojson",
filename: null,
gdal_options: null,
license: null,
email: null,
contact: null,
crosswalk: {
scientific: "Specie arborea",
height: "Classe di altezza",
updated: "Data ultimo aggiornamento",
planted: "Data Impianto",
},
},
{
country: "Italy",
city: "Villa_Manin",
Expand Down
2 changes: 2 additions & 0 deletions src/core/sources.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Schema (incomplete):
id (required): internal identifier used in naming files and linking things.
short: Short name for the city, shown on the map (eg Melbourne)
long: Full name for the government body (eg City of Melbourne)
brokenDownload: Indicates whether the data source is usable
brokenNotes: Indicates any reasons for why the source is marked a brokenDownload
download (required): URL to get data from
info: URL that is the landing page for more information about dataset
format: The file extension, eg zip/geojson/csv. Not required if present in download URL.
Expand Down

0 comments on commit ab5312f

Please sign in to comment.