Session.load_session#
- Session.load_session(filepath, persist=True)[source]#
Restore session state from a session file.
Handles both
.pickleand indexed.mosaicformats.- Parameters:
- filepathstr
Path to the session file.
- persistbool, optional
When
True(default), replace the current session state. WhenFalse, geometries are only available via@last.