Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Crash Analysis.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This comment has been minimized.

Copy link

@karthikkbalagi karthikkbalagi commented Apr 15, 2020


url = ''
geojson = requests.get(url).json()
In [0]:

Read the data as GeodataFrame in Geopandas

crs = {'init': 'epsg:3851'} # Coordinate reference system (CRS) for Newzealand
gdf = gpd.GeoDataFrame.from_features(geojson['features'], crs=crs)

if i enter the above code
error message is thrown
KeyError: 'features'

help me execute this code

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