Close the dataset. The memory associated to the dataset will be freed.
Datasets must be closed when you're finished with them, or the memory consumption will grow forever.
Parameters:
Name | Type | Description |
---|---|---|
dataset |
TypeDefs.Dataset
|
Dataset to be closed. |
Returns:
- Type:
-
Promise.<void>
Example
Gdal.close(dataset);