User:Atrophicshiner/Guide to toll price mappping

From Wazeopedia

< User:Atrophicshiner

Revision as of 15:21, 27 November 2019 by Atrophicshiner (talk | contribs) (Testing)

Access

The toll price mapping tool can be found at https://tolls.waze.com/welcome.html.

You need to be registered to use this tool, your Waze credentials will not work by default. Access is restricted due to the complex nature of using the tool and the need for some control to be kept on what data is being submitted for public use. Contact your regional Coordinator if you are interested in being part of toll price mapping.

Tool interface

Welcome tab

Here you will find some announcement, useful information, and other links to related resources.

Toll Prices tab

Open

Toll files have 4 statuses;

  •  production  - a file that has been uploaded and is being used to calculate toll prices in the client
  •  prod old  - a file that has been edited since it was last uploaded, the previous version of this file is being use to calculate prices in the client app
  •  public  - a file that has been made available for all tool users to view and test
  •  private  - a file that only yourself, the creator, can see and test.

Using the My Files, Public, or the search box you can filter files as required. You can also  load  a file for you to view and edit a local copy, or load a file into the  playground  for testing. You can only  delete  a file you have created.

Save and export

The large text box should display all of the input toll data that will be saved within the toll file, this is saved as a minified JSON file.

You should choose a name that best reflects the toll(s) that as mapped in the file. The suggested naming convention is Country_State_Area [example: US_CS_Downtown]. You should consult with your community on what standard is being used as toll files can be a single toll in a single direction, or all tolls within a state, or even a country.

The system will not check if you have already used the same file name and will overwrite any existing file you have already created. Any existing file data will be lost.
You are unable to save a file with the same name that has already been used by another user.

When you save a file you can also select whether to  make public  and / or  load to playground  for testing.

Clear All

This clears all current tolls showing in the edit area. It does not delete files, nor remove loaded data from the playground.

If you have not saved your work and clear the data it can not be retrieved.

add tolls

This adds a new toll line into the edit area for you to map a toll and its pricing.

Playground tab

Show Waze Toll Segments for Current View - When zoomed in to a given area this will  highlight  segments mapped in WME using the toll attribute. The known segments do not update with map tile builds, nor does this show partial toll segments [those mapped with a toll-free restriction]. It is unknown if this snapshot will be updated.

Show Loaded Tolls - When you have a toll file loaded into the playground, via either the Open or Save and export menu, this will zoom to the corresponding area and  highlight  all tolls mapped within the file, based on the polyline data.

Clear Loaded Tolls - This will remove all tolls previously loaded into the playground. This is useful when you have changed a toll file and the old version was loaded into the playground and want to test the changes.

Find - Allows you to find a location based on WME permalink or segment ID.

Testing

User Permit ID - If you are testing a toll that has associated permits, also known as passes, enter the exact permit ID [example: tollroad-uk], leave blank for no permit.

Vehicle - Select the vehicle type you wish to use for testing.

Travel Day - Select the date you wish to test from the calendar or type the date [format: MM/DD/YYYY].

Travel Time - Select the time of day you wish to test.

  1. To test a toll price you should first ensure you have loaded it into the playground.
  2. You can then use the draw a line button [top centre of map]. Choose your start [click once] and the end [click twice] to create a route.
  3. This route is based on the WME segments, not the visible map. You do not need to select any intermediate points but you should ensure your start and end are clear of the highlighted toll price segment as the route must pass through the start node, segment, and end node to trigger the toll calculation.
  4. The route should display a message box with details of the calculated price and place a summary in the left-hand panel.

Creating a new toll

add tollsAdd-toll-interface.png

  • toll id (required) - Identify your toll. The suggested naming convention is Country-State-RoadName-Direction [example: US-CA-241-Southbound]. You can map multiple directions in the same toll so check with your community if direction is needed
  • road local name (required) - Enter a name that identifies the toll road
  • currency (required) - Enter the symbol or letters used locally when prices are shown [example: $, £, CZK, SEK]
  • currency code - Select the ISO currency code to match your region
  • comments - You can use this text box for any useful notes, maybe the URL to the toll price details
  • polyline - This is created by selecting the draw button or from the playground. Its purpose is to highlight the location / line of the toll road in the playground [example: LINESTRING(12.34567890123456 23.456789012345678,34.567890123456789 45.67890123456789)]
  • type - Select how the toll is charged. Static is a known price in advance, Dynamic is when the price varies due to unknown factors.
  • rules (select 1 only) - Choose how the toll is charged. pay_per_section_count should be selected when the toll price is based on passing through a discrete number of collection points, entry_exit_price should be selected when a toll price is determined based on the entry point and exit point of the route, pay_per_section should be selected when a fixed toll is paid for passing though a collection point
  • add_trip_charge -
  • add_entry_exit_matrix (only shows for entry_exit_price) -
  • add_entry_exit_rules (only shows for entry_exit_price) -
  • add permit_prices (only shows for pay_per_section_count) -
  • add sections (required) -