ee.data.listFeatures
List features for a given table asset.
Returns the call results. Null if a callback is specified.
Usage | Returns | ee.data.listFeatures(asset, params, callback) | api.ListFeaturesResponse |
Argument | Type | Details | asset | String | The table asset ID to query. |
params | api.ProjectsAssetsListFeaturesNamedParameters | An object containing request parameters with the following possible values:
pageSize (number): An optional maximum number of results per page, default is 1000. |
pageToken (string): An optional token identifying a page of results the server should return, usually taken from the response object. |
region (string): If present, a geometry defining a query region, specified as a GeoJSON geometry string (see RFC 7946). |
filter (comma-separated strings): If present, specifies additional simple property filters (see https://google.aip.dev/160). |
|
callback | Function, optional | An optional callback, called with two parameters: the first is the resulting list of features and the second is an error string on failure. If not supplied, the call is made synchronously. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-20 UTC.
[null,null,["Last updated 2024-02-20 UTC."],[[["Lists features for a specified table asset using its ID."],["Allows optional parameters for filtering, pagination, and regional queries."],["Returns an `api.ListFeaturesResponse` object containing the features or null if a callback function is provided."],["Optionally accepts a callback function for asynchronous execution, receiving the features and potential errors."]]],[]]