REST Resource: projects.locations.tables

  • A Table resource provides information about a table including its JSON representation and fields.

  • Key fields include name, expression, fileFormat, selectors, and filename, each serving a specific purpose in defining and processing the table.

  • The TableFileFormat enum lists various supported output encodings for the resulting table, such as CSV, GeoJSON, KML, and others.

  • A method is available to create an ID for rendering table data.

Resource: Table

Information about a table.

JSON representation
{
  "name": string,
  "expression": {
    object (Expression)
  },
  "fileFormat": enum (TableFileFormat),
  "selectors": [
    string
  ],
  "filename": string
}
Fields
name

string

The resource name representing the thumbnail, of the form "projects/*/tables/**" (e.g. "projects/earthengine-legacy/tables/").

expression

object (Expression)

The expression to compute. Must evaluate to a FeatureCollection.

fileFormat

enum (TableFileFormat)

The output encoding in which to generate the resulting table.

selectors[]

string

Optional property fields to select from the specified table.

filename

string

Optional filename of the resulting table.

TableFileFormat

Selects a tabular file format in which to encode a table of features.

Enums
TABLE_FILE_FORMAT_UNSPECIFIED Unspecified.
CSV Comma-separated value format.
GEO_JSON GeoJSON FeatureCollection format. See http://geojson.org/.
KML Keyhole Markup Language format.
KMZ Zip-compressed Keyhole Markup Language format.
SHP Shapefile format.
TF_RECORD_TABLE TFRecord format.

Methods

create

Creates an ID that can be used to render "table" data.