looking for some solutions? You are welcome.

SOLVED: Geopandas Connect Points


I am trying to create a basic origin/destination map of lines. My data has this structure:

ID lon_origin  lat_origin  lon_destination  lat_destination
0  -116.284    43.617      -116.304         43.608
1  -116.291    43.610      -116.304         43.608

Any ideas on how to connect the origins & destinations? I have tried zipping them but I can't get geopandas to recognize two geometry columns at once.

Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots

No comments: