Timeline for Zip output of QGIS Processing Algorithm
Current License: CC BY-SA 4.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Sep 19, 2022 at 17:44 | history | suggested | DannaC17 |
Adding key tag: QGIS.
|
|
Sep 19, 2022 at 16:56 | review | Suggested edits | |||
S Sep 19, 2022 at 17:44 | |||||
Sep 19, 2022 at 13:17 | answer | added | Caligraphy | timeline score: 1 | |
S Mar 18, 2022 at 16:02 | history | bounty ended | CommunityBot | ||
S Mar 18, 2022 at 16:02 | history | notice removed | CommunityBot | ||
Mar 16, 2022 at 21:00 | history | tweeted | twitter.com/StackGIS/status/1504200843997892609 | ||
Mar 11, 2022 at 9:42 | comment | added | Caligraphy | @Kadir Şahbaz trinket.io/python/c13efba0d6 | |
Mar 10, 2022 at 14:57 | comment | added | Kadir Şahbaz | Can you provide a minimal working example producing the issue? | |
Mar 10, 2022 at 14:35 | comment | added | Bera |
Maybe you can save them to disk (if that is needed, I dont know), zip, delete them using for example os.remove
|
|
Mar 10, 2022 at 14:26 | comment | added | Caligraphy | @BERA : QGIS already provide a save files algorithm but then I may require the post processing for ziping the saved files | |
Mar 10, 2022 at 14:16 | history | edited | Caligraphy | CC BY-SA 4.0 |
added 65 characters in body
|
S Mar 10, 2022 at 14:12 | history | bounty started | Caligraphy | ||
S Mar 10, 2022 at 14:12 | history | notice added | Caligraphy | Draw attention | |
Mar 10, 2022 at 14:03 | comment | added | Caligraphy | I have tried to re-use one of the output in processAlgorithm : self.final_layer['Layer_out'] = QgsProcessingUtils.mapLayerFromString(results['Layer_out'], context) with this variable on top : final_layer = {} then tried to pass to ppa : def postProcessAlgorithm(self, context, feedback): lyr = QgsProcessingUtils.mapLayerFromString(final_layer, context) but it still does an error "File "<string>", line 266, in postProcessAlgorithm NameError: name 'final_layer' is not defined" | |
Mar 4, 2022 at 10:41 | history | edited | Matt | CC BY-SA 4.0 |
added 247 characters in body; edited title
|
Mar 4, 2022 at 8:24 | history | edited | PolyGeo♦ |
edited tags
|
|
Mar 3, 2022 at 18:01 | comment | added | Bera | You probably need to save the layers to file(s) then zip the file(s). See gis.stackexchange.com/questions/354517/… | |
Mar 3, 2022 at 14:35 | comment | added | Caligraphy | I am facing a type error : " TypeError: QgsProcessingUtils.mapLayerFromString(): argument 1 has unexpected type 'QgsVectorLayer' " or "unexpected type 'dict' " with multiples outputs If anyone can better understand how this method works, here is the documentation qgis.org/pyqgis/3.22/core/… | |
Mar 3, 2022 at 12:27 | review | Close votes | |||
Mar 4, 2022 at 10:43 | |||||
Mar 3, 2022 at 11:59 | history | asked | Caligraphy | CC BY-SA 4.0 |