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