REST Resource: projects.locations.tables
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tài nguyên: Bảng
Biểu diễn dưới dạng JSON |
{
"name": string,
"expression": {
object (Expression )
},
"fileFormat": enum (TableFileFormat ),
"selectors": [
string
],
"filename": string
} |
Trường |
name |
string
Tên tài nguyên đại diện cho hình thu nhỏ, có dạng "projects/*/tables/**" (ví dụ: "projects/earthengine-legacy/tables/").
|
expression |
object (Expression )
Biểu thức cần tính toán. Phải đánh giá thành FeatureCollection.
|
fileFormat |
enum (TableFileFormat )
Bộ mã hoá đầu ra để tạo bảng kết quả.
|
selectors[] |
string
Các trường thuộc tính không bắt buộc để chọn trong bảng đã chỉ định.
|
filename |
string
Tên tệp không bắt buộc của bảng kết quả.
|
Phương thức |
|
Tạo một mã nhận dạng có thể dùng để hiển thị dữ liệu "bảng". |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eTables in Earth Engine store data in tabular format and can be generated from FeatureCollections using expressions.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify the output format for the table, choosing from options like CSV, GeoJSON, KML, KMZ, SHP, and TFRecord.\u003c/p\u003e\n"],["\u003cp\u003eTable data can be accessed and rendered using a unique ID created through the Earth Engine API.\u003c/p\u003e\n"],["\u003cp\u003eOptional fields can be selected from the table data, and a custom filename can be specified for the output file.\u003c/p\u003e\n"]]],["The table data structure includes `name`, `expression`, `fileFormat`, `selectors`, and `filename`. `Expression` computes a FeatureCollection, while `fileFormat` specifies the output encoding, with options like CSV, GeoJSON, KML, KMZ, SHP, and TF_RECORD_TABLE. `Selectors` allow selecting fields from the table and `filename` sets a specific output filename. A method, `create`, generates an ID for rendering this \"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/v1beta/Expression) }, \"fileFormat\": enum (/earth-engine/reference/rest/v1beta/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/v1beta/Expression)`)` The expression to compute. Must evaluate to a FeatureCollection. |\n| `fileFormat` | `enum (`[TableFileFormat](/earth-engine/reference/rest/v1beta/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/v1beta/projects.locations.tables/create) | Creates an ID that can be used to render \"table\" data. |"]]