PyQGIS: Keeping my own additional layer information for potential further usage

المشرف العام

Administrator
طاقم الإدارة
Dear Python / QGIS experts,

I wrote a plugin that selectively loads simulation data to QGIS. That works fin, but the overhead to convert the data from my own format to QGIS takes a long time, as I have to generate an index and hash-tags etc. After finishing my script, the index is lost.

Later, if I want to work with one of my layers, I don't want to do this work again. It would be nice if I could somehow attach the index and hash-tag list to my QGIS layer, to access it with other scripts later. Currently I have to save it on the disc.

Does anybody know where I could smuggle this data in my layers?

Kind regards, UHM



أكثر...
 
أعلى