docs: def geo_line(self, edge):
          """
          Utility function to convert a node of kind edge
          into a :class:`openquake.hazardlib.geo.Line` instance.
  
          :param edge: a node describing an edge
          """
          with context(self.fname, edge.LineString.posList) as plist:
              coords = split_coords_2d(~plist)
          return geo.Line([geo.Point(*p) for p in coords])