Skip to content

EmanuelFontelles/geospatialPlot

Repository files navigation


Geospacial Visualization

License Binder

This repo is developed by Emanuel Fontelles.

Some notebooks to understand how to use Plot.ly and geopandas

Project philosophy

This project aim to demonstrate you some Python visualizitions tools, some libraries as Plotly and Geopandas are enphasyses because of its facilities

Many excellent plotting libraries exist in Python, including the main ones:

Table of Contents

Usage and Installation Notes

Usage

You can view the tutorial materials using the excellent service from Binder. Click in the Binder bagde Binder to play with the notebooks from your browser without installing anything or you can setup a local instalation.

Binder lets you easily host interactive Jupyter notebooks and let anyone on the internet use them interactively immediately! Binder creates executable environment making your code immediately reproducible by anyone, anywhere.

You can visualize the notebooks without running any kernel.

Local Instalation

This tutorial requires the following packages:

For a local installation, please follow the tutorial bellow. If you don't know how to install those on your platform, I recommend to install Miniconda, a distribution of the conda package and environment manager. Please follow the below instructions to install it and create an environment for the repository.

  1. Download the Python 3.x installer for Windows, macOS, or Linux from https://conda.io/miniconda.html and install with default settings. Skip this step if you have conda already installed (from Miniconda or Anaconda). Linux users may prefer to use their package manager.
    • Windows: Double-click on the .exe file.
    • macOS: Run bash Miniconda3-latest-MacOSX-x86_64.sh in your terminal.
    • Linux: Run bash Miniconda3-latest-Linux-x86_64.sh in your terminal.
  2. Open a terminal. Windows: open the Anaconda Prompt from the Start menu.

Once this is installed, the following command will install all required packages in your Python environment:

$ conda install numpy scipy matplotlib scikit-learn ipython-notebook seaborn

Alternatively, you can download and install the (very large) Anaconda software distribution.

Every time you want to work, do the following:

  1. Open a terminal. Windows: open the Anaconda Prompt from the Start menu.
  2. Start Jupyter with jupyter notebook or jupyter lab. The command should open a new tab in your web browser.
  3. Edit and run the notebooks from your browser.

Downloading the Tutorial Materials

I would highly recommend using git, not only for this tutorial, but for the general betterment of your life. Once git is installed, you can clone the material in this tutorial by using the git address shown above:

git clone https://github.com/EmanuelFontelles/geospatialPlot.git

If you can't or don't want to install git, there is a link above to download the contents of this repository as a zip file. I may make minor changes to the repository in the days before the tutorial, however, so cloning the repository is a much better option.

Disclaimer

This is a personal repository that is not meant for public use at this time. It is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. No installation or technical support will be provided.