From the course: Geospatial Data Analytics Essential Training
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Computing local statistics - Python Tutorial
From the course: Geospatial Data Analytics Essential Training
Computing local statistics
- [Instructor] In this video, we will learn about computing population level statistics within the reach of a selected area, which in this example is Manhattan. In particular, we will compute the number of people living in a given distance range from Manhattan using the polygon buffering technique we learned earlier. For this, we first import GeoPandas the usual way. Additionally, we will use the GeoDataFrame called gdf_merged, which we defined in the previous video titled, Enrich Administrative Boundaries by Population Information. Then we use the borough name column of this GeoDataFrame to filter it down to Manhattan. Finally, we will store this filter to GeoDataFrame in a new GeoDataFrame, only containing Manhattan. Then to ensure that we conduct local statistics using the proper CRS, we transform both the original neighborhood level data frame and the one filter down to Manhattan using the local CRS of EPSG 2263. Additionally, we quickly visualize the Manhattan data using the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Acquire open geospatial data about New York City3m 35s
-
(Locked)
Explore the administrative boundaries of the NYC neighborhoods5m 28s
-
(Locked)
Combine and compare spatial datasets7m 31s
-
(Locked)
Enrich administrative boundaries using population information4m 29s
-
(Locked)
Computing local statistics8m 10s
-
(Locked)
Turning tabular data into geospatial4m 20s
-
(Locked)
Urban greenery assessment5m 54s
-
(Locked)
-