ctypes calls to the libspatialindex library for creating and querying a tpr tree index in python.