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.

Methods

href

Returns the actual link in the format of an URL.

mediaType

Returns the Media type of the referenced entity

relation

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

title

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

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 Sep 07, 2025.

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