{"id":15392679,"url":"https://github.com/jackdbd/aree-protette","last_synced_at":"2025-09-02T04:34:13.446Z","repository":{"id":82381018,"uuid":"140810265","full_name":"jackdbd/aree-protette","owner":"jackdbd","description":"Exploratory data analysis and visualization of a small geospatial dataset with geoviews.","archived":false,"fork":false,"pushed_at":"2018-08-22T08:35:22.000Z","size":4030,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T21:29:29.253Z","etag":null,"topics":["geopandas","geoviews","spatialite","sqlite3","tuscany"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jackdbd.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":"2018-07-13T07:04:59.000Z","updated_at":"2022-01-22T21:56:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"80815d29-4bf2-4642-a745-b7d293c9909a","html_url":"https://github.com/jackdbd/aree-protette","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"a133ed2dd8cb42511e4851c20dd9739142f3bc74"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackdbd%2Faree-protette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackdbd%2Faree-protette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackdbd%2Faree-protette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackdbd%2Faree-protette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackdbd","download_url":"https://codeload.github.com/jackdbd/aree-protette/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242988012,"owners_count":20217534,"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","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":["geopandas","geoviews","spatialite","sqlite3","tuscany"],"created_at":"2024-10-01T15:15:39.897Z","updated_at":"2025-03-11T06:42:49.237Z","avatar_url":"https://github.com/jackdbd.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sites of Community Importance in Tuscany\n\n[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/jackdbd/aree-protette/master)\n\nExploratory data analysis and visualization of a small geospatial dataset with geoviews.\n\n![An image showing the Sites of Community Importance in Tuscany, created with GeoViews](https://raw.githubusercontent.com/jackdbd/aree-protette/master/screenshots/sites-of-community-importance-in-tuscany.png \"Sites of Community Importance in Tuscany.\")\n\nAccording to [Wikipedia](https://en.wikipedia.org/wiki/Site_of_Community_Importance):\n\n\u003e A Site of Community Importance (SCI) is defined in the European Commission Habitats Directive (92/43/EEC) as a site which, in the biogeographical region or regions to which it belongs, contributes significantly to the maintenance or restoration at a favourable conservation status of a natural habitat type or of a species and may also contribute significantly to the coherence of Natura 2000, and/or contributes significantly to the maintenance of biological diversity within the biogeographic region or regions concerned.\n\nThey are proposed to the Commission by the State Members and once approved, they can be designated as SACs by the State Member.\n\nBuilt with:\n\n- Geopandas\n- Geoviews\n- Cartopy\n- Matplotlib\n- Contextily\n- Spatialite\n\n\n## Data\n\nYou will need to download these datasets to run the noteook.\n\nRegione Toscana – [Limiti amministrativi](http://dati.toscana.it/dataset/amb-amm) (License: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)).\n\nRegione Toscana – [Siti di Interesse Regionale, Siti di Importanza Comunitaria, Zone di Protezione Speciale](http://dati.toscana.it/dataset/sir) (License: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)).\n\nIf you want to reproduce the notebook, follow the instructions in `data/README.md`.\n\n\n## Run the notebook with Binder\n[Binder](https://github.com/jupyterhub/binderhub) builds a docker image from a git repository + commit, so you can run the notebook `aree-protette.ipynb` in the cloud, without installing anything on your machine.\n\n\n## Installation\n\nIf you want to run the notebook locally, you need to create a conda environment. The easiest way to obtain the conda package manager is to install a Python distribution like [Miniconda](https://conda.io/miniconda.html) or [Anaconda](https://repo.continuum.io/). I like Miniconda.\n\nYou can create a conda environment, install all the required dependencies, and activate the environment in two ways.\n\n```shell\n# option 1: use the environment.yml file\nconda create --file environment.yml\nsource activate aree-protette\n```\n\n```shell\n# option 2: create a new empty environment\nconda create --name aree-protette python=3.6 --yes\nsource activate aree-protette\nconda install -c pyviz geoviews -y\nconda install -c conda-forge sqlalchemy contextily -y\n```\n\n*Note:* installing all the required dependencies might take a while, go grab a cup of coffee :coffee:\n\n\n## Usage\n\nWhen all dependencies have been installed, run the notebook:\n\n```shell\njupyter notebook\n```\n\n\n## Install the SQLite geospatial extension: Spatialite\n\n```sh\nsudo apt-get update\nsudo apt-get install spatialite-bin\n```\n\n![An image that shows how to preview a geometry in Spatialite GUI](https://raw.githubusercontent.com/jackdbd/aree-protette/master/screenshots/spatialite-gui.png \"Map Preview in Spatialite GUI.\")\n\n\n## Other\n\nYou can freeze your environment with:\n\n```shell\nconda env export \u003e environment.yml\n```\n\nTo remove this conda environment, run:\n\n```shell\nconda env remove -n aree-protette\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackdbd%2Faree-protette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackdbd%2Faree-protette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackdbd%2Faree-protette/lists"}