Class: QgsMapSettingsUtils

class qgis.core.QgsMapSettingsUtils

Bases: sip.wrapper

Utilities for map settings.

New in version 3.0: Enums

Methods

containsAdvancedEffects

Checks whether any of the layers attached to a map settings object contain advanced effects

worldFileContent

Creates the content of a world file.

worldFileParameters

Computes the six parameters of a world file.

Signals

Attributes

containsAdvancedEffects(mapSettings: QgsMapSettings) → List[str]

Checks whether any of the layers attached to a map settings object contain advanced effects

Parameters

mapSettings – map settings

worldFileContent(mapSettings: QgsMapSettings) → str

Creates the content of a world file.

Parameters

mapSettings – map settings

Note

Uses 17 places of precision for all numbers output

worldFileParameters(mapSettings: QgsMapSettings) → Tuple[float, float, float, float, float, float]

Computes the six parameters of a world file.

Parameters
  • mapSettings – map settings

  • b – the b parameter

  • c – the c parameter

  • d – the d parameter

  • e – the e parameter

  • f – the f parameter

New in version 3.10.