QGIS Python API Logo

Contents:

  • core
  • gui
  • analysis
  • server
  • processing
  • _3d
  • Frequently Asked Questions
QGIS Python API
  • core
  • Class: QgsStacLink

Class: QgsStacLink¶

Class for storing data associated with a STAC link.

Added in version 3.40.

class qgis.core.QgsStacLink[source]¶

Bases: object

__init__(href: str | None, relation: str | None, mediaType: str | None, title: str | None)

Constructor

Parameters:
  • href (Optional[str]) – The actual link in the format of an URL.

  • relation (Optional[str]) – Relationship between the parent document and the linked document.

  • mediaType (Optional[str]) – Media type of the referenced entity

  • title (Optional[str]) – A human readable title to be used in rendered displays of the link.

__init__(a0: QgsStacLink)
Parameters:

a0 (QgsStacLink)

href(self) → str[source]¶

Returns the actual link in the format of an URL.

Return type:

str

mediaType(self) → str[source]¶

Returns the Media type of the referenced entity

Return type:

str

relation(self) → str[source]¶

Returns the relationship between the parent document and the linked document.

Return type:

str

title(self) → str[source]¶

Returns a human readable title to be used in rendered displays of the link.

Return type:

str


Last updated on 00:19 Jan 18, 2026.

QGIS Python API v: master
Versions
master
3.44
3.40
On QGIS Project
Project Home
Report Issue
Source Code