公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
REST Resource: projects.locations.tables
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:表格
JSON 表示法 |
{
"name": string,
"expression": {
object (Expression )
},
"fileFormat": enum (TableFileFormat ),
"selectors": [
string
],
"filename": string
} |
字段 |
name |
string
表示缩略图的资源名称,格式为“projects/*/tables/**”(例如“projects/earthengine-legacy/tables/”)。
|
expression |
object (Expression )
要计算的表达式。必须求值为 FeatureCollection。
|
fileFormat |
enum (TableFileFormat )
用于生成生成的表的输出编码。
|
selectors[] |
string
可从指定表中选择的属性字段(可选)。
|
filename |
string
生成的表格的可选文件名。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eTables store data in rows and columns and can be created using an expression that evaluates to a FeatureCollection.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify the output format for the table data, such as CSV, GeoJSON, or Shapefile, using the \u003ccode\u003efileFormat\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eUse the \u003ccode\u003eselectors\u003c/code\u003e property to choose specific fields from the table data to include in the output.\u003c/p\u003e\n"],["\u003cp\u003eYou can provide a filename for the table using the \u003ccode\u003efilename\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eUse the \u003ccode\u003ecreate\u003c/code\u003e method to generate an ID that can be used to render table data.\u003c/p\u003e\n"]]],["This content describes a table resource with properties such as `name`, `expression`, `fileFormat`, `selectors`, and `filename`. The `expression` computes a `FeatureCollection`. `fileFormat` specifies the output encoding (e.g., CSV, GeoJSON, KML, SHP, TF_RECORD_TABLE). `selectors` allows selecting specific property fields, and `filename` sets the table's filename. The `create` method generates an ID for rendering \"table\" data.\n"],null,["# REST Resource: projects.locations.tables\n\nResource: Table\n---------------\n\nInformation about a table.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"expression\": { object (/earth-engine/reference/rest/v1/Expression) }, \"fileFormat\": enum (/earth-engine/reference/rest/v1/projects.locations.tables#Table.TableFileFormat), \"selectors\": [ string ], \"filename\": string } ``` |\n\n| Fields ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name representing the thumbnail, of the form \"projects/\\*/tables/\\*\\*\" (e.g. \"projects/earthengine-legacy/tables/\"). |\n| `expression` | `object (`[Expression](/earth-engine/reference/rest/v1/Expression)`)` The expression to compute. Must evaluate to a FeatureCollection. |\n| `fileFormat` | `enum (`[TableFileFormat](/earth-engine/reference/rest/v1/projects.locations.tables#Table.TableFileFormat)`)` The output encoding in which to generate the resulting table. |\n| `selectors[]` | `string` Optional property fields to select from the specified table. |\n| `filename` | `string` Optional filename of the resulting table. |\n\n### TableFileFormat\n\nSelects a tabular file format in which to encode a table of features.\n\n| Enums ||\n|---------------------------------|--------------------------------------------------------------|\n| `TABLE_FILE_FORMAT_UNSPECIFIED` | Unspecified. |\n| `CSV` | Comma-separated value format. |\n| `GEO_JSON` | GeoJSON FeatureCollection format. See \u003chttp://geojson.org/\u003e. |\n| `KML` | Keyhole Markup Language format. |\n| `KMZ` | Zip-compressed Keyhole Markup Language format. |\n| `SHP` | Shapefile format. |\n| `TF_RECORD_TABLE` | TFRecord format. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------|--------------------------------------------------------|\n| ### [create](/earth-engine/reference/rest/v1/projects.locations.tables/create) | Creates an ID that can be used to render \"table\" data. |"]]