Interactive Lab

This lab helps you practice core spatial predicates by moving simple geometries and seeing live predicate outcomes and matching code examples.

Concept: Spatial predicates (e.g. intersects, contains, within, crosses) are boolean tests between geometries โ€” the foundation of spatial queries in GeoPandas. You can also read more about this concept in Spatial queries using GeoPandas (up to the โ€œSpatial Queries Using GeoPandasโ€ section).

Open the lab in a new tab:

Open Spatial Predicates Lab (New Tab)

Preview:

Preview only. Open the full interactive lab in a new tab.

ยฉ 2026 Maryam Hosseini


Back to Top

Accessibility Nondiscrimination

Copyright ยฉ2026, Regents of the University of California and respective authors.

This site is built following the Berkeley Class Site template, which is generously based on the Just the Class, and Just the Docs templates.

View all course offerings