When I finally start clipping area to the boundaries of the city, a situation may occur wherein the buffer of a contiguous linestring is no longer a polygon, but a multipolygon (for example if the trip goes out of bounds beyond the buffer distance, then comes back inside)