girs.feat.layers.LayersEditor.create_layer

LayersEditor.create_layer(name, prj, geom, field_definitions=())

Create a new layer

Parameters:
  • name – (str) name of the layer
  • prj
  • geom
  • field_definitions
Returns: