create_layer
io.GeomSource.create_layer(srs, geom_type)
Create a new vector layer.
Only in write ('w'
) mode.
Parameters
Name | Type | Description | Default |
---|---|---|---|
srs |
osr .SpatialReference |
Spatial Reference System. | required |
geom_type |
int | Type of geometry. E.g. ‘POINT’ or ‘POLYGON’. It is supplied as an integer that complies with a specific geometry type according to GDAL. | required |