docs: def context(src):
      """
      Used to add the source_id to the error message. To be used as
  
      with context(src):
          operation_with(src)
  
      Typically the operation is filtering a source, that can fail for
      tricky geometries.
      """
      try:
          yield
      except Exception:
          etype, err, tb = sys.exc_info()
          msg = 'An error occurred with source id=%s. Error: %s'
          msg %= (src.source_id, err)
          raise_(etype, msg, tb)