公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
PixelGrid
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
透過地圖投影,定義地球表面的像素格線。如果投影有標準代碼,則會設定 crsCode
(非空白)。如果投影方式是非標準投影方式,則會設定 crsWkt
。如果後投影轉換為仿射,則會設定 affineTransform
。
JSON 表示法 |
{
"dimensions": {
object (GridDimensions )
},
"affineTransform": {
object (AffineTransform )
},
// Union field crs can be only one of the following:
"crsCode": string,
"crsWkt": string
// End of list of possible types for union field crs .
} |
欄位 |
dimensions |
object (GridDimensions )
像素格線的尺寸。
|
affineTransform |
object (AffineTransform )
仿射變換。
|
聯集欄位 crs 。像素格線的座標參考系統,請盡可能指定為標準代碼,否則請使用 WKT 格式。crs 只能是下列其中一項: |
crsCode |
string
標準座標參考系統代碼 (例如「EPSG:4326」)。
|
crsWkt |
string
WKT 格式 (「Well-Known Text」) 的座標參考系統。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eDefines a pixel grid on Earth's surface using a map projection, potentially with a standard code (\u003ccode\u003ecrsCode\u003c/code\u003e) or a custom projection (\u003ccode\u003ecrsWkt\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eIncludes details about the pixel grid's dimensions (\u003ccode\u003edimensions\u003c/code\u003e), an optional affine transformation (\u003ccode\u003eaffineTransform\u003c/code\u003e), and the coordinate reference system.\u003c/p\u003e\n"],["\u003cp\u003eThe coordinate reference system can be expressed either as a standard code like "EPSG:4326" or using the Well-Known Text (WKT) format.\u003c/p\u003e\n"]]],[],null,["# PixelGrid\n\nDefines a pixel grid on the surface of the Earth, via a map projection. If the projection has a standard code, then `crsCode` will be set (non-empty). If the projection is non-standard, then `crsWkt` will be set. If the post-projection transformation is affine, then `affineTransform` will be set.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"dimensions\": { object (/earth-engine/reference/rest/v1alpha/GridDimensions) }, \"affineTransform\": { object (/earth-engine/reference/rest/v1alpha/AffineTransform) }, // Union field `crs` can be only one of the following: \"crsCode\": string, \"crsWkt\": string // End of list of possible types for union field `crs`. } ``` |\n\n| Fields ||\n|-------------------|----------------------------------------------------------------------------------------------------------------------|\n| `dimensions` | `object (`[GridDimensions](/earth-engine/reference/rest/v1alpha/GridDimensions)`)` The dimensions of the pixel grid. |\n| `affineTransform` | `object (`[AffineTransform](/earth-engine/reference/rest/v1alpha/AffineTransform)`)` The affine transform. |\n| Union field `crs`. The coordinate reference system of the pixel grid, specified as a standard code where possible, and in WKT format otherwise. `crs` can be only one of the following: ||\n| `crsCode` | `string` A standard coordinate reference system code (e.g. \"EPSG:4326\"). |\n| `crsWkt` | `string` A coordinate reference system in WKT format (\"Well-Known Text\"). |"]]