Creating Maps in Jupyter Notebook using GeoPandas

From CUOSGwiki
Revision as of 10:00, 11 December 2020 by Erci (talk | contribs) (→‎Tutorial)
Jump to navigationJump to search

Introduction

About Jupyter

Jupyter's advantages include that it is a free and open-source web application that also runs locally on your machine. This means that you can share and edit code easily with other people, but also have easy version controls saved to your machine. Another advantage of Jupyter is that you can type code into kernels, and run those kernels individually. This will be demonstrated in the tutorial, but as a quick explanation -- the benefits to this include being able to test code easily, be able to quickly visualize a certain data table or in our case, create a map quickly without having to run all of the code at once.

Tutorial

Step 1: Installing the software

This tutorial will be for Windows machines. The following steps will assume that the user is on a Windows platform, and therefore if you are using any other machine, the steps may be slightly different. This tutorial will assume that you have anaconda installed. If not, install it here. You may also choose to simply install miniconda which will run everything necessary for the purpose of this tutorial, and most jupyter notebook commands. You can install miniconda here in silent mode (recommended).


Step 2: Downloading data

Step 3: Introduction to Jupyter Notebook

Step 4: Editing the data

Step 5: Making a map in Jupyter Notebook

Step 6: Importing and editing the map in QGIS