def METHOD_NAME(self):
    if self._sc is not None:
        spatial_factory = SpatialRDDFactory(self._sc)
    else:
        raise TypeError("Please initialize spark Session first")
    return spatial_factory.create_linestring_rdd()