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