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