Skip to main content
added 3 characters in body
Source Link
Bera
  • 77.8k
  • 14
  • 78
  • 187

Spatial join should work. You must have been using 'inner' join type?

‘inner’: use intersection of keys from both dfs; retain only left_df geometry column

how='left' should give you the results you want:

df = gpd.sjoin(foodf, baadf, how='left')

how='left' should give you the results you want. I just tried it on two df with ~200k Points in each and it finishes in 30 seconds:

enter image description here

Spatial join should work. You must have been using 'inner' join type?

‘inner’: use intersection of keys from both dfs; retain only left_df geometry column

df = gpd.sjoin(foodf, baadf, how='left')

how='left' should give you the results you want. I just tried it on two df with ~200k Points in each and it finishes in 30 seconds:

enter image description here

Spatial join should work. You must have been using 'inner' join type?

‘inner’: use intersection of keys from both dfs; retain only left_df geometry column

how='left' should give you the results you want:

df = gpd.sjoin(foodf, baadf, how='left')

I just tried it on two df with ~200k Points in each and it finishes in 30 seconds:

enter image description here

added 94 characters in body
Source Link
Bera
  • 77.8k
  • 14
  • 78
  • 187

Spatial joinSpatial join should work. You must have been using 'inner' join type?

‘inner’: use intersection of keys from both dfs; retain only left_df geometry column

df = gpd.sjoin(foodf, baadf, how='left')

Shouldhow='left' should give you the results you want. I just tried it on two df with ~200k Points in each and it finishes in 30 seconds.:

enter image description here

Spatial join should work. You must have been using 'inner' join type?

‘inner’: use intersection of keys from both dfs; retain only left_df geometry column

df = gpd.sjoin(foodf, baadf, how='left')

Should give you the results you want. I just tried it on two df with ~200k Points in each and it finishes in seconds.

Spatial join should work. You must have been using 'inner' join type?

‘inner’: use intersection of keys from both dfs; retain only left_df geometry column

df = gpd.sjoin(foodf, baadf, how='left')

how='left' should give you the results you want. I just tried it on two df with ~200k Points in each and it finishes in 30 seconds:

enter image description here

Source Link
Bera
  • 77.8k
  • 14
  • 78
  • 187

Spatial join should work. You must have been using 'inner' join type?

‘inner’: use intersection of keys from both dfs; retain only left_df geometry column

df = gpd.sjoin(foodf, baadf, how='left')

Should give you the results you want. I just tried it on two df with ~200k Points in each and it finishes in seconds.