docs: def getStreamNetworkAsWkt(self, session, withNodes=True):
          """
          Retrieve the stream network geometry in Well Known Text format.
  
          Args:
              session (:mod:`sqlalchemy.orm.session.Session`): SQLAlchemy session object bound to PostGIS enabled database
              withNodes (bool, optional): Include nodes. Defaults to False.
  
          Returns:
              str: Well Known Text string.
          """
          wkt_list = []
  
          for link in self.streamLinks:
              wkt_link = link.getAsWkt(session)
  
              if wkt_link:
                  wkt_list.append(wkt_link)
  
              if withNodes:
                  for node in link.nodes:
                      wkt_node = node.getAsWkt(session)
  
                      if wkt_node:
                          wkt_list.append(wkt_node)
  
          return 'GEOMCOLLECTION ({0})'.format(', '.join(wkt_list))