You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using the function links_on_spatial_condition with a geojson input and it was failing due to a memory error (see below). The geojson contained a polygon which covered multiple cities. I was able to work around it by using gpd.sjoin(network_gdf,urban_gdf,how='inner', op='intersects'). It might be worth changing the function links_on_spatial_condition to use gpd.sjoin instead of gdf.intersects.
Thanks.
Error:
'Segmentation fault (core dumped)'
The text was updated successfully, but these errors were encountered:
Hey,
I was using the function
links_on_spatial_condition
with a geojson input and it was failing due to a memory error (see below). The geojson contained a polygon which covered multiple cities. I was able to work around it by usinggpd.sjoin(network_gdf,urban_gdf,how='inner', op='intersects')
. It might be worth changing the functionlinks_on_spatial_condition
to usegpd.sjoin
instead ofgdf.intersects
.Thanks.
Error:
'Segmentation fault (core dumped)'
The text was updated successfully, but these errors were encountered: