1. 学习
  2. /
  3. 课程
  4. /
  5. Visualizing Geospatial Data in Python

Connected

练习

Plotting points over polygons - part 1

Make a basic plot of the service districts with the chicken locations. The packages needed have already been imported for you. The chickens DataFrame and service_district GeoDataFrame has been pre-loaded for you.

说明

100 XP
  • Plot the shapefile for the service districts, using the name column to color the polygons.
  • Add chicken locations, using the lat and lng columns from the chickens DataFrame, and make them black.
  • Show your plot.