嗨@jdhgetmaxvalue()或getMinValue()方法返回一个具体平铺类的实例,您可以通过该实例的特殊数据成员_class__获取该类。是这样的。
tileClass = band.getMaxValue ()。__class__ tile = tileClass(numTileRows, numTileCols) bandData= band.getTile(0, 0, tile).getData()
注意FMEBand。getTile method requires start row index and start column index in the cells matrix of the band from where the tile should be created, as its first and second parameters.您的设置(numTileRows、numTilCols)可能会生成一个超出边界的平铺。