GeoSeries
and other.
The resulting line starts on this geometry and ends on other.
The operation works on a 1-to-1 row-wise manner:
Signature
Parameters
GeoSeries or geometric object
required
The GeoSeries (elementwise) or geometric object to find the
shortest line to.
bool | None (default None)
default:"None"
If True, automatically aligns GeoSeries based on their indices. None defaults to True.
If False, the order of elements is preserved.
Returns
GeoSeries

