QGIS API Documentation 3.43.0-Master (261ee7da134)
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#include "moc_qgsnativealgorithms.cpp"
20#include "qgsruntimeprofiler.h"
32#include "qgsalgorithmaspect.h"
40#include "qgsalgorithmbuffer.h"
77#include "qgsalgorithmclimb.h"
78#include "qgsalgorithmclip.h"
100#include "qgsalgorithmdrape.h"
110#include "qgsalgorithmexplode.h"
132#include "qgsalgorithmfilter.h"
138#include "qgsalgorithmforcerhr.h"
143#if QT_CONFIG( process )
145#endif
146#include "qgsalgorithmgrid.h"
181#include "qgsalgorithmpackage.h"
226#include "qgsalgorithmrotate.h"
231#include "qgsalgorithmsavelog.h"
245#include "qgsalgorithmsimplify.h"
247#include "qgsalgorithmslope.h"
248#include "qgsalgorithmsmooth.h"
261#include "qgsalgorithmswapxy.h"
265#include "qgsalgorithmtransect.h"
269#include "qgsalgorithmunion.h"
278#include "qgsalgorithmxyztiles.h"
288#include "qgsstylealgorithms.h"
289
291
293 : QgsProcessingProvider( parent )
294{}
295
296QIcon QgsNativeAlgorithms::icon() const
297{
298 return QgsApplication::getThemeIcon( QStringLiteral( "/providerQgis.svg" ) );
299}
300
302{
303 return QgsApplication::iconPath( QStringLiteral( "providerQgis.svg" ) );
304}
305
306QString QgsNativeAlgorithms::id() const
307{
308 return QStringLiteral( "native" );
309}
310
311QString QgsNativeAlgorithms::helpId() const
312{
313 return QStringLiteral( "qgis" );
314}
315
316QString QgsNativeAlgorithms::name() const
317{
318 return tr( "QGIS (native c++)" );
319}
320
322{
323 return true;
324}
325
327{
329}
330
332{
333 const QgsScopedRuntimeProfile profile( QObject::tr( "QGIS native provider" ) );
334 addAlgorithm( new QgsAddHistoryMetadataAlgorithm() );
335 addAlgorithm( new QgsAddIncrementalFieldAlgorithm() );
336 addAlgorithm( new QgsAddTableFieldAlgorithm() );
337 addAlgorithm( new QgsAddXYFieldsAlgorithm() );
338 addAlgorithm( new QgsAddUniqueValueIndexAlgorithm() );
339 addAlgorithm( new QgsAffineTransformationAlgorithm() );
340 addAlgorithm( new QgsAggregateAlgorithm() );
341 addAlgorithm( new QgsAlignRastersAlgorithm() );
342 addAlgorithm( new QgsAlignSingleRasterAlgorithm() );
343 addAlgorithm( new QgsAngleToNearestAlgorithm() );
344 addAlgorithm( new QgsApplyLayerMetadataAlgorithm() );
345 addAlgorithm( new QgsApplyLayerStyleAlgorithm() );
346 addAlgorithm( new QgsArrayTranslatedFeaturesAlgorithm() );
347 addAlgorithm( new QgsAspectAlgorithm() );
348 addAlgorithm( new QgsAssignProjectionAlgorithm() );
349 addAlgorithm( new QgsAttributeIndexAlgorithm() );
350 addAlgorithm( new QgsB3DMToGltfAlgorithm() );
351 addAlgorithm( new QgsBasicStatisticsAlgorithm() );
352 addAlgorithm( new QgsBatchNominatimGeocodeAlgorithm() );
353 addAlgorithm( new QgsBookmarksToLayerAlgorithm() );
354 addAlgorithm( new QgsBoundaryAlgorithm() );
355 addAlgorithm( new QgsBoundingBoxAlgorithm() );
356 addAlgorithm( new QgsBufferAlgorithm() );
357 addAlgorithm( new QgsCalculateExpressionAlgorithm() );
358 addAlgorithm( new QgsCalculateVectorOverlapsAlgorithm() );
359 addAlgorithm( new QgsCategorizeUsingStyleAlgorithm() );
360 addAlgorithm( new QgsCellStatisticsAlgorithm() );
361 addAlgorithm( new QgsCellStatisticsPercentileAlgorithm() );
362 addAlgorithm( new QgsCellStatisticsPercentRankFromRasterAlgorithm() );
363 addAlgorithm( new QgsCellStatisticsPercentRankFromValueAlgorithm() );
364 addAlgorithm( new QgsCentroidAlgorithm() );
365 addAlgorithm( new QgsCheckValidityAlgorithm() );
366 addAlgorithm( new QgsGeometryCheckSegmentLengthAlgorithm() );
367 addAlgorithm( new QgsGeometryCheckAngleAlgorithm() );
368 addAlgorithm( new QgsGeometryCheckAreaAlgorithm() );
369 addAlgorithm( new QgsGeometryCheckHoleAlgorithm() );
370 addAlgorithm( new QgsGeometryCheckMissingVertexAlgorithm() );
371 addAlgorithm( new QgsGeometryCheckLineIntersectionAlgorithm() );
372 addAlgorithm( new QgsGeometryCheckLineLayerIntersectionAlgorithm() );
373 addAlgorithm( new QgsGeometryCheckPointCoveredByLineAlgorithm() );
374 addAlgorithm( new QgsGeometryCheckPointInPolygonAlgorithm() );
375 addAlgorithm( new QgsGeometryCheckGapAlgorithm() );
376 addAlgorithm( new QgsGeometryCheckSliverPolygonAlgorithm() );
377 addAlgorithm( new QgsGeometryCheckSelfContactAlgorithm() );
378 addAlgorithm( new QgsGeometryCheckOverlapAlgorithm() );
379 addAlgorithm( new QgsGeometryCheckFollowBoundariesAlgorithm() );
380 addAlgorithm( new QgsGeometryCheckDuplicateNodesAlgorithm() );
381 addAlgorithm( new QgsGeometryCheckDangleAlgorithm() );
382 addAlgorithm( new QgsGeometryCheckDuplicateAlgorithm() );
383 addAlgorithm( new QgsGeometryCheckSelfIntersectionAlgorithm() );
384 addAlgorithm( new QgsGeometryCheckMultipartAlgorithm() );
385 addAlgorithm( new QgsGeometryCheckDegeneratePolygonAlgorithm() );
386 addAlgorithm( new QgsGeometryCheckContainedAlgorithm() );
387 addAlgorithm( new QgsClimbAlgorithm() );
388 addAlgorithm( new QgsClipAlgorithm() );
389 addAlgorithm( new QgsCollectAlgorithm() );
390 addAlgorithm( new QgsCombineStylesAlgorithm() );
391 addAlgorithm( new QgsConcaveHullAlgorithm() );
392 addAlgorithm( new QgsConditionalBranchAlgorithm() );
393 addAlgorithm( new QgsConstantRasterAlgorithm() );
394 addAlgorithm( new QgsConvertToCurvesAlgorithm() );
395 addAlgorithm( new QgsConvertGeometryTypeAlgorithm() );
396 addAlgorithm( new QgsConvexHullAlgorithm() );
397 addAlgorithm( new QgsCopyLayerMetadataAlgorithm() );
398 addAlgorithm( new QgsCoverageSimplifyAlgorithm() );
399 addAlgorithm( new QgsCoverageUnionAlgorithm() );
400 addAlgorithm( new QgsCoverageValidateAlgorithm() );
401 addAlgorithm( new QgsCreateDirectoryAlgorithm() );
402 addAlgorithm( new QgsDbscanClusteringAlgorithm() );
403 addAlgorithm( new QgsDefineProjectionAlgorithm() );
404 addAlgorithm( new QgsDelaunayTriangulationAlgorithm() );
405 addAlgorithm( new QgsDeleteDuplicateGeometriesAlgorithm() );
406 addAlgorithm( new QgsDetectVectorChangesAlgorithm() );
407 addAlgorithm( new QgsDifferenceAlgorithm() );
408 addAlgorithm( new QgsDissolveAlgorithm() );
409 addAlgorithm( new QgsDownloadVectorTilesAlgorithm() );
410 addAlgorithm( new QgsDrapeToMAlgorithm() );
411 addAlgorithm( new QgsDrapeToZAlgorithm() );
412 addAlgorithm( new QgsDropTableFieldsAlgorithm() );
413 addAlgorithm( new QgsDropGeometryAlgorithm() );
414 addAlgorithm( new QgsDropMZValuesAlgorithm() );
415 addAlgorithm( new QgsDxfExportAlgorithm() );
416 addAlgorithm( new QgsExecutePostgisQueryAlgorithm() );
417 addAlgorithm( new QgsExecuteRegisteredSpatialiteQueryAlgorithm() );
418 addAlgorithm( new QgsExecuteSpatialiteQueryAlgorithm() );
419 addAlgorithm( new QgsExplodeAlgorithm() );
420 addAlgorithm( new QgsExplodeHstoreAlgorithm() );
421 addAlgorithm( new QgsExportGeometryAttributesAlgorithm() );
422 addAlgorithm( new QgsExportLayersInformationAlgorithm() );
423 addAlgorithm( new QgsExportLayerMetadataAlgorithm() );
424 addAlgorithm( new QgsExportMeshVerticesAlgorithm );
425 addAlgorithm( new QgsExportMeshFacesAlgorithm );
426 addAlgorithm( new QgsExportMeshEdgesAlgorithm );
427 addAlgorithm( new QgsExportMeshOnGridAlgorithm );
428 addAlgorithm( new QgsExportToPostgresqlAlgorithm );
429 addAlgorithm( new QgsExportToSpreadsheetAlgorithm() );
430 addAlgorithm( new QgsExtendLinesAlgorithm() );
431 addAlgorithm( new QgsExtentFromLayerAlgorithm() );
432 addAlgorithm( new QgsExtentToLayerAlgorithm() );
433 addAlgorithm( new QgsExtractBinaryFieldAlgorithm() );
434 addAlgorithm( new QgsExtractByAttributeAlgorithm() );
435 addAlgorithm( new QgsExtractByExpressionAlgorithm() );
436 addAlgorithm( new QgsExtractByExtentAlgorithm() );
437 addAlgorithm( new QgsExtractByLocationAlgorithm() );
438 addAlgorithm( new QgsExtractLabelsAlgorithm() );
439 addAlgorithm( new QgsExtractMValuesAlgorithm() );
440 addAlgorithm( new QgsExtractVerticesAlgorithm() );
441 addAlgorithm( new QgsExtractSpecificVerticesAlgorithm() );
442 addAlgorithm( new QgsExtractWithinDistanceAlgorithm() );
443 addAlgorithm( new QgsExtractZValuesAlgorithm() );
444 addAlgorithm( new QgsFieldCalculatorAlgorithm() );
445 addAlgorithm( new QgsFileDownloaderAlgorithm() );
446 addAlgorithm( new QgsFillNoDataAlgorithm() );
447 addAlgorithm( new QgsFillSinksWangLiuAlgorithm() );
448 addAlgorithm( new QgsFilterAlgorithm() );
449 addAlgorithm( new QgsFilterByGeometryAlgorithm() );
450 addAlgorithm( new QgsFilterByLayerTypeAlgorithm() );
451 addAlgorithm( new QgsFilterVerticesByM() );
452 addAlgorithm( new QgsFilterVerticesByZ() );
453 addAlgorithm( new QgsFindProjectionAlgorithm() );
454 addAlgorithm( new QgsFixGeometriesAlgorithm() );
455 addAlgorithm( new QgsFlattenRelationshipsAlgorithm() );
456 addAlgorithm( new QgsForceRHRAlgorithm() );
457 addAlgorithm( new QgsFuzzifyRasterLinearMembershipAlgorithm() );
458 addAlgorithm( new QgsFuzzifyRasterPowerMembershipAlgorithm() );
459 addAlgorithm( new QgsFuzzifyRasterLargeMembershipAlgorithm() );
460 addAlgorithm( new QgsFuzzifyRasterSmallMembershipAlgorithm() );
461 addAlgorithm( new QgsFuzzifyRasterGaussianMembershipAlgorithm() );
462 addAlgorithm( new QgsFuzzifyRasterNearMembershipAlgorithm() );
463 addAlgorithm( new QgsGenerateElevationProfileAlgorithm() );
464 addAlgorithm( new QgsGeometryByExpressionAlgorithm() );
465 addAlgorithm( new QgsGltfToVectorFeaturesAlgorithm() );
466#if QT_CONFIG( process )
467 addAlgorithm( new QgsConvertGpxFeatureTypeAlgorithm() );
468 addAlgorithm( new QgsConvertGpsDataAlgorithm() );
469 addAlgorithm( new QgsDownloadGpsDataAlgorithm() );
470 addAlgorithm( new QgsUploadGpsDataAlgorithm() );
471#endif
472 addAlgorithm( new QgsGridAlgorithm() );
473 addAlgorithm( new QgsHillshadeAlgorithm() );
474 addAlgorithm( new QgsImportPhotosAlgorithm() );
475 addAlgorithm( new QgsInterpolatePointAlgorithm() );
476 addAlgorithm( new QgsIntersectionAlgorithm() );
477 addAlgorithm( new QgsJoinByAttributeAlgorithm() );
478 addAlgorithm( new QgsJoinByLocationAlgorithm() );
479 addAlgorithm( new QgsJoinByLocationSummaryAlgorithm() );
480 addAlgorithm( new QgsJoinByNearestAlgorithm() );
481 addAlgorithm( new QgsJoinWithLinesAlgorithm() );
482 addAlgorithm( new QgsKeepNBiggestPartsAlgorithm() );
483 addAlgorithm( new QgsKMeansClusteringAlgorithm() );
484 addAlgorithm( new QgsLayerToBookmarksAlgorithm() );
485 addAlgorithm( new QgsLayoutMapExtentToLayerAlgorithm() );
486 addAlgorithm( new QgsLayoutAtlasToImageAlgorithm() );
487 addAlgorithm( new QgsLayoutAtlasToPdfAlgorithm() );
488 addAlgorithm( new QgsLayoutAtlasToMultiplePdfAlgorithm() );
489 addAlgorithm( new QgsLayoutToImageAlgorithm() );
490 addAlgorithm( new QgsLayoutToPdfAlgorithm() );
491 addAlgorithm( new QgsLineDensityAlgorithm() );
492 addAlgorithm( new QgsLineIntersectionAlgorithm() );
493 addAlgorithm( new QgsLineSubstringAlgorithm() );
494 addAlgorithm( new QgsLoadLayerAlgorithm() );
495 addAlgorithm( new QgsMeanCoordinatesAlgorithm() );
496 addAlgorithm( new QgsMergeLinesAlgorithm() );
497 addAlgorithm( new QgsMergeVectorAlgorithm() );
498 addAlgorithm( new QgsMeshRasterizeAlgorithm );
499 addAlgorithm( new QgsMeshContoursAlgorithm );
500 addAlgorithm( new QgsMeshExportCrossSection );
501 addAlgorithm( new QgsMeshExportTimeSeries );
502 addAlgorithm( new QgsMeshSurfaceToPolygonAlgorithm() );
503 addAlgorithm( new QgsMinimumEnclosingCircleAlgorithm() );
504 addAlgorithm( new QgsMultiDifferenceAlgorithm() );
505 addAlgorithm( new QgsMultiIntersectionAlgorithm() );
506 addAlgorithm( new QgsMultipartToSinglepartAlgorithm() );
507 addAlgorithm( new QgsMultiRingConstantBufferAlgorithm() );
508 addAlgorithm( new QgsMultiUnionAlgorithm() );
509 addAlgorithm( new QgsNearestNeighbourAnalysisAlgorithm() );
510 addAlgorithm( new QgsOffsetLinesAlgorithm() );
511 addAlgorithm( new QgsOrderByExpressionAlgorithm() );
512 addAlgorithm( new QgsOrientedMinimumBoundingBoxAlgorithm() );
513 addAlgorithm( new QgsOrthogonalizeAlgorithm() );
514 addAlgorithm( new QgsPackageAlgorithm() );
515 addAlgorithm( new QgsPixelCentroidsFromPolygonsAlgorithm() );
516 addAlgorithm( new QgsCreateArrayOffsetLinesAlgorithm() );
517 addAlgorithm( new QgsPointsInPolygonAlgorithm() );
518 addAlgorithm( new QgsPointOnSurfaceAlgorithm() );
519 addAlgorithm( new QgsPointToLayerAlgorithm() );
520 addAlgorithm( new QgsPointsAlongGeometryAlgorithm() );
521 addAlgorithm( new QgsPointsLayerFromTableAlgorithm() );
522 addAlgorithm( new QgsPointsToPathsAlgorithm() );
523 addAlgorithm( new QgsPoleOfInaccessibilityAlgorithm() );
524 addAlgorithm( new QgsPolygonizeAlgorithm() );
525 addAlgorithm( new QgsProjectPointCartesianAlgorithm() );
526 addAlgorithm( new QgsPromoteToMultipartAlgorithm() );
527 addAlgorithm( new QgsRaiseExceptionAlgorithm() );
528 addAlgorithm( new QgsRaiseWarningAlgorithm() );
529 addAlgorithm( new QgsRaiseMessageAlgorithm() );
530 addAlgorithm( new QgsRandomBinomialRasterAlgorithm() );
531 addAlgorithm( new QgsRandomExponentialRasterAlgorithm() );
532 addAlgorithm( new QgsRandomExtractAlgorithm() );
533 addAlgorithm( new QgsRandomGammaRasterAlgorithm() );
534 addAlgorithm( new QgsRandomGeometricRasterAlgorithm() );
535 addAlgorithm( new QgsRandomNegativeBinomialRasterAlgorithm() );
536 addAlgorithm( new QgsRandomNormalRasterAlgorithm() );
537 addAlgorithm( new QgsRandomPointsExtentAlgorithm() );
538 addAlgorithm( new QgsRandomPointsInPolygonsAlgorithm() );
539 addAlgorithm( new QgsRandomPointsOnLinesAlgorithm() );
540 addAlgorithm( new QgsRandomPoissonRasterAlgorithm() );
541 addAlgorithm( new QgsRandomUniformRasterAlgorithm() );
542 addAlgorithm( new QgsRasterCalculatorAlgorithm() );
543 addAlgorithm( new QgsRasterCalculatorModelerAlgorithm() );
544 addAlgorithm( new QgsRasterDtmSlopeBasedFilterAlgorithm() );
545 addAlgorithm( new QgsRasterFrequencyByEqualOperatorAlgorithm() );
546 addAlgorithm( new QgsRasterFrequencyByGreaterThanOperatorAlgorithm() );
547 addAlgorithm( new QgsRasterFrequencyByLessThanOperatorAlgorithm() );
548 addAlgorithm( new QgsRasterLayerPropertiesAlgorithm() );
549 addAlgorithm( new QgsRasterLayerUniqueValuesReportAlgorithm() );
550 addAlgorithm( new QgsRasterLayerZonalStatsAlgorithm() );
551 addAlgorithm( new QgsRasterLogicalAndAlgorithm() );
552 addAlgorithm( new QgsRasterLogicalOrAlgorithm() );
553 addAlgorithm( new QgsRasterMinMaxAlgorithm() );
554 addAlgorithm( new QgsRasterizeAlgorithm() );
555 addAlgorithm( new QgsRasterPixelsToPointsAlgorithm() );
556 addAlgorithm( new QgsRasterPixelsToPolygonsAlgorithm() );
557 addAlgorithm( new QgsRasterRankAlgorithm() );
558 addAlgorithm( new QgsRasterSamplingAlgorithm() );
559 addAlgorithm( new QgsRasterStackHighestPositionAlgorithm() );
560 addAlgorithm( new QgsRasterStackLowestPositionAlgorithm() );
561 addAlgorithm( new QgsRasterStatisticsAlgorithm() );
562 addAlgorithm( new QgsRasterSurfaceVolumeAlgorithm() );
563 addAlgorithm( new QgsAlgorithmRemoveDuplicateVertices() );
564 addAlgorithm( new QgsReclassifyByLayerAlgorithm() );
565 addAlgorithm( new QgsReclassifyByTableAlgorithm() );
566 addAlgorithm( new QgsRectanglesOvalsDiamondsAlgorithm() );
567 addAlgorithm( new QgsRefactorFieldsAlgorithm() );
568 addAlgorithm( new QgsRemoveDuplicatesByAttributeAlgorithm() );
569 addAlgorithm( new QgsRemoveHolesAlgorithm() );
570 addAlgorithm( new QgsRemoveNullGeometryAlgorithm() );
571 addAlgorithm( new QgsRenameLayerAlgorithm() );
572 addAlgorithm( new QgsRenameTableFieldAlgorithm() );
573 addAlgorithm( new QgsRepairShapefileAlgorithm() );
574 addAlgorithm( new QgsRescaleRasterAlgorithm() );
575 addAlgorithm( new QgsRetainTableFieldsAlgorithm() );
576 addAlgorithm( new QgsReverseLineDirectionAlgorithm() );
577 addAlgorithm( new QgsRotateFeaturesAlgorithm() );
578 addAlgorithm( new QgsRoundnessAlgorithm() );
579 addAlgorithm( new QgsRoundRasterValuesAlgorithm() );
580 addAlgorithm( new QgsRuggednessAlgorithm() );
581 addAlgorithm( new QgsSaveFeaturesAlgorithm() );
582 addAlgorithm( new QgsSaveLogToFileAlgorithm() );
583 addAlgorithm( new QgsSaveSelectedFeatures() );
584 addAlgorithm( new QgsSegmentizeByMaximumAngleAlgorithm() );
585 addAlgorithm( new QgsSegmentizeByMaximumDistanceAlgorithm() );
586 addAlgorithm( new QgsSelectByLocationAlgorithm() );
587 addAlgorithm( new QgsSelectWithinDistanceAlgorithm() );
588 addAlgorithm( new QgsServiceAreaFromLayerAlgorithm() );
589 addAlgorithm( new QgsServiceAreaFromPointAlgorithm() );
590 addAlgorithm( new QgsSetLayerEncodingAlgorithm() );
591 addAlgorithm( new QgsSetMetadataFieldsAlgorithm() );
592 addAlgorithm( new QgsSetMValueAlgorithm() );
593 addAlgorithm( new QgsSetProjectVariableAlgorithm() );
594 addAlgorithm( new QgsSetZValueAlgorithm() );
595 addAlgorithm( new QgsShapefileEncodingInfoAlgorithm() );
596 addAlgorithm( new QgsShortestLineAlgorithm() );
597 addAlgorithm( new QgsShortestPathLayerToPointAlgorithm() );
598 addAlgorithm( new QgsShortestPathPointToLayerAlgorithm() );
599 addAlgorithm( new QgsShortestPathPointToPointAlgorithm() );
600 addAlgorithm( new QgsSimplifyAlgorithm() );
601 addAlgorithm( new QgsSingleSidedBufferAlgorithm() );
602 addAlgorithm( new QgsSlopeAlgorithm() );
603 addAlgorithm( new QgsSmoothAlgorithm() );
604 addAlgorithm( new QgsSnapGeometriesAlgorithm() );
605 addAlgorithm( new QgsSnapToGridAlgorithm() );
606 addAlgorithm( new QgsSpatialIndexAlgorithm() );
607 addAlgorithm( new QgsSplitFeaturesByAttributeCharacterAlgorithm() );
608 addAlgorithm( new QgsSplitGeometryAtAntimeridianAlgorithm() );
609 addAlgorithm( new QgsSplitLinesByLengthAlgorithm() );
610 addAlgorithm( new QgsSplitVectorLayerAlgorithm() );
611 addAlgorithm( new QgsSplitWithLinesAlgorithm() );
612 addAlgorithm( new QgsStDbscanClusteringAlgorithm() );
613 addAlgorithm( new QgsStringConcatenationAlgorithm() );
614 addAlgorithm( new QgsStyleFromProjectAlgorithm() );
615 addAlgorithm( new QgsSubdivideAlgorithm() );
616 addAlgorithm( new QgsSumLineLengthAlgorithm() );
617 addAlgorithm( new QgsSwapXYAlgorithm() );
618 addAlgorithm( new QgsSymmetricalDifferenceAlgorithm() );
619 addAlgorithm( new QgsTaperedBufferAlgorithm() );
620 addAlgorithm( new QgsTinMeshCreationAlgorithm() );
621 addAlgorithm( new QgsTransectAlgorithm() );
622 addAlgorithm( new QgsTransferAnnotationsFromMainAlgorithm() );
623 addAlgorithm( new QgsTransformAlgorithm() );
624 addAlgorithm( new QgsTranslateAlgorithm() );
625 addAlgorithm( new QgsTruncateTableAlgorithm() );
626 addAlgorithm( new QgsUnionAlgorithm() );
627 addAlgorithm( new QgsUpdateLayerMetadataAlgorithm() );
628 addAlgorithm( new QgsOpenUrlAlgorithm() );
629 addAlgorithm( new QgsHttpRequestAlgorithm() );
630 addAlgorithm( new QgsVariableWidthBufferByMAlgorithm() );
631 addAlgorithm( new QgsVirtualRasterCalculatorAlgorithm() );
632 addAlgorithm( new QgsVirtualRasterCalculatorModelerAlgorithm() );
633 addAlgorithm( new QgsVoronoiPolygonsAlgorithm() );
634 addAlgorithm( new QgsWedgeBuffersAlgorithm() );
635 addAlgorithm( new QgsWriteVectorTilesXyzAlgorithm() );
636 addAlgorithm( new QgsWriteVectorTilesMbtilesAlgorithm() );
637 addAlgorithm( new QgsXyzTilesDirectoryAlgorithm() );
638 addAlgorithm( new QgsXyzTilesMbtilesAlgorithm() );
639 addAlgorithm( new QgsZonalHistogramAlgorithm() );
640 addAlgorithm( new QgsZonalMinimumMaximumPointAlgorithm() );
641 addAlgorithm( new QgsZonalStatisticsAlgorithm() );
642 addAlgorithm( new QgsZonalStatisticsFeatureBasedAlgorithm() );
643 addAlgorithm( new QgsPolygonsToLinesAlgorithm() );
644 addAlgorithm( new QgsDensifyGeometriesByIntervalAlgorithm() );
645 addAlgorithm( new QgsDensifyGeometriesByCountAlgorithm() );
646 addAlgorithm( new QgsFixGeometryOverlapAlgorithm() );
647 addAlgorithm( new QgsFixGeometryDeleteFeaturesAlgorithm() );
648 addAlgorithm( new QgsFixGeometryAngleAlgorithm() );
649 addAlgorithm( new QgsFixGeometryDuplicateNodesAlgorithm() );
650 addAlgorithm( new QgsFixGeometryMultipartAlgorithm() );
651 addAlgorithm( new QgsFixGeometrySelfIntersectionAlgorithm() );
652 addAlgorithm( new QgsFixGeometryGapAlgorithm() );
653 addAlgorithm( new QgsFixGeometryAreaAlgorithm() );
654 addAlgorithm( new QgsFixGeometryHoleAlgorithm() );
655 addAlgorithm( new QgsFixGeometryMissingVertexAlgorithm() );
656}
657
@ CompatibleWithVirtualRaster
The processing provider's algorithms can work with QGIS virtualraster data provider.
QFlags< ProcessingProviderFlag > ProcessingProviderFlags
Flags indicating how and when an processing provider operates and should be exposed to users.
Definition qgis.h:3438
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.
Scoped object for logging of the runtime for a single operation or group of operations.