id: version-0.66.0-org.apache.streampipes.processors.geo.jvm.processor.speed title: Speed Calculator sidebar_label: Speed Calculator original_id: org.apache.streampipes.processors.geo.jvm.processor.speed


Description

Calculates the speed (in km/h) based on latitude/longitude values in a data stream. Therefore it uses the GPS and timestamps values of consecutive events. It calculates the distance between two points (events) and how much time has passed. Based on those values the speed is calculated.


Required input

Requires a data stream that provides latitude and longitude values as well as a timestamp.


Configuration

Timestamp field

Latitude field

Longitude field

Count window

Describes the number of stored events, used for the calculation. E.g. a value of 5 means that thhe current event and the event (t-5) are used for the speed calculation.

Output

Appends the calculated speed in km/h.