Feature Filter

Description of spatial and attribute filters that will be applied to Feature data. For example, used in Fence Parameters for Geotriggers.

Referenced by: Feature Fence Parameters

Properties

Property Details
geometry An optional geometry used to filter the features from a feature table. Any features that intersect the area of interest will be used. It can be any of the supported geometry types.
where An optional SQL-based definition expression string that narrows the data to be used. Any features that satisfy the query will be used.

Feature filter Example

{
  "where": "STATE = 'California'",
  "geometry": {
    "x": 13871520.850500003,
    "y": 3910293.086000003,
    "spatialReference": {
      "wkid": 102100,
      "latestWkid": 3857
    }
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.