Using the Shapely Package for the Care and Feeding of your 2-D Spatial Data
summary
Shows concrete Shapely code for reading TIGER shapefiles with Fiona, creating buffers and unions, and simplifying 50k-point coastlines down to a few dozen points; demonstrates denoising by area using great‑circle normalization and removes tiny islands (example: drop islands under 250 sq mi in Hawaii). Covers validity checks and fixes (explain_validity, zero-width buffer), warns that buffer is the duct tape of Shapely and that simplify preserves topology is slower, and gives usable notebooks and pitfalls.
AI-written summary · about
chapters (22)
- 0:00Start
- 0:02Geospatial Data Projection
- 0:13Data Production
- 6:23Line Strings
- 7:28Combining Multiple Shapes
- 7:57Multi Polygon
- 8:45Get Shapes from a File
- 12:55Simplifying Shapes
- 15:23The Douglas Quaker Algorithm
- 17:25Convex Hull
- 19:28Cascade of Union and Unary Union
- 20:41Unary Unions
- 21:04Intersection
- 21:27Difference
- 22:02Broken Shapes
- 22:35Explain Validity
- 23:27Example of Self Interval Intersection
- 24:51Annealing
- 26:09Stack Trace
- 31:38Zip Codes from Outside Vendors
- 33:48Smoothing Algorithm
- 34:56Great Circle Distance
related talks
20mSpatial data science in the Tidyverse
30mMaps, Maps, Maps!
29mGeospatial Analysis using Python
31mUnpacking the geospatial engineering toolbox – an overview of data science techniques for spatial da
03h 59mGeospatial Public Policy Analysis with GeoPandas
26mCartography with Python
01h 01m50 ways to show your data
01mA Practical Introduction to Geospatial Python
