Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Convert dataframe to geodataframe

df['geometry'] = gpd.GeoSeries.from_wkt(df['geometry'])
my_geo_df = gpd.GeoDataFrame(my_df, geometry='geometry')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Convert #dataframe #geodataframe
ADD COMMENT
Topic
Name
6+8 =