公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.Blob
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
從 Google Cloud Storage 網址載入 Blob。
引數 | 類型 | 詳細資料 |
---|
url | 字串 | Blob 的 Google Cloud Storage 網址。您必須能夠存取值區中繼資料 (需要 `storage.buckets.get` 權限,該權限由「Storage 舊版值區讀取者」等角色提供,請參閱 https://cloud.google.com/storage/docs/access-control/iam-roles),且值區必須位於美國多地區、包含 US-CENTRAL1 的雙重地區,或 US-CENTRAL1 地區。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eLoads data objects, referred to as Blobs, from a specified Google Cloud Storage location.\u003c/p\u003e\n"],["\u003cp\u003eTakes a Google Cloud Storage URL as input for accessing the Blob data.\u003c/p\u003e\n"],["\u003cp\u003eReturns a Blob object, which can then be further used within the Earth Engine environment.\u003c/p\u003e\n"],["\u003cp\u003eThe syntax for usage is ee.Blob(url), where ‘url’ represents the Blob's Google Cloud Storage URL.\u003c/p\u003e\n"]]],[],null,["# ee.Blob\n\nLoads a Blob from a Google Cloud Storage URL.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------|---------|\n| `ee.Blob(url)` | Blob |\n\n| Argument | Type | Details |\n|----------|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `url` | String | The Blob's Google Cloud Storage URL. The bucket metadata must be accessible (requires the \\`storage.buckets.get\\` permission which is provided by the role \"Storage Legacy Bucket Reader\" among others, see https://cloud.google.com/storage/docs/access-control/iam-roles) and the bucket must be located in the US multi-region, a dual-region including US-CENTRAL1, or theUS-CENTRAL1 region. |"]]