Timeline for How to select features from one layer and save them to a memory layer?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 5, 2016 at 13:10 | comment | added | Flaviu Meseșan | Yes, you are right. Now I can understand the difference between the two concepts. | |
Oct 5, 2016 at 9:10 | comment | added | Joseph | @artwork21 - My understanding is that a temporary layer is that which is saved to disk temporarily until it is deleted either by restarting the computer or any other means; a memory layer is that which is stored in the memory used by QGIS and is deleted when QGIS is closed. I guess both layers are temporary but I'll edit the title to reflect that a memory layer was needed =) | |
Oct 4, 2016 at 13:30 | comment | added | Flaviu Meseșan | Yes, the result of processing.runalg('qgis:saveselectedfeatures', inputTrees, None) was a python dictionary containing the name of the output layer and the path to that layer. That file can be imported as a temporary layer. | |
Oct 4, 2016 at 12:37 | comment | added | artwork21 | Using None argument for qgis:saveselectedfeatures saves the layer to disk, e.g. C:\\Users\\userName\\AppData\\Local\\Temp\\processing68ace1dd77264cf48d1f95eb837b93d1\\86ee4684d3784c7eb27506235b395999\\OUTPUTLAYER.shp, I'm not sure this is a temporary layer. | |
Oct 4, 2016 at 9:31 | history | answered | Joseph | CC BY-SA 3.0 |