3 ms·
Geopandas has had spatial indexing available for quite a long time... https://geopandas.org/en/stable/docs/reference/sindex.html https://geopandas.org/en/stabl
by qfwfq_ 3y ago
Geopandas has had spatial indexing available for quite a long time...
https://geopandas.org/en/stable/docs/reference/sindex.html https://geopandas.org/en/stable/docs/reference/sindex.html
I think that the challenge for most is that the PostGIS query planner does the indexing for you in most queries, while a naive all-pairs comparison in geopandas/shapely won't tell you to use the .sindex attribute instead.