예제 #1
0
파일: gdal.go 프로젝트: kikht/gdal
// Set default Raster Attribute Table
func (rasterBand RasterBand) SetDefaultRAT(rat RasterAttributeTable) error {
	err := C.GDALSetDefaultRAT(rasterBand.cval, rat.cval)
	if err != 0 {
		return error(err)
	}

	return nil
}
예제 #2
0
파일: gdal.go 프로젝트: colek42/gdal
// Set default Raster Attribute Table
func (rasterBand RasterBand) SetDefaultRAT(rat RasterAttributeTable) error {
	return C.GDALSetDefaultRAT(rasterBand.cval, rat.cval).Err()
}