Earth Engine is introducing
noncommercial quota tiers to safeguard shared compute resources and ensure reliable performance for everyone. All noncommercial projects will need to select a quota tier by
April 27, 2026 or will use the Community Tier by default. Tier quotas will take effect for all projects (regardless of tier selection date) on
April 27, 2026.
Learn more.
ee.data.listFeatures
Stay organized with collections
Save and categorize content based on your preferences.
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."],[],["The core functionality involves listing features for a specified table asset. The `ee.data.listFeatures` function accepts an asset ID (`asset`) and request parameters (`params`). Parameters include `pageSize`, `pageToken`, `region`, and `filter`. It can optionally take a `callback` function for asynchronous calls. The function returns a `api.ListFeaturesResponse` object containing the features list, or it returns `null` if a callback is provided. It retrieves information from an asset and allows filtering and pagination.\n"]]