[QGIS-Developer] Vector destination vs feature sink

Anita Graser anitagraser at gmx.at
Fri Oct 21 09:06:53 PDT 2022


Thank you Stefan,


I saw that note but was hoping some developer could shed light on what they mean by "more flexible" and "wherever possible". I guess otherwise it's just trial and error. 


Regards,
Anita


On Wednesday, 19. October 2022 07:44:05 (+02:00), Stefan Giese (WhereGroup) wrote:



Hi Anita,

they are very similar, but the API Documentation says to QgsProcessingParameterVectorDestination: "Note: Consider using the more flexible QgsProcessingParameterFeatureSink wherever possible." (https://api.qgis.org/api/3.22/classQgsProcessingParameterVectorDestination.html#details)

Best regards

Stefan


Am 18.10.2022 um 20:35 schrieb Anita Graser via QGIS-Developer:

Hi.

Does any one of you know the real difference between QgsProcessingParameterVectorDestination versus QgsProcessingParameterFeatureSink? They seem to be used interchangably in the resources I can find.

Thank you.

Anita


_______________________________________________
QGIS-Developer mailing list
QGIS-Developer at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
---------------------------------------------
Aufwind durch Wissen!
Jetzt neu: Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
---------------------------------------------
WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany

Tel.: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

stefan.giese at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885

-- 
--
Anita Graser
Home: http://anitagraser.com
Twitter: @underdarkgis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221021/5cee52a9/attachment.htm>


More information about the QGIS-Developer mailing list