Computes a set of features by applying an arbitrary computation to features in one or more tables. Results are returned as a list of GeoJSON feature objects.
HTTP request
POST https://earthengine.googleapis.com/v1/{project=projects/*}/table:computeFeatures
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project |
The project id or project number of the Google Cloud Platform project that should be treated as the service consumer for this request. Format is Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"expression": {
object ( |
Fields | |
---|---|
expression |
The expression to compute. |
page |
The maximum number of results per page. The server may return fewer features than requested. If unspecified, the page size default is 1000 results per page. |
page |
A token identifying a page of results the server should return. Typically, this is the value of |
workload |
User supplied tag to track this computation. |
Response body
Response message for EarthEngineService.ComputeFeatures.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"type": string,
"features": [
{
object ( |
Fields | |
---|---|
type |
Always contains the constant string "FeatureCollection", marking this as a GeoJSON FeatureCollection object. |
features[] |
The list of features matching the query, as a list of GeoJSON feature objects (see RFC 7946) containing the string "Feature" in a field named "type", the geometry in a field named "geometry", and key/value properties in a field named "properties". |
next |
A token to retrieve the next page of results. Pass this value in the |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/earthengine.readonly
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
For more information, see the Authentication Overview.