Overview#

In this lesson, we will learn about two interesting problem sets that GIS professionals often come across. First, we will look at different options of converting addresses into coordinates and vice versa, i.e. geocoding. Then, we will learn how to carry out spatial join operations in geopandas, first in the specific use case of finding points inside a polygon, then more generally joining two data sets based on their locations.

Learning goals#

After this lesson, you should know how to:

  • geocode addresses, i.e., convert a list of addresses into a list of coordinates,

  • query whether a point is inside a polygon, and

  • join two vector data sets based on their features’ location

Discussion#

  • How would you determine if a specific location (like a park or café) is within a neighborhood boundary?

  • If you have two areas, like a commercial and a residential zone, how might you identify where they overlap? Why would this be useful?

  • Imagine you have datasets for schools and hospitals—how could you link them spatially to find schools near hospitals?

  • What types of data would you need to start analyzing spatial relationships between locations?

  • Can you think of real-world applications where knowing the location relationships (inside, near, overlapping) is critical?

Lesson video#

[ ]: