Skip to content

Instantly share code, notes, and snippets.

@maxim75
Created February 15, 2022 21:30
Show Gist options
  • Save maxim75/909ff294d2ffd4cebdb7e97ad35d192e to your computer and use it in GitHub Desktop.
Save maxim75/909ff294d2ffd4cebdb7e97ad35d192e to your computer and use it in GitHub Desktop.
import pandas as pd
import geopandas as gpd
df = pd.DataFrame(coordinates_data)
gdf = gpd.GeoDataFrame(df, geometry=gpd.points_from_xy(df.longitude, df.latitude, crs="EPSG:4326"))
gdf
@Bi4xe
Copy link

Bi4xe commented Mar 19, 2023

https://prnt.sc/RCFg1lor8HlB I'm getting such an error sir, why might it be caused?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment