The Filter by Time Range tool
filters features using a specified time before, time after, or time range. Each feature's Start time key field value is evaluated by the time range specified. Features that the specified time range evaluates as true are retained.
Examples
A continuación se exponen algunos ejemplos de uso de la herramienta:
- A real-time analytic uses the Filter by Time Range tool to retain only the incoming records from a feed in which the feature Start time key field value is After 2019-09-01 06:00.
- A real-time analytic uses the Filter by Time Range tool to retain only the incoming records from a feed in which the feature Start time key field value is Between 2019-09-01 15:00 to 2019-09-15 03:00.
Usage notes
Tenga en cuenta lo siguiente cuando trabaje con la herramienta:
- The Filter by Time Range tool filters features based upon the defined Start time key field value. The Start time key field is specified when you configure a feed or a source.
- This tool does not require geometry.
Parameters
A continuación se indican los parámetros de la herramienta:
| Parameter | Description | Data type |
|---|---|---|
| Input Layer | The layer that is filtered. | Entidades |
| Time Range | A time range that evaluates all of the records to filter the incoming data. Records evaluated as true are retained, and records evaluated as false are discarded. The Time Range options include Before, After, and Between. Use the time picker to choose a single date and time (Before or After) or a range of date and time (Between). | Cadena de caracteres |
Output layer
The Filter by Time Range tool does not alter incoming features; the output layer contains the same fields and attribute values as the incoming features.
Consideration and limitation
Tenga en cuenta lo siguiente cuando trabaje con la herramienta:
Velocity tools expect source data dates and times to be stored in UTC. Arcade functions such as ChangeTimeZone can be used to convert data represented in a local time zone to UTC.