Speeding Expression

The Speeding Expression plugin allows you to create Event Rules based on real speed limits from OSM (openstreetmap.org), while allowing you to provide fallback values when real speed limit is not available.

This guide explains how to install and setup the Speeding Expression.

Setup

  1. Login to Site Admin > Plugins > Get More Plugins and install SpeedingExpression
  2. In Site Admin, navigate to Privileges and Features > PluginsSpeedingExpression and enable _EditSpeedingExpression
  3. Click on Save

Legacy licensing model

If you are using legacy licenses, follow these steps to request Speeding Expression plugin:

  1. Obtain a GpsGate Map client API key by emailing support@gpsgate.com. Please supply the hostname / IP address of the server(s) that will use the API key.
  2. Once obtained, in Site Admin, navigate to Settings > Services Account > Api Key and paste your key here.
  3. Click on Save

The next step is to create an Event Rule that will make use of this feature.

Speeding Expression: Event Rule

1. Login to the application and go to Admin > Event Rules

2. Continue until step 4. Expression and select here Speeding Expression.

mceclip0.png

3. Once selected, a form will be shown listing different road types.

Fill on the Limits for the speeds on each of those road types. We have provided you with some default values, however those should be adjusted to correspond to your region limits.

In the middle column you have Multipliers. In most situations, you want to keep this column with the value 1.

The third column Tolerances allows you to define the tolerance value for which the over-speeding will be triggered. This speed is added to the Limit in the first column.

mceclip1.png

4. Once you have filled the values, complete the event rule setup and click on Save at the end.

Notification Variables

Three variables are added with the Speeding Expression. Those can be used in different Notifiers such as Arguments or Report Arguments.

Variables related to Speed Expression:

Variable Description
SPEEDING_SPEED_LIMIT The speed limit used during the evaluation of the Event Rule
SPEEDING_ROAD_CATEGORY The road category such as Motorway or Primary road
SPEEDING_IS_SPEED_FALLBACK True if the speed limit used was a fallback value, otherwise false (data taken from OSM)

 

About OSM (OpenStreetMap)

OpenStreetMap is an open source map data service created by users all around the world.

“OpenStreetMap powers map data on thousands of web sites, mobile apps, and hardware devices. OpenStreetMap is built by a community of mappers that contribute and maintain data about roads, trails, cafés, railway stations, and much more, all over the world.”

As a “mapper” you can improve the speed data for your area, read more at: https://www.openstreetmap.org/about