The Python Ecosystem of Geospatial Libraries

There is a multitude of geospatial libraries for python. In this context, we will focus on a few and especially those that work in google’s colab online python environment.

When it comes to working with statistical maps geoPanads is one of the obvious libraries to start with. GeoPandas is an extension to the general data analytical packages Pandas, but that brings geospatial data into the set of tools to use and especially maps as an output form. When installing geoPandas you also install two important dependencies namely fiona and pyporj. fiona is a library for reading and writing vector geospatial data files, while pyproj is a library for conversion between different coordinate Reference Systems (CRS)

Many of the illustrations on the use of vector data are created using geopandas together with the library shapely for basic creation and manipulation of geospatial data. For background images the library contextily is used.

For more serious mapping you need to look at leafmap or folium Finaly if you want to use Google Earth Engine there is geemap

Accessing geospatial data from Python

One of your first tasks when starting to use Python is to load data into Python This is described in the article “Accessing Geospatial data in Python

Further reading