rlt_migration.reader.input_svc_couche module#

rlt_migration.reader.input_svc_couche.read_dataset_date(db_config: DatabaseConfig, dataset_identifier: str) date | None#

Read dataset date from svc couches database

Paramètres:
  • db_config (DatabaseConfig) – svc couche database configuration

  • dataset_identifier (str) – dataset identifier

Renvoie:

dataset date if no error with request, None otherwise

Type renvoyé:

date | None

rlt_migration.reader.input_svc_couche.read_dataset_geom_wkt(db_config: DatabaseConfig, dataset_identifier: str) str | None#

Read dataset geom as wkt from svc couches database

Paramètres:
  • db_config (DatabaseConfig) – svc couche database configuration

  • dataset_identifier (str) – dataset identifier

Renvoie:

dataset wkt geom if no error with request, None otherwise

Type renvoyé:

str | None

rlt_migration.reader.input_svc_couche.read_dataset_title(db_config: DatabaseConfig, dataset_identifier: str) str | None#

Read dataset title from svc couches database

Paramètres:
  • db_config (DatabaseConfig) – svc couche database configuration

  • dataset_identifier (str) – dataset identifier

Renvoie:

dataset title if no error with request, None otherwise

Type renvoyé:

str | None