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