onstove.VectorLayer.save#

VectorLayer.save(output_path: str, name: str = None)[source]#

Saves the current VectorLayer into disk.

It saves the layer in the output_path defined using the name attribute as filename and geojson as extension.

Parameters:
output_path: str

Output folder where to save the layer.

name: str, optional

Name of the file, if not defined then the name attribute is used.