Select to view content in your preferred language

Spatial join with two spatial dataframes will not complete

141
0
01-29-2025 07:55 AM
Chris3030
Emerging Contributor

Hello! 

I am trying to join two spatial dataframes in the following line of code:

polygon_locs = main_locations_sdf.spatial.join(special_polygon_sdf, how='left')

 

I use the same method multiple other times in my notebook and those all work fine/quickly enough. When it hits this line, it takes forever for some reason and never completes the spatial join. ArcPro eventually stops responding and I have to quit the application. The polygon layer really is not huge but I thought maybe simplifying the geometry pre-spatial join would help. Unfortunately it did not and the issue persists. Any help here is great! Thanks!! Happy to provide additional details. 

0 Kudos
0 Replies