fmeobjects.FMESpatialIndex.storeUsingIndexRects

FMESpatialIndex.storeUsingIndexRects(feature, indexRects)

This method stores a feature using the specified rectangles for the index rather than the extent of the feature itself.

Parameters:
  • feature (FMEFeature) – The feature to store in the spatial index.

  • indexRects (list[tuple[tuple[float]]]) – The list of rectangles used for the index. Each rectangle is represented by a tuple of tuple of floats in the form ((minx, miny), (maxx, maxy)).

Return type:

None

Raises:

FMEException – An FMEException is raised if there was an error.