Git Product home page Git Product logo

geoviews-geopython-2018's Introduction

geoviews-geopython-2018

Binder

Material for my talk "Approaching geovisualization and remote sensing with GeoViews" @ GeoPython 2018.

Basel Parks and Cafes

Basel Districts, Parks and Cafes

Basel cafes choropleth map

Installation

The best way to install all the dependencies for this notebook is to create a conda environment. Either Miniconda or Anaconda are good.

You can use the environment.yml file included in this repository to create a conda environment identical to the one I used:

conda env create --file environment.yml

Otherwise you can create and activate a new conda environment with:

conda create --name geopython-2018 python=3.6 --yes
source activate geopython-2018

And install all the dependencies with:

# geoviews (it depends on holoviews)
conda install -c conda-forge -c ioam holoviews geoviews --yes
# Additional packages (for the examples in the notebook)
conda install xarray  -y
conda install -c conda-forge iris -y
conda install -c conda-forge iris-sample-data
conda install -c conda-forge geopandas -y

You will also need to download the Bokeh sample data:

import bokeh.sampledata
bokeh.sampledata.download()

If you run into issues when importing geopandas, try manually downgrading fiona:

conda install -c conda forge fiona=1.7.10

Data

In order to run the notebook you will also need some data files.

Here is where to find the data used in the notebook:

Create a data directory in the root of the repository and drop the files there.

Generate the slides from the notebook

Open a terminal and type:

jupyter nbconvert Jupyter Notebook.ipynb --to slides --post serve

Other

You could freeze your environment with:

conda env export > environment.yml

To remove this conda environment, run:

conda env remove -n geopython-2018

geoviews-geopython-2018's People

Contributors

jackdbd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.