Class: QgsVectorSimplifyMethod¶
This class contains information how to simplify geometries fetched from a vector layer
Enums
alias of   | 
|
alias of   | 
Methods
Gets where the simplification executes, after fetch the geometries from provider, or when supported, in provider before fetch the geometries  | 
|
Gets the maximum scale at which the layer should be simplified  | 
|
Sets where the simplification executes, after fetch the geometries from provider, or when supported, in provider before fetch the geometries  | 
|
Sets the maximum scale at which the layer should be simplified  | 
|
Sets the local simplification algorithm of the vector layer managed  | 
|
Sets the simplification hints of the vector layer managed  | 
|
Sets the simplification threshold of the vector layer managed  | 
|
Sets the tolerance of simplification in map units.  | 
|
Gets the local simplification algorithm of the vector layer managed  | 
|
Gets the simplification hints of the vector layer managed  | 
|
Gets the simplification threshold of the vector layer managed  | 
|
Gets the tolerance of simplification in map units.  | 
- class qgis.core.QgsVectorSimplifyMethod[source]¶
 Bases:
object- __init__()
 construct a default object
- __init__(a0: QgsVectorSimplifyMethod)
 - Parameters:
 
- SimplifyAlgorithm¶
 alias of
VectorSimplificationAlgorithm
- SimplifyHint¶
 alias of
VectorRenderingSimplificationFlag
- SimplifyHints¶
 alias of
VectorRenderingSimplificationFlags
- forceLocalOptimization(self) bool[source]¶
 Gets where the simplification executes, after fetch the geometries from provider, or when supported, in provider before fetch the geometries
- Return type:
 bool
- maximumScale(self) float[source]¶
 Gets the maximum scale at which the layer should be simplified
- Return type:
 float
- setForceLocalOptimization(self, localOptimization: bool)[source]¶
 Sets where the simplification executes, after fetch the geometries from provider, or when supported, in provider before fetch the geometries
- Parameters:
 localOptimization (bool)
- setMaximumScale(self, maximumScale: float)[source]¶
 Sets the maximum scale at which the layer should be simplified
- Parameters:
 maximumScale (float)
- setSimplifyAlgorithm(self, simplifyAlgorithm: Qgis.VectorSimplificationAlgorithm)[source]¶
 Sets the local simplification algorithm of the vector layer managed
- Parameters:
 simplifyAlgorithm (Qgis.VectorSimplificationAlgorithm)
- setSimplifyHints(self, simplifyHints: Qgis.VectorRenderingSimplificationFlags | Qgis.VectorRenderingSimplificationFlag)[source]¶
 Sets the simplification hints of the vector layer managed
- Parameters:
 simplifyHints (Union[Qgis.VectorRenderingSimplificationFlags, Qgis.VectorRenderingSimplificationFlag])
- setThreshold(self, threshold: float)[source]¶
 Sets the simplification threshold of the vector layer managed
- Parameters:
 threshold (float)
- setTolerance(self, tolerance: float)[source]¶
 Sets the tolerance of simplification in map units. Represents the maximum distance in map units between two coordinates which can be considered equal
- Parameters:
 tolerance (float)
- simplifyAlgorithm(self) Qgis.VectorSimplificationAlgorithm[source]¶
 Gets the local simplification algorithm of the vector layer managed
- Return type:
 
- simplifyHints(self) Qgis.VectorRenderingSimplificationFlags[source]¶
 Gets the simplification hints of the vector layer managed
- Return type: