-
Hi, I am wondering how ows file saves all the parameters. Is there any documentation about save as ows. Is there any different usage from these two files to save as .ows such as parameters, library or class. Thank you for responding. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No, there's no such documentation, there won't be any and I wouldn't recommend trying to use these files for anything. You can open the file (it's just an XML) and see for yourself what's in there. Every widget saves its internal data; some widgets store it as literals (we plan to migrate all widgets to that format eventually), while for others the data is base64 encoded pickle. You can |
Beta Was this translation helpful? Give feedback.
No, there's no such documentation, there won't be any and I wouldn't recommend trying to use these files for anything.
You can open the file (it's just an XML) and see for yourself what's in there. Every widget saves its internal data; some widgets store it as literals (we plan to migrate all widgets to that format eventually), while for others the data is base64 encoded pickle. You can
base64decode
such text and give it topickle.loads
. But as you'll see, it essentially includes widget's internal variables, so the format can change at any time.