Grid Coverage Analyzer

Computes spatio-temporal coverage statistics from Map-Matched trajectories based on a customizable grid.

Given a set of map-matched trajectories, splits a geographic area into a grid and computes how often each grid cell is visited.

Node description

This node allows users to define a custom grid over a given geographical area by specifying a bounding box, a number of rows and a number of columns. It then proceeds to compute the number of times each grid cell was visited by one of the agents performing the input map-matched trajectories. A visit to a grid cell is considered valid if the agent is entering that cell for the first time, or if the time between the current visit and the previous one is more than a threshold (in minutes), which can be customized in the input dialog. The node offers two output tables, one considering the whole input data-set and the other grouping the coverage information by day.

Configuration options

  • Min Y The minimum Latitude of the grid.
  • Max Y The maximum Latitude of the grid.
  • Min X The minimum Longitude of the grid.
  • Max X The maximum Longitude of the grid.
  • Number of rows The number of rows of the grid.
  • Number of columns The number of columns of the grid.
  • Minimum time between visits The minimum number of minutes for two subsequent visits by the same vehicle to be considered distinct.

Inputs and outputs

  • Input port Route Steps - The input data must contain the following information:

    • an integer representing the vehicle id.
    • a LocalDateTime containing information on the moment at which the traversal of the road segment began.
    • a LocalDateTime containing information on the moment at which the traversal of the road segment ended.
    • a geometry object representing the road segment, encoded as a WKT Linestring
  • Output port Grid Coverage Data By Day - Information on how often a grid cell was visited, broken down by day and by time slots within a day.

  • Output port Grid Coverage Data - Information on how often a grid cell was visited, aggregated over the entire timespan of the provided data.