Exercise

Projecting a GeoDataFrame

The Paris districts dataset is provided in geographical coordinates (longitude/latitude in WGS84). To see the result of naively using the data as is for plotting or doing calculations, we will first plot the data as is, and then plot a projected version.

The standard projected CRS for France is the RGF93 / Lambert-93 reference system (referenced by the EPSG:2154 number).

GeoPandas and matplotlib have already been imported, and the districts dataset is read and assigned to the districts variable.

Instructions

100 XP
  • Print the CRS of the districts dataset.
  • Make a simple plot of the districts dataset.
  • Convert the districts to a projected CRS (using the EPSG:2154 for France). Call the new dataset districts_RGF93.
  • Make a similar plot of districts_RGF93.