Closed ErikNixdorf closed 1 year ago
@ErikNixdorf Yes they do; did you check my suggestion in #11?
What about
section_line = LineString(river_pnts.geometry.to_list())
instead of
section_line = LineString(MultiPoint(river_pnts.geometry.to_list()).geoms)
Does this yield the same result for you? If yes I would prefer the first option as it is shorter and cleaner.
In fact this even shorter version should also work if I'm correct:
section_line = LineString(river_pnts.geometry)
@MarcoHannemann Do my changes fix your problem?