6.1.1.4.1.3. thyrsis.meshlayer.meshdataprovidermetadata module

class thyrsis.meshlayer.meshdataprovidermetadata.MeshDataProviderMetadata(key, description, library_or_create_func=None)

Bases : qgis.core.additions.providermetadata.PyProviderMetadata

base class for mesh data providers, please note that this class is called in a multithreaded context

decodeUri(self, uri: str)Dict[str, Any]

Breaks a provider data source URI into its component paths (e.g. file path, layer name).

Paramètres

uri – uri string

Renvoie

map containing components. Standard components may include:

  •  »path »: file path

  •  »layerName »

  •  »url »: base URL, for online services

  •  »referer »: referrer string, for HTTP requests

  •  »host »: hostname, for database services

  •  »bounds »: hardcoded layer bounds (as a QgsRectangle)

  •  »crs »: CRS definition

  •  »authcfg »: authentication configuration ID

Note

this function may not be supported by all providers, an empty map will be returned in such case

Nouveau dans la version 3.10.