Summary

This chapter covered three Python libraries for working with vector data—OGR, Shapely, and GeoPandas. In particular, we showed how to use all three for doing geospatial analysis and processing. Each library was covered separately, with their classes, methods, data structures and popular use cases. Short example scripts showed how to get started doing data processing and analysis. Taken as a whole, the reader now knows how to use each library separately, as well as how to combine all three for doing the following tasks:

  • Reading and writing vector data
  • Creating and manipulating vector data
  • Plotting vector data
  • Working with map projections
  • Performing spatial operations
  • Working with vector geometries and attribute data in tabular form ...

Get Mastering Geospatial Analysis with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.