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

Function GetFieldIndex

alg/zonal.cpp:762–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

760 }
761
762 int GetFieldIndex(int iBand, Stat eStat) const
763 {
764 auto it = m_statFields.find(iBand);
765 if (it == m_statFields.end())
766 {
767 return -1;
768 }
769
770 return it->second[eStat];
771 }
772
773 OGREnvelope ToEnvelope(const GDALRasterWindow &window) const
774 {

Callers 1

SetStatFieldsFunction · 0.70

Calls 1

endMethod · 0.45

Tested by

no test coverage detected