adamsteer / forestmetrics

TERN forest structure metrics, in Python
Apache License 2.0
2 stars 1 forks source link

Spatial indexing is slow #3

Open adamsteer opened 4 years ago

adamsteer commented 4 years ago

Right now incoming point clouds are spatially indexed is done using Pandas builtin rTree, after creating a geometry for every point in the dataframe. This is kinda slow.

adamsteer commented 4 years ago

…or, alternately - is the index required at all, if we have geometries attached to points… is a plain old point-in-polygon search faster?