QGIS API Documentation 3.43.0-Master (56aa1fd18d7)
qgsnativealgorithms.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsnativealgorithms.cpp
3 ---------------------
4 begin : April 2017
5 copyright : (C) 2017 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#include "qgsnativealgorithms.h"
19#include "moc_qgsnativealgorithms.cpp"
20#include "qgsruntimeprofiler.h"
32#include "qgsalgorithmaspect.h"
40#include "qgsalgorithmbuffer.h"
77#include "qgsalgorithmclimb.h"
78#include "qgsalgorithmclip.h"
100#include "qgsalgorithmdrape.h"
110#include "qgsalgorithmexplode.h"
132#include "qgsalgorithmfilter.h"
137#include "qgsalgorithmforcerhr.h"
142#if QT_CONFIG( process )
144#endif
145#include "qgsalgorithmgrid.h"
180#include "qgsalgorithmpackage.h"
225#include "qgsalgorithmrotate.h"
230#include "qgsalgorithmsavelog.h"
244#include "qgsalgorithmsimplify.h"
246#include "qgsalgorithmslope.h"
247#include "qgsalgorithmsmooth.h"
260#include "qgsalgorithmswapxy.h"
264#include "qgsalgorithmtransect.h"
268#include "qgsalgorithmunion.h"
277#include "qgsalgorithmxyztiles.h"
287#include "qgsstylealgorithms.h"
288
290
292 : QgsProcessingProvider( parent )
293{}
294
295QIcon QgsNativeAlgorithms::icon() const
296{
297 return QgsApplication::getThemeIcon( QStringLiteral( "/providerQgis.svg" ) );
298}
299
301{
302 return QgsApplication::iconPath( QStringLiteral( "providerQgis.svg" ) );
303}
304
305QString QgsNativeAlgorithms::id() const
306{
307 return QStringLiteral( "native" );
308}
309
310QString QgsNativeAlgorithms::helpId() const
311{
312 return QStringLiteral( "qgis" );
313}
314
315QString QgsNativeAlgorithms::name() const
316{
317 return tr( "QGIS (native c++)" );
318}
319
321{
322 return true;
323}
324
326{
328}
329
331{
332 const QgsScopedRuntimeProfile profile( QObject::tr( "QGIS native provider" ) );
333 addAlgorithm( new QgsAddHistoryMetadataAlgorithm() );
334 addAlgorithm( new QgsAddIncrementalFieldAlgorithm() );
335 addAlgorithm( new QgsAddTableFieldAlgorithm() );
336 addAlgorithm( new QgsAddXYFieldsAlgorithm() );
337 addAlgorithm( new QgsAddUniqueValueIndexAlgorithm() );
338 addAlgorithm( new QgsAffineTransformationAlgorithm() );
339 addAlgorithm( new QgsAggregateAlgorithm() );
340 addAlgorithm( new QgsAlignRastersAlgorithm() );
341 addAlgorithm( new QgsAlignSingleRasterAlgorithm() );
342 addAlgorithm( new QgsAngleToNearestAlgorithm() );
343 addAlgorithm( new QgsApplyLayerMetadataAlgorithm() );
344 addAlgorithm( new QgsApplyLayerStyleAlgorithm() );
345 addAlgorithm( new QgsArrayTranslatedFeaturesAlgorithm() );
346 addAlgorithm( new QgsAspectAlgorithm() );
347 addAlgorithm( new QgsAssignProjectionAlgorithm() );
348 addAlgorithm( new QgsAttributeIndexAlgorithm() );
349 addAlgorithm( new QgsB3DMToGltfAlgorithm() );
350 addAlgorithm( new QgsBasicStatisticsAlgorithm() );
351 addAlgorithm( new QgsBatchNominatimGeocodeAlgorithm() );
352 addAlgorithm( new QgsBookmarksToLayerAlgorithm() );
353 addAlgorithm( new QgsBoundaryAlgorithm() );
354 addAlgorithm( new QgsBoundingBoxAlgorithm() );
355 addAlgorithm( new QgsBufferAlgorithm() );
356 addAlgorithm( new QgsCalculateExpressionAlgorithm() );
357 addAlgorithm( new QgsCalculateVectorOverlapsAlgorithm() );
358 addAlgorithm( new QgsCategorizeUsingStyleAlgorithm() );
359 addAlgorithm( new QgsCellStatisticsAlgorithm() );
360 addAlgorithm( new QgsCellStatisticsPercentileAlgorithm() );
361 addAlgorithm( new QgsCellStatisticsPercentRankFromRasterAlgorithm() );
362 addAlgorithm( new QgsCellStatisticsPercentRankFromValueAlgorithm() );
363 addAlgorithm( new QgsCentroidAlgorithm() );
364 addAlgorithm( new QgsCheckValidityAlgorithm() );
365 addAlgorithm( new QgsGeometryCheckSegmentLengthAlgorithm() );
366 addAlgorithm( new QgsGeometryCheckAngleAlgorithm() );
367 addAlgorithm( new QgsGeometryCheckAreaAlgorithm() );
368 addAlgorithm( new QgsGeometryCheckHoleAlgorithm() );
369 addAlgorithm( new QgsGeometryCheckMissingVertexAlgorithm() );
370 addAlgorithm( new QgsGeometryCheckLineIntersectionAlgorithm() );
371 addAlgorithm( new QgsGeometryCheckLineLayerIntersectionAlgorithm() );
372 addAlgorithm( new QgsGeometryCheckPointCoveredByLineAlgorithm() );
373 addAlgorithm( new QgsGeometryCheckPointInPolygonAlgorithm() );
374 addAlgorithm( new QgsGeometryCheckGapAlgorithm() );
375 addAlgorithm( new QgsGeometryCheckSliverPolygonAlgorithm() );
376 addAlgorithm( new QgsGeometryCheckSelfContactAlgorithm() );
377 addAlgorithm( new QgsGeometryCheckOverlapAlgorithm() );
378 addAlgorithm( new QgsGeometryCheckFollowBoundariesAlgorithm() );
379 addAlgorithm( new QgsGeometryCheckDuplicateNodesAlgorithm() );
380 addAlgorithm( new QgsGeometryCheckDangleAlgorithm() );
381 addAlgorithm( new QgsGeometryCheckDuplicateAlgorithm() );
382 addAlgorithm( new QgsGeometryCheckSelfIntersectionAlgorithm() );
383 addAlgorithm( new QgsGeometryCheckMultipartAlgorithm() );
384 addAlgorithm( new QgsGeometryCheckDegeneratePolygonAlgorithm() );
385 addAlgorithm( new QgsGeometryCheckContainedAlgorithm() );
386 addAlgorithm( new QgsClimbAlgorithm() );
387 addAlgorithm( new QgsClipAlgorithm() );
388 addAlgorithm( new QgsCollectAlgorithm() );
389 addAlgorithm( new QgsCombineStylesAlgorithm() );
390 addAlgorithm( new QgsConcaveHullAlgorithm() );
391 addAlgorithm( new QgsConditionalBranchAlgorithm() );
392 addAlgorithm( new QgsConstantRasterAlgorithm() );
393 addAlgorithm( new QgsConvertToCurvesAlgorithm() );
394 addAlgorithm( new QgsConvertGeometryTypeAlgorithm() );
395 addAlgorithm( new QgsConvexHullAlgorithm() );
396 addAlgorithm( new QgsCopyLayerMetadataAlgorithm() );
397 addAlgorithm( new QgsCoverageSimplifyAlgorithm() );
398 addAlgorithm( new QgsCoverageUnionAlgorithm() );
399 addAlgorithm( new QgsCoverageValidateAlgorithm() );
400 addAlgorithm( new QgsCreateDirectoryAlgorithm() );
401 addAlgorithm( new QgsDbscanClusteringAlgorithm() );
402 addAlgorithm( new QgsDefineProjectionAlgorithm() );
403 addAlgorithm( new QgsDelaunayTriangulationAlgorithm() );
404 addAlgorithm( new QgsDeleteDuplicateGeometriesAlgorithm() );
405 addAlgorithm( new QgsDetectVectorChangesAlgorithm() );
406 addAlgorithm( new QgsDifferenceAlgorithm() );
407 addAlgorithm( new QgsDissolveAlgorithm() );
408 addAlgorithm( new QgsDownloadVectorTilesAlgorithm() );
409 addAlgorithm( new QgsDrapeToMAlgorithm() );
410 addAlgorithm( new QgsDrapeToZAlgorithm() );
411 addAlgorithm( new QgsDropTableFieldsAlgorithm() );
412 addAlgorithm( new QgsDropGeometryAlgorithm() );
413 addAlgorithm( new QgsDropMZValuesAlgorithm() );
414 addAlgorithm( new QgsDxfExportAlgorithm() );
415 addAlgorithm( new QgsExecutePostgisQueryAlgorithm() );
416 addAlgorithm( new QgsExecuteRegisteredSpatialiteQueryAlgorithm() );
417 addAlgorithm( new QgsExecuteSpatialiteQueryAlgorithm() );
418 addAlgorithm( new QgsExplodeAlgorithm() );
419 addAlgorithm( new QgsExplodeHstoreAlgorithm() );
420 addAlgorithm( new QgsExportGeometryAttributesAlgorithm() );
421 addAlgorithm( new QgsExportLayersInformationAlgorithm() );
422 addAlgorithm( new QgsExportLayerMetadataAlgorithm() );
423 addAlgorithm( new QgsExportMeshVerticesAlgorithm );
424 addAlgorithm( new QgsExportMeshFacesAlgorithm );
425 addAlgorithm( new QgsExportMeshEdgesAlgorithm );
426 addAlgorithm( new QgsExportMeshOnGridAlgorithm );
427 addAlgorithm( new QgsExportToPostgresqlAlgorithm );
428 addAlgorithm( new QgsExportToSpreadsheetAlgorithm() );
429 addAlgorithm( new QgsExtendLinesAlgorithm() );
430 addAlgorithm( new QgsExtentFromLayerAlgorithm() );
431 addAlgorithm( new QgsExtentToLayerAlgorithm() );
432 addAlgorithm( new QgsExtractBinaryFieldAlgorithm() );
433 addAlgorithm( new QgsExtractByAttributeAlgorithm() );
434 addAlgorithm( new QgsExtractByExpressionAlgorithm() );
435 addAlgorithm( new QgsExtractByExtentAlgorithm() );
436 addAlgorithm( new QgsExtractByLocationAlgorithm() );
437 addAlgorithm( new QgsExtractLabelsAlgorithm() );
438 addAlgorithm( new QgsExtractMValuesAlgorithm() );
439 addAlgorithm( new QgsExtractVerticesAlgorithm() );
440 addAlgorithm( new QgsExtractSpecificVerticesAlgorithm() );
441 addAlgorithm( new QgsExtractWithinDistanceAlgorithm() );
442 addAlgorithm( new QgsExtractZValuesAlgorithm() );
443 addAlgorithm( new QgsFieldCalculatorAlgorithm() );
444 addAlgorithm( new QgsFileDownloaderAlgorithm() );
445 addAlgorithm( new QgsFillNoDataAlgorithm() );
446 addAlgorithm( new QgsFillSinksWangLiuAlgorithm() );
447 addAlgorithm( new QgsFilterAlgorithm() );
448 addAlgorithm( new QgsFilterByGeometryAlgorithm() );
449 addAlgorithm( new QgsFilterByLayerTypeAlgorithm() );
450 addAlgorithm( new QgsFilterVerticesByM() );
451 addAlgorithm( new QgsFilterVerticesByZ() );
452 addAlgorithm( new QgsFixGeometriesAlgorithm() );
453 addAlgorithm( new QgsFlattenRelationshipsAlgorithm() );
454 addAlgorithm( new QgsForceRHRAlgorithm() );
455 addAlgorithm( new QgsFuzzifyRasterLinearMembershipAlgorithm() );
456 addAlgorithm( new QgsFuzzifyRasterPowerMembershipAlgorithm() );
457 addAlgorithm( new QgsFuzzifyRasterLargeMembershipAlgorithm() );
458 addAlgorithm( new QgsFuzzifyRasterSmallMembershipAlgorithm() );
459 addAlgorithm( new QgsFuzzifyRasterGaussianMembershipAlgorithm() );
460 addAlgorithm( new QgsFuzzifyRasterNearMembershipAlgorithm() );
461 addAlgorithm( new QgsGenerateElevationProfileAlgorithm() );
462 addAlgorithm( new QgsGeometryByExpressionAlgorithm() );
463 addAlgorithm( new QgsGltfToVectorFeaturesAlgorithm() );
464#if QT_CONFIG( process )
465 addAlgorithm( new QgsConvertGpxFeatureTypeAlgorithm() );
466 addAlgorithm( new QgsConvertGpsDataAlgorithm() );
467 addAlgorithm( new QgsDownloadGpsDataAlgorithm() );
468 addAlgorithm( new QgsUploadGpsDataAlgorithm() );
469#endif
470 addAlgorithm( new QgsGridAlgorithm() );
471 addAlgorithm( new QgsHillshadeAlgorithm() );
472 addAlgorithm( new QgsImportPhotosAlgorithm() );
473 addAlgorithm( new QgsInterpolatePointAlgorithm() );
474 addAlgorithm( new QgsIntersectionAlgorithm() );
475 addAlgorithm( new QgsJoinByAttributeAlgorithm() );
476 addAlgorithm( new QgsJoinByLocationAlgorithm() );
477 addAlgorithm( new QgsJoinByLocationSummaryAlgorithm() );
478 addAlgorithm( new QgsJoinByNearestAlgorithm() );
479 addAlgorithm( new QgsJoinWithLinesAlgorithm() );
480 addAlgorithm( new QgsKeepNBiggestPartsAlgorithm() );
481 addAlgorithm( new QgsKMeansClusteringAlgorithm() );
482 addAlgorithm( new QgsLayerToBookmarksAlgorithm() );
483 addAlgorithm( new QgsLayoutMapExtentToLayerAlgorithm() );
484 addAlgorithm( new QgsLayoutAtlasToImageAlgorithm() );
485 addAlgorithm( new QgsLayoutAtlasToPdfAlgorithm() );
486 addAlgorithm( new QgsLayoutAtlasToMultiplePdfAlgorithm() );
487 addAlgorithm( new QgsLayoutToImageAlgorithm() );
488 addAlgorithm( new QgsLayoutToPdfAlgorithm() );
489 addAlgorithm( new QgsLineDensityAlgorithm() );
490 addAlgorithm( new QgsLineIntersectionAlgorithm() );
491 addAlgorithm( new QgsLineSubstringAlgorithm() );
492 addAlgorithm( new QgsLoadLayerAlgorithm() );
493 addAlgorithm( new QgsMeanCoordinatesAlgorithm() );
494 addAlgorithm( new QgsMergeLinesAlgorithm() );
495 addAlgorithm( new QgsMergeVectorAlgorithm() );
496 addAlgorithm( new QgsMeshRasterizeAlgorithm );
497 addAlgorithm( new QgsMeshContoursAlgorithm );
498 addAlgorithm( new QgsMeshExportCrossSection );
499 addAlgorithm( new QgsMeshExportTimeSeries );
500 addAlgorithm( new QgsMeshSurfaceToPolygonAlgorithm() );
501 addAlgorithm( new QgsMinimumEnclosingCircleAlgorithm() );
502 addAlgorithm( new QgsMultiDifferenceAlgorithm() );
503 addAlgorithm( new QgsMultiIntersectionAlgorithm() );
504 addAlgorithm( new QgsMultipartToSinglepartAlgorithm() );
505 addAlgorithm( new QgsMultiRingConstantBufferAlgorithm() );
506 addAlgorithm( new QgsMultiUnionAlgorithm() );
507 addAlgorithm( new QgsNearestNeighbourAnalysisAlgorithm() );
508 addAlgorithm( new QgsOffsetLinesAlgorithm() );
509 addAlgorithm( new QgsOrderByExpressionAlgorithm() );
510 addAlgorithm( new QgsOrientedMinimumBoundingBoxAlgorithm() );
511 addAlgorithm( new QgsOrthogonalizeAlgorithm() );
512 addAlgorithm( new QgsPackageAlgorithm() );
513 addAlgorithm( new QgsPixelCentroidsFromPolygonsAlgorithm() );
514 addAlgorithm( new QgsCreateArrayOffsetLinesAlgorithm() );
515 addAlgorithm( new QgsPointsInPolygonAlgorithm() );
516 addAlgorithm( new QgsPointOnSurfaceAlgorithm() );
517 addAlgorithm( new QgsPointToLayerAlgorithm() );
518 addAlgorithm( new QgsPointsAlongGeometryAlgorithm() );
519 addAlgorithm( new QgsPointsLayerFromTableAlgorithm() );
520 addAlgorithm( new QgsPointsToPathsAlgorithm() );
521 addAlgorithm( new QgsPoleOfInaccessibilityAlgorithm() );
522 addAlgorithm( new QgsPolygonizeAlgorithm() );
523 addAlgorithm( new QgsProjectPointCartesianAlgorithm() );
524 addAlgorithm( new QgsPromoteToMultipartAlgorithm() );
525 addAlgorithm( new QgsRaiseExceptionAlgorithm() );
526 addAlgorithm( new QgsRaiseWarningAlgorithm() );
527 addAlgorithm( new QgsRaiseMessageAlgorithm() );
528 addAlgorithm( new QgsRandomBinomialRasterAlgorithm() );
529 addAlgorithm( new QgsRandomExponentialRasterAlgorithm() );
530 addAlgorithm( new QgsRandomExtractAlgorithm() );
531 addAlgorithm( new QgsRandomGammaRasterAlgorithm() );
532 addAlgorithm( new QgsRandomGeometricRasterAlgorithm() );
533 addAlgorithm( new QgsRandomNegativeBinomialRasterAlgorithm() );
534 addAlgorithm( new QgsRandomNormalRasterAlgorithm() );
535 addAlgorithm( new QgsRandomPointsExtentAlgorithm() );
536 addAlgorithm( new QgsRandomPointsInPolygonsAlgorithm() );
537 addAlgorithm( new QgsRandomPointsOnLinesAlgorithm() );
538 addAlgorithm( new QgsRandomPoissonRasterAlgorithm() );
539 addAlgorithm( new QgsRandomUniformRasterAlgorithm() );
540 addAlgorithm( new QgsRasterCalculatorAlgorithm() );
541 addAlgorithm( new QgsRasterCalculatorModelerAlgorithm() );
542 addAlgorithm( new QgsRasterDtmSlopeBasedFilterAlgorithm() );
543 addAlgorithm( new QgsRasterFrequencyByEqualOperatorAlgorithm() );
544 addAlgorithm( new QgsRasterFrequencyByGreaterThanOperatorAlgorithm() );
545 addAlgorithm( new QgsRasterFrequencyByLessThanOperatorAlgorithm() );
546 addAlgorithm( new QgsRasterLayerPropertiesAlgorithm() );
547 addAlgorithm( new QgsRasterLayerUniqueValuesReportAlgorithm() );
548 addAlgorithm( new QgsRasterLayerZonalStatsAlgorithm() );
549 addAlgorithm( new QgsRasterLogicalAndAlgorithm() );
550 addAlgorithm( new QgsRasterLogicalOrAlgorithm() );
551 addAlgorithm( new QgsRasterMinMaxAlgorithm() );
552 addAlgorithm( new QgsRasterizeAlgorithm() );
553 addAlgorithm( new QgsRasterPixelsToPointsAlgorithm() );
554 addAlgorithm( new QgsRasterPixelsToPolygonsAlgorithm() );
555 addAlgorithm( new QgsRasterRankAlgorithm() );
556 addAlgorithm( new QgsRasterSamplingAlgorithm() );
557 addAlgorithm( new QgsRasterStackHighestPositionAlgorithm() );
558 addAlgorithm( new QgsRasterStackLowestPositionAlgorithm() );
559 addAlgorithm( new QgsRasterStatisticsAlgorithm() );
560 addAlgorithm( new QgsRasterSurfaceVolumeAlgorithm() );
561 addAlgorithm( new QgsAlgorithmRemoveDuplicateVertices() );
562 addAlgorithm( new QgsReclassifyByLayerAlgorithm() );
563 addAlgorithm( new QgsReclassifyByTableAlgorithm() );
564 addAlgorithm( new QgsRectanglesOvalsDiamondsAlgorithm() );
565 addAlgorithm( new QgsRefactorFieldsAlgorithm() );
566 addAlgorithm( new QgsRemoveDuplicatesByAttributeAlgorithm() );
567 addAlgorithm( new QgsRemoveHolesAlgorithm() );
568 addAlgorithm( new QgsRemoveNullGeometryAlgorithm() );
569 addAlgorithm( new QgsRenameLayerAlgorithm() );
570 addAlgorithm( new QgsRenameTableFieldAlgorithm() );
571 addAlgorithm( new QgsRepairShapefileAlgorithm() );
572 addAlgorithm( new QgsRescaleRasterAlgorithm() );
573 addAlgorithm( new QgsRetainTableFieldsAlgorithm() );
574 addAlgorithm( new QgsReverseLineDirectionAlgorithm() );
575 addAlgorithm( new QgsRotateFeaturesAlgorithm() );
576 addAlgorithm( new QgsRoundnessAlgorithm() );
577 addAlgorithm( new QgsRoundRasterValuesAlgorithm() );
578 addAlgorithm( new QgsRuggednessAlgorithm() );
579 addAlgorithm( new QgsSaveFeaturesAlgorithm() );
580 addAlgorithm( new QgsSaveLogToFileAlgorithm() );
581 addAlgorithm( new QgsSaveSelectedFeatures() );
582 addAlgorithm( new QgsSegmentizeByMaximumAngleAlgorithm() );
583 addAlgorithm( new QgsSegmentizeByMaximumDistanceAlgorithm() );
584 addAlgorithm( new QgsSelectByLocationAlgorithm() );
585 addAlgorithm( new QgsSelectWithinDistanceAlgorithm() );
586 addAlgorithm( new QgsServiceAreaFromLayerAlgorithm() );
587 addAlgorithm( new QgsServiceAreaFromPointAlgorithm() );
588 addAlgorithm( new QgsSetLayerEncodingAlgorithm() );
589 addAlgorithm( new QgsSetMetadataFieldsAlgorithm() );
590 addAlgorithm( new QgsSetMValueAlgorithm() );
591 addAlgorithm( new QgsSetProjectVariableAlgorithm() );
592 addAlgorithm( new QgsSetZValueAlgorithm() );
593 addAlgorithm( new QgsShapefileEncodingInfoAlgorithm() );
594 addAlgorithm( new QgsShortestLineAlgorithm() );
595 addAlgorithm( new QgsShortestPathLayerToPointAlgorithm() );
596 addAlgorithm( new QgsShortestPathPointToLayerAlgorithm() );
597 addAlgorithm( new QgsShortestPathPointToPointAlgorithm() );
598 addAlgorithm( new QgsSimplifyAlgorithm() );
599 addAlgorithm( new QgsSingleSidedBufferAlgorithm() );
600 addAlgorithm( new QgsSlopeAlgorithm() );
601 addAlgorithm( new QgsSmoothAlgorithm() );
602 addAlgorithm( new QgsSnapGeometriesAlgorithm() );
603 addAlgorithm( new QgsSnapToGridAlgorithm() );
604 addAlgorithm( new QgsSpatialIndexAlgorithm() );
605 addAlgorithm( new QgsSplitFeaturesByAttributeCharacterAlgorithm() );
606 addAlgorithm( new QgsSplitGeometryAtAntimeridianAlgorithm() );
607 addAlgorithm( new QgsSplitLinesByLengthAlgorithm() );
608 addAlgorithm( new QgsSplitVectorLayerAlgorithm() );
609 addAlgorithm( new QgsSplitWithLinesAlgorithm() );
610 addAlgorithm( new QgsStDbscanClusteringAlgorithm() );
611 addAlgorithm( new QgsStringConcatenationAlgorithm() );
612 addAlgorithm( new QgsStyleFromProjectAlgorithm() );
613 addAlgorithm( new QgsSubdivideAlgorithm() );
614 addAlgorithm( new QgsSumLineLengthAlgorithm() );
615 addAlgorithm( new QgsSwapXYAlgorithm() );
616 addAlgorithm( new QgsSymmetricalDifferenceAlgorithm() );
617 addAlgorithm( new QgsTaperedBufferAlgorithm() );
618 addAlgorithm( new QgsTinMeshCreationAlgorithm() );
619 addAlgorithm( new QgsTransectAlgorithm() );
620 addAlgorithm( new QgsTransferAnnotationsFromMainAlgorithm() );
621 addAlgorithm( new QgsTransformAlgorithm() );
622 addAlgorithm( new QgsTranslateAlgorithm() );
623 addAlgorithm( new QgsTruncateTableAlgorithm() );
624 addAlgorithm( new QgsUnionAlgorithm() );
625 addAlgorithm( new QgsUpdateLayerMetadataAlgorithm() );
626 addAlgorithm( new QgsOpenUrlAlgorithm() );
627 addAlgorithm( new QgsHttpRequestAlgorithm() );
628 addAlgorithm( new QgsVariableWidthBufferByMAlgorithm() );
629 addAlgorithm( new QgsVirtualRasterCalculatorAlgorithm() );
630 addAlgorithm( new QgsVirtualRasterCalculatorModelerAlgorithm() );
631 addAlgorithm( new QgsVoronoiPolygonsAlgorithm() );
632 addAlgorithm( new QgsWedgeBuffersAlgorithm() );
633 addAlgorithm( new QgsWriteVectorTilesXyzAlgorithm() );
634 addAlgorithm( new QgsWriteVectorTilesMbtilesAlgorithm() );
635 addAlgorithm( new QgsXyzTilesDirectoryAlgorithm() );
636 addAlgorithm( new QgsXyzTilesMbtilesAlgorithm() );
637 addAlgorithm( new QgsZonalHistogramAlgorithm() );
638 addAlgorithm( new QgsZonalMinimumMaximumPointAlgorithm() );
639 addAlgorithm( new QgsZonalStatisticsAlgorithm() );
640 addAlgorithm( new QgsZonalStatisticsFeatureBasedAlgorithm() );
641 addAlgorithm( new QgsPolygonsToLinesAlgorithm() );
642 addAlgorithm( new QgsDensifyGeometriesByIntervalAlgorithm() );
643 addAlgorithm( new QgsDensifyGeometriesByCountAlgorithm() );
644 addAlgorithm( new QgsFixGeometryOverlapAlgorithm() );
645 addAlgorithm( new QgsFixGeometryDeleteFeaturesAlgorithm() );
646 addAlgorithm( new QgsFixGeometryAngleAlgorithm() );
647 addAlgorithm( new QgsFixGeometryDuplicateNodesAlgorithm() );
648 addAlgorithm( new QgsFixGeometryMultipartAlgorithm() );
649 addAlgorithm( new QgsFixGeometrySelfIntersectionAlgorithm() );
650 addAlgorithm( new QgsFixGeometryGapAlgorithm() );
651 addAlgorithm( new QgsFixGeometryAreaAlgorithm() );
652 addAlgorithm( new QgsFixGeometryHoleAlgorithm() );
653 addAlgorithm( new QgsFixGeometryMissingVertexAlgorithm() );
654}
655
@ CompatibleWithVirtualRaster
The processing provider's algorithms can work with QGIS virtualraster data provider.
QFlags< ProcessingProviderFlag > ProcessingProviderFlags
Flags indicating how and when an processing provider operates and should be exposed to users.
Definition qgis.h:3438
static QIcon getThemeIcon(const QString &name, const QColor &fillColor=QColor(), const QColor &strokeColor=QColor())
Helper to get a theme icon.
static QString iconPath(const QString &iconFile)
Returns path to the desired icon file.
void loadAlgorithms() override
Loads all algorithms belonging to this provider.
QString helpId() const override
Returns the provider help id string, used for creating QgsHelp urls for algorithms belong to this pro...
QString id() const override
Returns the unique provider id, used for identifying the provider.
bool supportsNonFileBasedOutput() const override
Returns true if the provider supports non-file based outputs (such as memory layers or direct databas...
QString svgIconPath() const override
Returns a path to an SVG version of the provider's icon.
QString name() const override
Returns the provider name, which is used to describe the provider within the GUI.
QIcon icon() const override
Returns an icon for the provider.
QgsNativeAlgorithms(QObject *parent=nullptr)
Constructor for QgsNativeAlgorithms.
Qgis::ProcessingProviderFlags flags() const override
Returns the flags indicating how and when the provider operates and should be exposed to users.
Abstract base class for processing providers.
bool addAlgorithm(QgsProcessingAlgorithm *algorithm)
Adds an algorithm to the provider.
Scoped object for logging of the runtime for a single operation or group of operations.