KDTree currently support searching in a bounding box. The same implementation should be extended to support polygon shape query.