I want to import a CSV to use as a geodataframe. When I plot it, nothing shows, which makes me think I'm doing something wrong. Here's my code.
import pandas as pd
from geopandas import GeoDataFrame
myfile = 'data.csv'
df = pd.read_csv(myfile)
crs = {'init': 'epsg:4269'}
gdf = GeoDataFrame(df, crs=crs)
gdf.plot()
The 'geometry' column in my CSV contains two rows, which contain LineStrings e.g.
- LINESTRING(-117.674411 33.561825,-117.61164 33.589388)
- LINESTRING(-117.687375 33.602688,-117.690752 33.604706)