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