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