{"id":23886186,"url":"https://github.com/martibosch/swiss-urbanization","last_synced_at":"2025-04-10T01:24:06.457Z","repository":{"id":45511352,"uuid":"176508769","full_name":"martibosch/swiss-urbanization","owner":"martibosch","description":"Materials to reproduce the paper \"Spatiotemporal patterns of urbanization in three Swiss urban agglomerations: insights from landscape metrics, growth modes and fractal analysis\"","archived":false,"fork":false,"pushed_at":"2020-10-23T09:48:20.000Z","size":7202,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T03:11:19.945Z","etag":null,"topics":["complexity","fractal-analysis","land-use-and-land-cover-change","landscape-metrics","spatial-pattern","urban-growth-patterns","urban-scaling","urbanization"],"latest_commit_sha":null,"homepage":"https://doi.org/10.1007/s10980-020-00985-y","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/martibosch.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}},"created_at":"2019-03-19T12:37:44.000Z","updated_at":"2025-02-01T15:35:32.000Z","dependencies_parsed_at":"2022-07-20T06:47:04.054Z","dependency_job_id":null,"html_url":"https://github.com/martibosch/swiss-urbanization","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martibosch%2Fswiss-urbanization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martibosch%2Fswiss-urbanization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martibosch%2Fswiss-urbanization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martibosch%2Fswiss-urbanization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martibosch","download_url":"https://codeload.github.com/martibosch/swiss-urbanization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248138823,"owners_count":21053964,"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":["complexity","fractal-analysis","land-use-and-land-cover-change","landscape-metrics","spatial-pattern","urban-growth-patterns","urban-scaling","urbanization"],"created_at":"2025-01-04T05:57:08.350Z","updated_at":"2025-04-10T01:24:06.430Z","avatar_url":"https://github.com/martibosch.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/martibosch/swiss-urbanization.svg?branch=master)](https://travis-ci.org/martibosch/swiss-urbanization)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/martibosch/swiss-urbanization/master?filepath=notebooks)\n\nSpatiotemporal patterns of urbanization in Switzerland\n==============================\n\nMaterials to reproduce the article:\n\nBosch M., Jaligot R., Chenal J. 2020. \"Spatiotemporal patterns of urbanization in three Swiss urban agglomerations: insights from landscape metrics, growth modes and fractal analysis\". *Landscape ecology*. [10.1007/s10980-020-00985-y](https://doi.org/10.1007/s10980-020-00985-y)\n\n![Example figure](figure.png)\n\n## Instructions to reproduce\n\n### Option 1: via MyBinder\n\nClick the badge below, which will use [MyBinder](https://mybinder.org/) to launch a server with a Jupyter executable environment:\n\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/martibosch/swiss-urbanization/master?filepath=notebooks)\n\n### Option 2: locally\n\n1. Clone the repository and change directory to the repository's root:\n\n```bash\ngit clone https://github.com/martibosch/swiss-urbanization\ncd swiss-urbanization\n```\n\n2. Create the environment (this requires conda) and activate it:\n\n```bash\nconda env create --name swiss-urbanization -f environment.yml\n# the above command creates a conda environment named `swiss-urbanization`\nconda activate swiss-urbanization\n```\n\n3. Register the IPython kernel of the `swiss-urbanization` environment\n\n```bash\npython -m ipykernel install --user --name swiss-urbanization --display-name \"Python (swiss-urbanization)\"\n```\n\n4. Now you might use `make` to generate all the figures in the directory `reports/figures` as in:\n\n```bash\nmake figures\n```\n\nor instead launch Jupyter as in:\n\n```bash\njupyter-notebook\n```\n\nand generate the figures interactively by executing the notebooks of the `notebooks` directory.\n\n### Important note\n\nThe `landscape_plots.pdf` figure cannot be reproduced with the current environment (see the file `environment.yml`) because of [the incompatibility between the basemap installed from `conda-forge` and pyproj 2.0](https://github.com/matplotlib/basemap/pull/454).\n\n------------------------------\n\n\u003cp\u003e\u003csmall\u003eProject based on the \u003ca target=\"_blank\" href=\"https://drivendata.github.io/cookiecutter-data-science/\"\u003ecookiecutter data science project template\u003c/a\u003e. #cookiecutterdatascience\u003c/small\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartibosch%2Fswiss-urbanization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartibosch%2Fswiss-urbanization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartibosch%2Fswiss-urbanization/lists"}