All Questions
2 questions
3
votes
1
answer
2k
views
Creating LineString from CSV with lat/lon coordinates of beginning and ending points
I am iterating through a CSV file of tornadoes, and for each row getting the beginning lat, beginning long, ending lat, and ending long. And I am trying to plot their line geometry on a map.
I got the ...
2
votes
1
answer
6k
views
Pandas dataframe to Shapely LineString using GroupBy & SortBy
I have a pandas dataframe that contains information to construct (poly)lines, and I want to use shapely & geopandas tools to make a SHP.
In the example below, I have 3 lines differentiated by &...