公告:所有在
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 格式(“已知文本”)的坐标参考系。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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 the dimensions of the pixel grid (\u003ccode\u003edimensions\u003c/code\u003e) and an affine transform (\u003ccode\u003eaffineTransform\u003c/code\u003e) if applicable.\u003c/p\u003e\n"],["\u003cp\u003eSpecifies the coordinate reference system (CRS) of the pixel grid using either a standard code (\u003ccode\u003ecrsCode\u003c/code\u003e) or Well-Known Text (\u003ccode\u003ecrsWkt\u003c/code\u003e).\u003c/p\u003e\n"]]],["The content describes a pixel grid on Earth's surface defined by a map projection. Key data includes `dimensions` and an optional `affineTransform` for post-projection affine transformations. The coordinate reference system (`crs`) is defined via either a standard `crsCode` (e.g., \"EPSG:4326\") or, if non-standard, a `crsWkt` (Well-Known Text) string. The `crs` fields are mutually exclusive, with only one being populated.\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/v1/GridDimensions) }, \"affineTransform\": { object (/earth-engine/reference/rest/v1/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/v1/GridDimensions)`)` The dimensions of the pixel grid. |\n| `affineTransform` | `object (`[AffineTransform](/earth-engine/reference/rest/v1/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\"). |"]]