Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

links_on_spatial_condition failing for large spatial area #117

Open
Arupwkeu opened this issue May 20, 2022 · 0 comments · May be fixed by #126
Open

links_on_spatial_condition failing for large spatial area #117

Arupwkeu opened this issue May 20, 2022 · 0 comments · May be fixed by #126
Assignees
Labels
enhancement New feature or request

Comments

@Arupwkeu
Copy link
Contributor

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 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)'

@KasiaKoz KasiaKoz added the enhancement New feature or request label Jun 17, 2022
@ana-kop ana-kop self-assigned this Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants