Class: compareWkt¶
-
class
qgis.core.
compareWkt
(a: str, b: str, tolerance: float = 1e-06) → bool¶ Compare two WKT strings with some tolerance
- Parameters
a (str) – first WKT string
b (str) – second WKT string
tolerance (float = 1e-06) – tolerance to use (optional, defaults to 0.000001)
- Return type
bool
- Returns
bool indicating if the WKT are sufficiently equal