| 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 | { |