MCPcopy Create free account
hub / github.com/OSGeo/gdal / GetString

Function GetString

alg/zonal.cpp:652–712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650 }
651
652 static const char *GetString(Stat s)
653 {
654 switch (s)
655 {
656 case CENTER_X:
657 return "center_x";
658 case CENTER_Y:
659 return "center_y";
660 case COUNT:
661 return "count";
662 case COVERAGE:
663 return "coverage";
664 case FRAC:
665 return "frac";
666 case MAX:
667 return "max";
668 case MAX_CENTER_X:
669 return "max_center_x";
670 case MAX_CENTER_Y:
671 return "max_center_y";
672 case MEAN:
673 return "mean";
674 case MIN:
675 return "min";
676 case MIN_CENTER_X:
677 return "min_center_x";
678 case MIN_CENTER_Y:
679 return "min_center_y";
680 case MINORITY:
681 return "minority";
682 case MODE:
683 return "mode";
684 case STDEV:
685 return "stdev";
686 case SUM:
687 return "sum";
688 case UNIQUE:
689 return "unique";
690 case VALUES:
691 return "values";
692 case VARIANCE:
693 return "variance";
694 case VARIETY:
695 return "variety";
696 case WEIGHTED_FRAC:
697 return "weighted_frac";
698 case WEIGHTED_MEAN:
699 return "weighted_mean";
700 case WEIGHTED_SUM:
701 return "weighted_sum";
702 case WEIGHTED_STDEV:
703 return "weighted_stdev";
704 case WEIGHTED_VARIANCE:
705 return "weighted_variance";
706 case WEIGHTS:
707 return "weights";
708 case INVALID:
709 break;

Callers 1

GetStatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected