docs: def convert2wkt(self, set3D=True):
          """
          export the geometry of each feature as a wkt string
  
          Parameters
          ----------
          set3D: bool
              keep the third (height) dimension?
  
          Returns
          -------
  
          """
          features = self.getfeatures()
          for feature in features:
              try:
                  feature.geometry().Set3D(set3D)
              except AttributeError:
                  dim = 3 if set3D else 2
                  feature.geometry().SetCoordinateDimension(dim)
          
          return [feature.geometry().ExportToWkt() for feature in features]