oraclesai.DBSpatialDataset

class DBSpatialDataset(table: str, schema: str = None, cursor: Cursor = None, spatial_column: str = None, **kwargs)

A reference to a database table with a geometry layer.

Parameters:
  • table – name of a table with a spatial layer in the database.

  • schema – name of the schema where table is defined.

  • cursor – an oracledb.Cursor to connect to the database. If running on OML Notebooks and it is not passed, the cursor is taken from oml.cursor()

  • spatial_column – Name of the column of type SDO_GEOMETRY.

Methods

__init__(table[, schema, cursor, spatial_column])