def METHOD_NAME(self):
    from tests.properties.linestring_properties import input_location, splitter, num_partitions
    linestring_rdd = LineStringRDD(
        self.sc,
        input_location,
        splitter,
        True,
        num_partitions
    )
    linestring_rdd.buildIndex(IndexType.RTREE, False)
    linestring_rdd.indexedRawRDD.saveAsObjectFile(os.path.join(disc_location, "line_string_index"))