Class: QgsBabelSimpleImportFormat¶
A babel format capable of converting input files to GPX files.
Added in version 3.22.
Class Hierarchy¶
Base classes¶
Abstract base class for babel GPS formats. |
Methods
Returns the friendly description for the format. |
|
Returns the list of known extensions for the format, e.g. "csv", "txt". |
- class qgis.core.QgsBabelSimpleImportFormat[source]¶
Bases:
QgsAbstractBabelFormat
- __init__(format: str | None, description: str | None, capabilities: Qgis.BabelFormatCapabilities | Qgis.BabelFormatCapability, extensions: Iterable[str | None] = [])
Constructor for QgsBabelSimpleImportFormat.
The
format
argument specifies the babel identifier for the input format.The
description
argument specified a descriptive name for the format.The
capabilities
argument must reflect whether the format is capable of handling waypoints, routes and/or tracks.The optional
extensions
argument can be used to populate a list of known file extensions for the format (e.g. “csv”, “txt”).- Parameters:
format (Optional[str])
description (Optional[str])
capabilities (Union[Qgis.BabelFormatCapabilities, Qgis.BabelFormatCapability])
extensions (Iterable[Optional[str]] = [])
- __init__(a0: QgsBabelSimpleImportFormat)
- Parameters: