[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-26 (世界標準時間)。"],[[["`sampleRectangle` extracts a rectangular region of pixels from a specified image into a multidimensional array for each band, preserving the image's original properties."],["The extracted region is defined by a geometry or defaults to the image's footprint, with each band sampled in its native projection."],["Output arrays are 2D for scalar bands and (2+N)D for array bands, where N represents the original band's dimensions, utilizing default values for masked or out-of-bounds pixels if provided."],["Users can customize the properties carried over from the original image and specify default values for masked or out-of-bounds pixel values."]]],["It extracts a rectangular pixel region from an image into an ND array per band, returning a feature with the same properties and geometry as the input. Bands are sampled in their input projection using a specified region or the image footprint. Output arrays are 2D for scalar bands and (2+N)D for array bands. If a sampled region is entirely masked, a specified default value or array is used. Properties from the image can be copied.\n"]]