1. Learn
  2. /
  3. Courses
  4. /
  5. Working with Geospatial Data in Python

Exercise

Import and explore the data

In this exercise, we will start with reading and exploring two new datasets:

  • First, a dataset on artisanal mining sites in Eastern Congo (adapted from IPIS open data).
  • Second, a dataset on the national parks in Congo (adapted from the World Resources Institute).

For each of those datasets, the exercise consists of importing the necessary packages, reading the data with geopandas.read_file(), inspecting the first 5 rows and the Coordinate Reference System (CRS) of the data, and making a quick visualization.

Instructions 1/2

undefined XP
  • 1

    Read and explore the mining site data ("ipis_cod_mines.geojson"), assigning it to a variable called mining_sites.

  • 2

    Adapt your code to do the same for the national park data ("cod_conservation.shp", assign to a variable national_parks).