open_geom
fio.open_geom(file, mode='r', overwrite=False, srs=None)Open a geometry source file.
This source file is lazily read.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| file | str | Path to the file. | required |
| mode | str | Open in read or write mode. |
'r' |
| overwrite | bool | Whether or not to overwrite an existing dataset. | False |
| srs | str | A Spatial reference system string in case the dataset has none. | None |
Returns
| Name | Type | Description |
|---|---|---|
GeomSource |
Object that holds a connection to the source file. |