oraclesai.SpatialDataFrame.write

abstract SpatialDataFrame.write(dataset, if_exists='fail', create_spatial_metadata=False, create_spatial_index=False)

Writes the current SpatialDataFrame data into the destination specified by the dataset argument.

Parameters:
  • dataset – An instance of oraclesai._data.SpatialDataset. It describes how the data will be stored.

  • if_exists – Defines what happens if the resulting dataset already exists. Possible values are: ‘fail’, ‘replace’.

  • create_spatial_metadata – True if spatial metadata needs to be created. Only used for Oracle database datasets.

  • create_spatial_index – True if a spatial index needs to be created. Only used for Oracle database datasets.