QGIS API Documentation 4.3.0-Master (2e3de3b961a)
Loading...
Searching...
No Matches
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
32#include "qgsalgorithmaspect.h"
40#include "qgsalgorithmbuffer.h"
68#include "qgsalgorithmclimb.h"
69#include "qgsalgorithmclip.h"
95#include "qgsalgorithmdrape.h"
105#include "qgsalgorithmexplode.h"
127#include "qgsalgorithmextrude.h"
133#include "qgsalgorithmfilter.h"
148#include "qgsalgorithmforceccw.h"
149#include "qgsalgorithmforcecw.h"
150#include "qgsalgorithmforcerhr.h"
155#include "qgsalgorithmheatmap.h"
157#include "qgsruntimeprofiler.h"
158
159#include <QString>
160
161#include "moc_qgsnativealgorithms.cpp"
162
163using namespace Qt::StringLiterals;
164
165#if QT_CONFIG( process )
167#endif
168#include "qgsalgorithmgrid.h"
207#include "qgsalgorithmpackage.h"
246#include "qgsalgorithmrelief.h"
258#include "qgsalgorithmrotate.h"
263#include "qgsalgorithmsavelog.h"
279#include "qgsalgorithmsimplify.h"
281#include "qgsalgorithmslope.h"
282#include "qgsalgorithmsmooth.h"
295#include "qgsalgorithmswapxy.h"
301#include "qgsalgorithmtransect.h"
306#include "qgsalgorithmunion.h"
317#include "qgsalgorithmxyztiles.h"
327#include "qgsstylealgorithms.h"
328
330
332 : QgsProcessingProvider( parent )
333{}
334
335QIcon QgsNativeAlgorithms::icon() const
336{
337 return QgsApplication::getThemeIcon( u"/providerQgis.svg"_s );
338}
339
341{
342 return QgsApplication::iconPath( u"providerQgis.svg"_s );
343}
344
345QString QgsNativeAlgorithms::id() const
346{
347 return u"native"_s;
348}
349
350QString QgsNativeAlgorithms::helpId() const
351{
352 return u"qgis"_s;
353}
354
355QString QgsNativeAlgorithms::name() const
356{
357 return tr( "QGIS (native c++)" );
358}
359
361{
362 return true;
363}
364
366{
368}
369
371{
372 const QgsScopedRuntimeProfile profile( QObject::tr( "QGIS native provider" ) );
373 addAlgorithm( new QgsAddHistoryMetadataAlgorithm() );
374 addAlgorithm( new QgsAddIncrementalFieldAlgorithm() );
375 addAlgorithm( new QgsAddTableFieldAlgorithm() );
376 addAlgorithm( new QgsAddXYFieldsAlgorithm() );
377 addAlgorithm( new QgsAddUniqueValueIndexAlgorithm() );
378 addAlgorithm( new QgsAffineTransformationAlgorithm() );
379 addAlgorithm( new QgsAggregateAlgorithm() );
380 addAlgorithm( new QgsAlignRastersAlgorithm() );
381 addAlgorithm( new QgsAlignSingleRasterAlgorithm() );
382 addAlgorithm( new QgsAngleToNearestAlgorithm() );
383 addAlgorithm( new QgsApplyLayerMetadataAlgorithm() );
384 addAlgorithm( new QgsApplyLayerStyleAlgorithm() );
385 addAlgorithm( new QgsApproximateMedialAxisAlgorithm() );
386 addAlgorithm( new QgsArrayTranslatedFeaturesAlgorithm() );
387 addAlgorithm( new QgsAspectAlgorithm() );
388 addAlgorithm( new QgsAssignProjectionAlgorithm() );
389 addAlgorithm( new QgsAttributeIndexAlgorithm() );
390 addAlgorithm( new QgsB3DMToGltfAlgorithm() );
391 addAlgorithm( new QgsBasicStatisticsAlgorithm() );
392 addAlgorithm( new QgsBatchNominatimGeocodeAlgorithm() );
393 addAlgorithm( new QgsBookmarksToLayerAlgorithm() );
394 addAlgorithm( new QgsBoundaryAlgorithm() );
395 addAlgorithm( new QgsBoundingBoxAlgorithm() );
396 addAlgorithm( new QgsBufferAlgorithm() );
397 addAlgorithm( new QgsCalculateExpressionAlgorithm() );
398 addAlgorithm( new QgsCalculateVectorOverlapsAlgorithm() );
399 addAlgorithm( new QgsCategorizeUsingStyleAlgorithm() );
400 addAlgorithm( new QgsCellStatisticsAlgorithm() );
401 addAlgorithm( new QgsCellStatisticsPercentileAlgorithm() );
402 addAlgorithm( new QgsCellStatisticsPercentRankFromRasterAlgorithm() );
403 addAlgorithm( new QgsCellStatisticsPercentRankFromValueAlgorithm() );
404 addAlgorithm( new QgsCentroidAlgorithm() );
405 addAlgorithm( new QgsCheckValidityAlgorithm() );
406 addAlgorithm( new QgsGeometryCheckSegmentLengthAlgorithm() );
407 addAlgorithm( new QgsGeometryCheckAngleAlgorithm() );
408 addAlgorithm( new QgsGeometryCheckAreaAlgorithm() );
409 addAlgorithm( new QgsGeometryCheckHoleAlgorithm() );
410 addAlgorithm( new QgsGeometryCheckMissingVertexAlgorithm() );
411 addAlgorithm( new QgsGeometryCheckLineIntersectionAlgorithm() );
412 addAlgorithm( new QgsGeometryCheckLineLayerIntersectionAlgorithm() );
413 addAlgorithm( new QgsGeometryCheckPointCoveredByLineAlgorithm() );
414 addAlgorithm( new QgsGeometryCheckPointInPolygonAlgorithm() );
415 addAlgorithm( new QgsGeometryCheckGapAlgorithm() );
416 addAlgorithm( new QgsGeometryCheckSliverPolygonAlgorithm() );
417 addAlgorithm( new QgsGeometryCheckSelfContactAlgorithm() );
418 addAlgorithm( new QgsGeometryCheckOverlapAlgorithm() );
419 addAlgorithm( new QgsGeometryCheckFollowBoundariesAlgorithm() );
420 addAlgorithm( new QgsGeometryCheckDuplicateNodesAlgorithm() );
421 addAlgorithm( new QgsGeometryCheckDangleAlgorithm() );
422 addAlgorithm( new QgsGeometryCheckDuplicateAlgorithm() );
423 addAlgorithm( new QgsGeometryCheckSelfIntersectionAlgorithm() );
424 addAlgorithm( new QgsGeometryCheckMultipartAlgorithm() );
425 addAlgorithm( new QgsGeometryCheckDegeneratePolygonAlgorithm() );
426 addAlgorithm( new QgsGeometryCheckContainedAlgorithm() );
427 addAlgorithm( new QgsClimbAlgorithm() );
428 addAlgorithm( new QgsClipAlgorithm() );
429 addAlgorithm( new QgsCollectAlgorithm() );
430 addAlgorithm( new QgsCombineStylesAlgorithm() );
431 addAlgorithm( new QgsConcaveHullAlgorithm() );
432 addAlgorithm( new QgsConcaveHullByFeatureAlgorithm() );
433 addAlgorithm( new QgsConcaveHullOfPolygonsAlgorithm() );
434 addAlgorithm( new QgsConditionalBranchAlgorithm() );
435 addAlgorithm( new QgsConstantRasterAlgorithm() );
436 addAlgorithm( new QgsConvertToCurvesAlgorithm() );
437 addAlgorithm( new QgsConvertGeometryTypeAlgorithm() );
438 addAlgorithm( new QgsConvexHullAlgorithm() );
439 addAlgorithm( new QgsCopyLayerMetadataAlgorithm() );
440 addAlgorithm( new QgsCoverageSimplifyAlgorithm() );
441 addAlgorithm( new QgsCoverageUnionAlgorithm() );
442 addAlgorithm( new QgsCoverageValidateAlgorithm() );
443 addAlgorithm( new QgsCoverageCleanAlgorithm() );
444 addAlgorithm( new QgsCreateDirectoryAlgorithm() );
445 addAlgorithm( new QgsDbscanClusteringAlgorithm() );
446 addAlgorithm( new QgsDefineProjectionAlgorithm() );
447 addAlgorithm( new QgsDelaunayTriangulationAlgorithm() );
448 addAlgorithm( new QgsDeleteDuplicateGeometriesAlgorithm() );
449 addAlgorithm( new QgsDetectVectorChangesAlgorithm() );
450 addAlgorithm( new QgsDifferenceAlgorithm() );
451 addAlgorithm( new QgsDissolveAlgorithm() );
452 addAlgorithm( new QgsDistanceMatrixAlgorithm() );
453 addAlgorithm( new QgsDownloadVectorTilesAlgorithm() );
454 addAlgorithm( new QgsDrapeToMAlgorithm() );
455 addAlgorithm( new QgsDrapeToZAlgorithm() );
456 addAlgorithm( new QgsDropTableFieldsAlgorithm() );
457 addAlgorithm( new QgsDropGeometryAlgorithm() );
458 addAlgorithm( new QgsDropMZValuesAlgorithm() );
459 addAlgorithm( new QgsDxfExportAlgorithm() );
460 addAlgorithm( new QgsExtrudeAlgorithm() );
461 addAlgorithm( new QgsExecuteAndLoadPostgisQueryAlgorithm() );
462 addAlgorithm( new QgsExecutePostgisQueryAlgorithm() );
463 addAlgorithm( new QgsExecuteRegisteredSpatialiteQueryAlgorithm() );
464 addAlgorithm( new QgsExecuteSpatialiteQueryAlgorithm() );
465 addAlgorithm( new QgsExecuteSqlAlgorithm() );
466 addAlgorithm( new QgsExplodeAlgorithm() );
467 addAlgorithm( new QgsExplodeHstoreAlgorithm() );
468 addAlgorithm( new QgsExportGeometryAttributesAlgorithm() );
469 addAlgorithm( new QgsExportLayersInformationAlgorithm() );
470 addAlgorithm( new QgsExportLayerMetadataAlgorithm() );
471 addAlgorithm( new QgsExportMeshVerticesAlgorithm() );
472 addAlgorithm( new QgsExportMeshFacesAlgorithm() );
473 addAlgorithm( new QgsExportMeshEdgesAlgorithm() );
474 addAlgorithm( new QgsExportMeshOnGridAlgorithm() );
475 addAlgorithm( new QgsExportToPostgresqlAlgorithm() );
476 addAlgorithm( new QgsExportToRegisteredSpatialiteAlgorithm() );
477 addAlgorithm( new QgsExportToSpatialiteAlgorithm() );
478 addAlgorithm( new QgsExportToSpreadsheetAlgorithm() );
479 addAlgorithm( new QgsExtendLinesAlgorithm() );
480 addAlgorithm( new QgsExtentFromLayerAlgorithm() );
481 addAlgorithm( new QgsExtentToLayerAlgorithm() );
482 addAlgorithm( new QgsExtractBinaryFieldAlgorithm() );
483 addAlgorithm( new QgsExtractByAttributeAlgorithm() );
484 addAlgorithm( new QgsExtractByExpressionAlgorithm() );
485 addAlgorithm( new QgsExtractByExtentAlgorithm() );
486 addAlgorithm( new QgsExtractByLocationAlgorithm() );
487 addAlgorithm( new QgsExtractLabelsAlgorithm() );
488 addAlgorithm( new QgsExtractMValuesAlgorithm() );
489 addAlgorithm( new QgsExtractNetworkEndpointsAlgorithm() );
490 addAlgorithm( new QgsExtractVerticesAlgorithm() );
491 addAlgorithm( new QgsExtractSpecificVerticesAlgorithm() );
492 addAlgorithm( new QgsExtractWithinDistanceAlgorithm() );
493 addAlgorithm( new QgsExtractZValuesAlgorithm() );
494 addAlgorithm( new QgsFieldCalculatorAlgorithm() );
495 addAlgorithm( new QgsFileDownloaderAlgorithm() );
496 addAlgorithm( new QgsFileUploaderAlgorithm() );
497 addAlgorithm( new QgsFillNoDataAlgorithm() );
498 addAlgorithm( new QgsFillSinksWangLiuAlgorithm() );
499 addAlgorithm( new QgsFilterAlgorithm() );
500 addAlgorithm( new QgsFilterByGeometryAlgorithm() );
501 addAlgorithm( new QgsFilterByLayerTypeAlgorithm() );
502 addAlgorithm( new QgsFilterVerticesByM() );
503 addAlgorithm( new QgsFilterVerticesByZ() );
504 addAlgorithm( new QgsFindProjectionAlgorithm() );
505 addAlgorithm( new QgsFixGeometriesAlgorithm() );
506 addAlgorithm( new QgsFlattenRelationshipsAlgorithm() );
507 addAlgorithm( new QgsForceCCWAlgorithm() );
508 addAlgorithm( new QgsForceCWAlgorithm() );
509 addAlgorithm( new QgsForceRHRAlgorithm() );
510 addAlgorithm( new QgsFuzzifyRasterLinearMembershipAlgorithm() );
511 addAlgorithm( new QgsFuzzifyRasterPowerMembershipAlgorithm() );
512 addAlgorithm( new QgsFuzzifyRasterLargeMembershipAlgorithm() );
513 addAlgorithm( new QgsFuzzifyRasterSmallMembershipAlgorithm() );
514 addAlgorithm( new QgsFuzzifyRasterGaussianMembershipAlgorithm() );
515 addAlgorithm( new QgsFuzzifyRasterNearMembershipAlgorithm() );
516 addAlgorithm( new QgsGenerateElevationProfileAlgorithm() );
517 addAlgorithm( new QgsGeometryByExpressionAlgorithm() );
518 addAlgorithm( new QgsGltfToVectorFeaturesAlgorithm() );
519#if QT_CONFIG( process )
520 addAlgorithm( new QgsConvertGpxFeatureTypeAlgorithm() );
521 addAlgorithm( new QgsConvertGpsDataAlgorithm() );
522 addAlgorithm( new QgsDownloadGpsDataAlgorithm() );
523 addAlgorithm( new QgsUploadGpsDataAlgorithm() );
524#endif
525 addAlgorithm( new QgsGridAlgorithm() );
526 addAlgorithm( new QgsHeatmapAlgorithm() );
527 addAlgorithm( new QgsHillshadeAlgorithm() );
528 addAlgorithm( new QgsHubDistanceAlgorithm() );
529 addAlgorithm( new QgsHypsometricCurvesAlgorithm() );
530 addAlgorithm( new QgsIdwInterpolationAlgorithm() );
531 addAlgorithm( new QgsImportPhotosAlgorithm() );
532 addAlgorithm( new QgsInterpolatePointAlgorithm() );
533 addAlgorithm( new QgsIntersectionAlgorithm() );
534 addAlgorithm( new QgsJoinByAttributeAlgorithm() );
535 addAlgorithm( new QgsJoinByLocationAlgorithm() );
536 addAlgorithm( new QgsJoinByLocationSummaryAlgorithm() );
537 addAlgorithm( new QgsJoinByNearestAlgorithm() );
538 addAlgorithm( new QgsJoinWithLinesAlgorithm() );
539 addAlgorithm( new QgsKeepNBiggestPartsAlgorithm() );
540 addAlgorithm( new QgsKMeansClusteringAlgorithm() );
541 addAlgorithm( new QgsLayerToBookmarksAlgorithm() );
542 addAlgorithm( new QgsLayoutMapExtentToLayerAlgorithm() );
543 addAlgorithm( new QgsLayoutAtlasToImageAlgorithm() );
544 addAlgorithm( new QgsLayoutAtlasToPdfAlgorithm() );
545 addAlgorithm( new QgsLayoutAtlasToMultiplePdfAlgorithm() );
546 addAlgorithm( new QgsLayoutToImageAlgorithm() );
547 addAlgorithm( new QgsLayoutToPdfAlgorithm() );
548 addAlgorithm( new QgsLineDensityAlgorithm() );
549 addAlgorithm( new QgsLineIntersectionAlgorithm() );
550 addAlgorithm( new QgsLineSubstringAlgorithm() );
551 addAlgorithm( new QgsLoadLayerAlgorithm() );
552 addAlgorithm( new QgsMeanCoordinatesAlgorithm() );
553 addAlgorithm( new QgsMergeLinesAlgorithm() );
554 addAlgorithm( new QgsMergeVectorAlgorithm() );
555 addAlgorithm( new QgsMeshRasterizeAlgorithm );
556 addAlgorithm( new QgsMeshContoursAlgorithm() );
557 addAlgorithm( new QgsMeshExportCrossSection() );
558 addAlgorithm( new QgsMeshExportTimeSeries() );
559 addAlgorithm( new QgsMeshSurfaceToPolygonAlgorithm() );
560 addAlgorithm( new QgsMinimumBoundingGeometryAlgorithm() );
561 addAlgorithm( new QgsMinimumEnclosingCircleAlgorithm() );
562 addAlgorithm( new QgsMultiDifferenceAlgorithm() );
563 addAlgorithm( new QgsMultiIntersectionAlgorithm() );
564 addAlgorithm( new QgsMultipartToSinglepartAlgorithm() );
565 addAlgorithm( new QgsMultiRingConstantBufferAlgorithm() );
566 addAlgorithm( new QgsMultiUnionAlgorithm() );
567 addAlgorithm( new QgsNearestNeighbourAnalysisAlgorithm() );
568 addAlgorithm( new QgsOffsetLinesAlgorithm() );
569 addAlgorithm( new QgsOrderByExpressionAlgorithm() );
570 addAlgorithm( new QgsOrientedMinimumBoundingBoxAlgorithm() );
571 addAlgorithm( new QgsOrthogonalizeAlgorithm() );
572 addAlgorithm( new QgsPackageAlgorithm() );
573 addAlgorithm( new QgsPixelCentroidsFromPolygonsAlgorithm() );
574 addAlgorithm( new QgsCreateArrayOffsetLinesAlgorithm() );
575 addAlgorithm( new QgsPointsInPolygonAlgorithm() );
576 addAlgorithm( new QgsPointOnSurfaceAlgorithm() );
577 addAlgorithm( new QgsPointToLayerAlgorithm() );
578 addAlgorithm( new QgsPointsAlongGeometryAlgorithm() );
579 addAlgorithm( new QgsPointsLayerFromTableAlgorithm() );
580 addAlgorithm( new QgsPointsToPathsAlgorithm() );
581 addAlgorithm( new QgsPoleOfInaccessibilityAlgorithm() );
582 addAlgorithm( new QgsPolygonizeAlgorithm() );
583 addAlgorithm( new QgsProjectPointCartesianAlgorithm() );
584 addAlgorithm( new QgsPromoteToMultipartAlgorithm() );
585 addAlgorithm( new QgsRaiseExceptionAlgorithm() );
586 addAlgorithm( new QgsRaiseWarningAlgorithm() );
587 addAlgorithm( new QgsRaiseMessageAlgorithm() );
588 addAlgorithm( new QgsRandomBinomialRasterAlgorithm() );
589 addAlgorithm( new QgsRandomExponentialRasterAlgorithm() );
590 addAlgorithm( new QgsRandomExtractAlgorithm() );
591 addAlgorithm( new QgsRandomExtractWithinSubsetsAlgorithm() );
592 addAlgorithm( new QgsRandomGammaRasterAlgorithm() );
593 addAlgorithm( new QgsRandomGeometricRasterAlgorithm() );
594 addAlgorithm( new QgsRandomNegativeBinomialRasterAlgorithm() );
595 addAlgorithm( new QgsRandomNormalRasterAlgorithm() );
596 addAlgorithm( new QgsRandomPointsExtentAlgorithm() );
597 addAlgorithm( new QgsRandomPointsInPolygonsAlgorithm() );
598 addAlgorithm( new QgsRandomPointsOnLinesAlgorithm() );
599 addAlgorithm( new QgsRandomPoissonRasterAlgorithm() );
600 addAlgorithm( new QgsRandomSelectionAlgorithm() );
601 addAlgorithm( new QgsRandomSelectionWithinSubsetsAlgorithm() );
602 addAlgorithm( new QgsRandomUniformRasterAlgorithm() );
603 addAlgorithm( new QgsRasterCalculatorAlgorithm() );
604 addAlgorithm( new QgsRasterCalculatorModelerAlgorithm() );
605 addAlgorithm( new QgsRasterDtmSlopeBasedFilterAlgorithm() );
606 addAlgorithm( new QgsRasterFeaturePreservingSmoothingAlgorithm() );
607 addAlgorithm( new QgsRasterFrequencyByEqualOperatorAlgorithm() );
608 addAlgorithm( new QgsRasterFrequencyByGreaterThanOperatorAlgorithm() );
609 addAlgorithm( new QgsRasterFrequencyByLessThanOperatorAlgorithm() );
610 addAlgorithm( new QgsRasterGaussianBlurAlgorithm() );
611 addAlgorithm( new QgsRasterLayerPropertiesAlgorithm() );
612 addAlgorithm( new QgsRasterLayerUniqueValuesReportAlgorithm() );
613 addAlgorithm( new QgsRasterLayerZonalStatsAlgorithm() );
614 addAlgorithm( new QgsRasterLogicalAndAlgorithm() );
615 addAlgorithm( new QgsRasterLogicalOrAlgorithm() );
616 addAlgorithm( new QgsRasterMinMaxAlgorithm() );
617 addAlgorithm( new QgsRasterizeAlgorithm() );
618 addAlgorithm( new QgsRasterPixelsToPointsAlgorithm() );
619 addAlgorithm( new QgsRasterPixelsToPolygonsAlgorithm() );
620 addAlgorithm( new QgsRasterRankAlgorithm() );
621 addAlgorithm( new QgsRasterSamplingAlgorithm() );
622 addAlgorithm( new QgsRasterStackHighestPositionAlgorithm() );
623 addAlgorithm( new QgsRasterStackLowestPositionAlgorithm() );
624 addAlgorithm( new QgsRasterStatisticsAlgorithm() );
625 addAlgorithm( new QgsRasterSurfaceVolumeAlgorithm() );
626 addAlgorithm( new QgsAlgorithmRemoveDuplicateVertices() );
627 addAlgorithm( new QgsReclassifyByLayerAlgorithm() );
628 addAlgorithm( new QgsReclassifyByTableAlgorithm() );
629 addAlgorithm( new QgsRectanglesOvalsDiamondsAlgorithm() );
630 addAlgorithm( new QgsRefactorFieldsAlgorithm() );
631 addAlgorithm( new QgsReliefAlgorithm() );
632 addAlgorithm( new QgsRemoveDuplicatesByAttributeAlgorithm() );
633 addAlgorithm( new QgsRemoveHolesAlgorithm() );
634 addAlgorithm( new QgsRemoveNullGeometryAlgorithm() );
635 addAlgorithm( new QgsRemovePartsByAreaAlgorithm() );
636 addAlgorithm( new QgsRemovePartsByLengthAlgorithm() );
637 addAlgorithm( new QgsRenameLayerAlgorithm() );
638 addAlgorithm( new QgsRenameTableFieldAlgorithm() );
639 addAlgorithm( new QgsRepairShapefileAlgorithm() );
640 addAlgorithm( new QgsRescaleRasterAlgorithm() );
641 addAlgorithm( new QgsRetainTableFieldsAlgorithm() );
642 addAlgorithm( new QgsReverseLineDirectionAlgorithm() );
643 addAlgorithm( new QgsRotateFeaturesAlgorithm() );
644 addAlgorithm( new QgsRoundnessAlgorithm() );
645 addAlgorithm( new QgsRoundRasterValuesAlgorithm() );
646 addAlgorithm( new QgsRuggednessAlgorithm() );
647 addAlgorithm( new QgsSaveFeaturesAlgorithm() );
648 addAlgorithm( new QgsSaveLogToFileAlgorithm() );
649 addAlgorithm( new QgsSaveSelectedFeatures() );
650 addAlgorithm( new QgsSegmentizeByMaximumAngleAlgorithm() );
651 addAlgorithm( new QgsSegmentizeByMaximumDistanceAlgorithm() );
652 addAlgorithm( new QgsSelectByAttributeAlgorithm() );
653 addAlgorithm( new QgsSelectByExpressionAlgorithm() );
654 addAlgorithm( new QgsSelectByLocationAlgorithm() );
655 addAlgorithm( new QgsSelectWithinDistanceAlgorithm() );
656 addAlgorithm( new QgsServiceAreaFromLayerAlgorithm() );
657 addAlgorithm( new QgsServiceAreaFromPointAlgorithm() );
658 addAlgorithm( new QgsSetLayerEncodingAlgorithm() );
659 addAlgorithm( new QgsSetMetadataFieldsAlgorithm() );
660 addAlgorithm( new QgsSetMValueAlgorithm() );
661 addAlgorithm( new QgsSetProjectVariableAlgorithm() );
662 addAlgorithm( new QgsSetZValueAlgorithm() );
663 addAlgorithm( new QgsShapefileEncodingInfoAlgorithm() );
664 addAlgorithm( new QgsShortestLineAlgorithm() );
665 addAlgorithm( new QgsShortestPathLayerToPointAlgorithm() );
666 addAlgorithm( new QgsShortestPathPointToLayerAlgorithm() );
667 addAlgorithm( new QgsShortestPathPointToPointAlgorithm() );
668 addAlgorithm( new QgsSimplifyAlgorithm() );
669 addAlgorithm( new QgsSingleSidedBufferAlgorithm() );
670 addAlgorithm( new QgsSlopeAlgorithm() );
671 addAlgorithm( new QgsSmoothAlgorithm() );
672 addAlgorithm( new QgsSnapGeometriesAlgorithm() );
673 addAlgorithm( new QgsSnapToGridAlgorithm() );
674 addAlgorithm( new QgsSpatialIndexAlgorithm() );
675 addAlgorithm( new QgsSplitFeaturesByAttributeCharacterAlgorithm() );
676 addAlgorithm( new QgsSplitGeometryAtAntimeridianAlgorithm() );
677 addAlgorithm( new QgsSplitLinesByLengthAlgorithm() );
678 addAlgorithm( new QgsSplitVectorLayerAlgorithm() );
679 addAlgorithm( new QgsSplitWithLinesAlgorithm() );
680 addAlgorithm( new QgsStDbscanClusteringAlgorithm() );
681 addAlgorithm( new QgsStringConcatenationAlgorithm() );
682 addAlgorithm( new QgsStyleFromProjectAlgorithm() );
683 addAlgorithm( new QgsSubdivideAlgorithm() );
684 addAlgorithm( new QgsSumLineLengthAlgorithm() );
685 addAlgorithm( new QgsSwapXYAlgorithm() );
686 addAlgorithm( new QgsSymmetricalDifferenceAlgorithm() );
687 addAlgorithm( new QgsTaperedBufferAlgorithm() );
688 addAlgorithm( new QgsTinInterpolationAlgorithm() );
689 addAlgorithm( new QgsTinMeshCreationAlgorithm() );
690 addAlgorithm( new QgsTotalCurvatureAlgorithm() );
691 addAlgorithm( new QgsTransectAlgorithm() );
692 addAlgorithm( new QgsTransectFixedDistanceAlgorithm() );
693 addAlgorithm( new QgsTransferAnnotationsFromMainAlgorithm() );
694 addAlgorithm( new QgsTransformAlgorithm() );
695 addAlgorithm( new QgsTranslateAlgorithm() );
696 addAlgorithm( new QgsTruncateTableAlgorithm() );
697 addAlgorithm( new QgsUnionAlgorithm() );
698 addAlgorithm( new QgsUniqueValuesAlgorithm() );
699 addAlgorithm( new QgsUpdateLayerMetadataAlgorithm() );
700 addAlgorithm( new QgsValidateNetworkAlgorithm() );
701 addAlgorithm( new QgsOpenUrlAlgorithm() );
702 addAlgorithm( new QgsHttpRequestAlgorithm() );
703 addAlgorithm( new QgsVariableWidthBufferByMAlgorithm() );
704 addAlgorithm( new QgsVirtualRasterCalculatorAlgorithm() );
705 addAlgorithm( new QgsVirtualRasterCalculatorModelerAlgorithm() );
706 addAlgorithm( new QgsVoronoiPolygonsAlgorithm() );
707 addAlgorithm( new QgsWedgeBuffersAlgorithm() );
708 addAlgorithm( new QgsWriteVectorTilesXyzAlgorithm() );
709 addAlgorithm( new QgsWriteVectorTilesMbtilesAlgorithm() );
710 addAlgorithm( new QgsXyzTilesDirectoryAlgorithm() );
711 addAlgorithm( new QgsXyzTilesMbtilesAlgorithm() );
712 addAlgorithm( new QgsZonalHistogramAlgorithm() );
713 addAlgorithm( new QgsZonalMinimumMaximumPointAlgorithm() );
714 addAlgorithm( new QgsZonalStatisticsAlgorithm() );
715 addAlgorithm( new QgsZonalStatisticsFeatureBasedAlgorithm() );
716 addAlgorithm( new QgsPolygonsToLinesAlgorithm() );
717 addAlgorithm( new QgsDensifyGeometriesByIntervalAlgorithm() );
718 addAlgorithm( new QgsDensifyGeometriesByCountAlgorithm() );
719 addAlgorithm( new QgsFixGeometryOverlapAlgorithm() );
720 addAlgorithm( new QgsFixGeometryDeleteFeaturesAlgorithm() );
721 addAlgorithm( new QgsFixGeometryAngleAlgorithm() );
722 addAlgorithm( new QgsFixGeometryDuplicateNodesAlgorithm() );
723 addAlgorithm( new QgsFixGeometryMultipartAlgorithm() );
724 addAlgorithm( new QgsFixGeometrySelfIntersectionAlgorithm() );
725 addAlgorithm( new QgsFixGeometryGapAlgorithm() );
726 addAlgorithm( new QgsFixGeometryAreaAlgorithm() );
727 addAlgorithm( new QgsFixGeometryHoleAlgorithm() );
728 addAlgorithm( new QgsFixGeometryMissingVertexAlgorithm() );
729}
730
@ CompatibleWithVirtualRaster
The processing provider's algorithms can work with QGIS virtualraster data provider.
Definition qgis.h:3777
QFlags< ProcessingProviderFlag > ProcessingProviderFlags
Flags indicating how and when an processing provider operates and should be exposed to users.
Definition qgis.h:3788
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.