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