Use the following code section to create a GeoSeries with one LINESTRING geometry, representing the route of bus line 911 along the route named "RONDO ŚRÓDKA - BIEDRUSKO PARK|BIEDRUSKO PARK - RONDO ŚRÓDKA", based on the shapes.txt file from the GTFS dataset:
Re-create the poi point layer, with three points of interest in Poznan (Section 2.3).
Use the gpd.overlay function to calculate the segments of the route which are within 750-\(m\) buffers of the points of interest. Then, plot the buffers and the route segments, with (Figure 4.1 (a)) and without (Figure 4.1 (b)) the entire bus route in the background.
4.2 Rasters
Read the hls.tif multi-band image which we created in Section 3.5.
Once you have the array (e.g., ndvi), plot it using rasterio.plot.show with transform=src.transform (i.e., using the origin and resolution setting of the source file) and cmap='Greens' (i.e., color map = green colors) (Figure 4.2):