What is preferred method to save reference from geometry to original feature when working with shapely geometries in python?
Ie. After creating STRtree and getting some result from it, there is no direct way to access feature f from which this geometry was created.
from shapely.geometry import shape
from shapely.strtree import STRtree
...
tree = STRtree([shape(f['geometry']) for f in features])
I guess there is something short easy and cheap as this is often used but can't find it or guess what it is? Dict comes first to mind but geometries are unhashable so?