How to add the occupancy status in a transport template

This is an example of the required configurations to broadcast the occupancy status for busses with your transit data.

 

available with:
Windows Player : Starter, Pro, Premium
Web Player : Starter, Pro, Premium
LG webOS Signage Player : Starter, Pro, Premium
Samsung SMART Signage Platform (SSSP / Tizen) Player : Starter, Pro, Premium
Brightsign Player: Starter, Pro, Premium
Android Player: Starter, Pro, Premium
Linux Player: Starter, Pro, Premium
macOS Player: Starter, Pro, Premium

 

The example in this article demonstrates the procedure that you must follow to add icons that represent the vehicle occupancy status from your GTFS data in a transport clip template.  For the following example, the configuration will be completed with the following values
Occupation_1 = 0 (empty) ou 1 (many seats available)
Occupation_2 = 2 (few seats available)
Occupation_Full = 3 (standing room only), 4 (crushed standing room only), 5 (full), 6 (not accepting passengers)

Note: You can use the followin URL as a reference if you need to know where you find, or configure, this information in your GTFS feed.
https://gtfs.org/realtime/feed-entities/vehicle-positions/#occupancystatus


Once connected to the ITESLIVE Studio, click on the "Configuration" tab and select the "Templates management" entry.
01

Navigate to the desired template and click on it in the list on the left-hand side of the template management window. Once the template is highlighted in gray, click on the "Edit template" button in the top of the window.
02

Double-click the list in the center of the template to access the list's context and see the layer list located in the list.
03

 

Once in the list's context, click on the button to add a layer on the right-hand side of the template editor.
04
05

Name the layer "Occupancy 1" and click on the "Ok" button.
06

Select the image tool in the list on the left-hand side of the template editor and place it in the template.
07
08

Configure the image tool with the following values

  • X: 374
  • Y: 400
  • W: 110
  • H: 66

09

Double-click on the image tool to configure its content.
09

 

Once in the configuration window for the image tool, click on the "Select" button.
10

Navigate to the icons you wish to use, if you have already uploaded them to the Studio. 

Note: If you haven't upload the icons on the Studio yet, you can follow the steps in the following article to do so.
https://support.itesmedia.tv/en/how-to-upload-new-files


Select the desired image and click on the "Select" button in the bottom right-hand corner of the window.
11

Click on the "Save" button in the bottom right-hand corner of the window.
12

Once the image is visible in the template, click on the condition configuration button for the image tool.
13

Once the condition configuration window, click on the "+" icon.
14

Configure a condition with the following values.

  • Condition: Data
  • DataSource: GTFS
  • Node: GtfsTransportData -> Routes -> Trip1 -> Vehicle -> OccupancyStatus
  • Operator: Equals
  • Condition: Static
  • Value: 0
  • Quantificator: None

Once the first condition is configured, click on the "+" icon under it.
15

Configure the following values for the second condition.

  • Condition: Data
  • DataSource: GTFS
  • Node: GtfsTransportData -> Routes -> Trip1 -> Vehicle -> OccupancyStatus
  • Operator: Equals
  • Condition: Static
  • Value: 1
  • Quantificator: None

Now click on the icon that resembles a floppy disk in the top right-hand corner of the window.
16

Once the condition is visible on the left-hand side of the window, click on the "X" button to exit it.
17

Now add a second layer named "Occupation 2".

Note: If you need a reminder on how to do that, click here.


One the layer is visible in the list on the left-hand side of the template editor, add an image tool with the following configurations.

  • X: 374
  • Y: 400
  • W: 110
  • H: 66

09

Double-click on the image tool to configure its content.
18

Select the second image you wish to use to represent the occupation status.

Note: If you need a reminder on how to do this, click here.


Once the image is visible in the template editor, click on the condition configuration button for the image tool.
19

Once in the condition configuration window, click on the "+" icon.
20

Configure a condition with the following values.

  • Condition: Data
  • DataSource: GTFS
  • Node: GtfsTransportData -> Routes -> Trip1 -> Vehicle -> OccupancyStatus
  • Operator: Equals
  • Condition: Static
  • Valeur: 2
  • Quantificator: None

Now click on the icon that resembles a floppy disk in the top right-hand corner of the window.
21

When the condition is visible on the left-hand side of the window, click the "X" icon to exit it.
22

Now add a third layer named "Occupation 3".

Note: If you need a reminder on how to do this click here.


Once the layer is visible in the list on the right-hand side of the template editor, add an image tool with the following configurations.

  • X: 374
  • Y: 400
  • W: 110
  • H: 66

09

Double-clik on the image tool to configure its content.
23

Select the third image that you wish to use to represent the occupation status.

Note: If you need a reminder on how to do so, click here.


Once the image is visible in the template edior, click on the condition configuration button for the image tool.
24

Once in the condition configuration window, click on the "+" icon.
25-1

Configure a condition with the following values.

  • Condition: Data
  • DataSource: GTFS
  • Node: GtfsTransportData -> Routes -> Trip1 -> Vehicle -> OccupancyStatus
  • Operator: Equals
  • Condition: Static
  • Valeur: 3
  • Quantificator: None

Once the first condition has been configured, click on the "+"  under it.
26

In this case, you need to configure 3 additional conditions. The following are the configurations for these conditions.

  • Condition 1
    • Condition: Data
    • DataSource: GTFS
    • Node: GtfsTransportData -> Routes -> Trip1 -> Vehicle -> OccupancyStatus
    • Operator: Equals
    • Condition: Static
    • Value: 4
    • Quantificator: None
  • Condition 2
    • Condition: Data
    • DataSource: GTFS
    • Node: GtfsTransportData -> Routes -> Trip1 -> Vehicle -> OccupancyStatus
    • Operator: Equals
    • Condition: Static
    • Value: 5
    • Quantificator: None
  • Condition 3
    • Condition: Data
    • DataSource: GTFS
    • Node: GtfsTransportData -> Routes -> Trip1 -> Vehicle -> OccupancyStatus
    • Operator: Equals
    • Condition: Static
    • Value: 6
    • Quantificator: None

Now click on the icon that resembles a floppy disk in the top right-hand corner of the window.
27

Once the condition is visible on the left-hand side of the window, click the "X" button to exit it.
28


Click on the template's name in the top left-hand corner of the template editor to return to the template's global context.
29

Click on the icon that resembles a floppy disk in the top left-hand corner of the template editor to save your modifications.
30

The following is a sample of the result in a display.
31