Skip to content

Hierarchical Travel Matrix

Matrices

For dynamic scheduling it is usually recommended that a Hierarchical Travel Matrix (HTM) be used. The table below shows a list of currently available HTMs by region and matrix id, including their final installed size. Note that more disk space will be required during the installation process.

HTMs will only cover the mainland components of the named countries/areas, and not dependent or overseas territories, unless otherwise specified.

Warning

Note that larger HTMs, e.g. North America HTM, may take a few hours to install depending on the database provider and server or virtual machine it is being installed on. Oracle and Sql Azure typically take longer than Sql Server.

Current HTMs

RegionIncluded RegionsMatrix IDInstalled size
AustraliaAustraliaAU10GB
BalkansAlbania, Bosnia and Herzegovina, Bulgaria, Croatia, Greece, Hungary, Macedonia, Moldova, Montenegro, Romania, Serbia, SloveniaBAL11GB
CaribbeanAntigua and Barbuda, Antilles, Barbados, British Virgin Islands, Cayman Islands, Dominica, Grenada, Jamaica, Montserrat, Saint Kitts and Nevis, Saint Lucia, Saint Vincent and the Grenadines, Turks and Caicos IslandsCAR2GB
Central AmericaCosta Rica , El Salvador , Guatemala* , Honduras , Mexico, Nicaragua *, Panama **CAM13GB
Central EuropeCzechia, Poland, SlovakiaCEU11GB
EgyptEgyptEG4GB
Great Britain and IrelandRepublic of Ireland, United KingdomGB9GB
Gulf Co-operationBahrain, Kuwait, Oman, Qatar, Saudi Arabia, UAE, YemenSAU6GB
IndiaIndiaIN69GB
JapanJapan***JPN16GB
Middle EastTurkeyME8.4GB
New ZealandNew ZealandNZ1.5GB
North AmericaCanada, USANA133GB
RussiaRussiaRU7GB
ScandinaviaDenmark, Estonia, Finland, Latvia, Lithuania, Norway, SwedenS (pre-2012: SC)19GB
South AmericaArgentina, Brazil, Chile, Colombia, Peru, Uruguay, VenezuelaSAM57GB
South East AsiaBrunei, Cambodia, Hong Kong, Indonesia, Laos, Malaysia, Myanmar, Papua New Guinea, Philippines, Singapore, Taiwan, Thailand, Timor-Leste, VietnamSEA42GB
Southern AfricaSouth Africa, Botswana, Mozambique, Lesotho, Eswatini, Zimbabwe, Malawi, NamibiaZA13GB
Western EuropeAndorra, Austria, Belgium, France, Germany, Italy, Lichtenstein, Luxembourg, Malta, Netherlands, Portugal, San Marino, Spain, SwitzerlandEUR64GB

Note

*Limited road network data available in this region. Travel accuracy may be affected.

Note

**Limited historical speed data available in this region. Automated Intelligent Travel Profiles may be affected.

Note

***No historical speed data available in this region. Travel accuracy may be affected. Automated Intelligent Travel Profiles have not been generated.

Deprecated HTMs

RegionMatrix IDInstalled size
AfricaZA6GB
BrazilBR5GB
CanadaCA20GB
FranceFR8GB
PolandPL9GB
South KoreaKR2GB
USAUS110GB

Azure Database Tier

The Azure database pricing tier required for an HTM database will depend on a number of factors:

  • The size and geographic spread of the customer data. Data with many activities covering a large geographic area will result in a much higher load on the database.
  • The size of the HTM database being used. Larger databases, such as the North America HTM, will generally have a significantly higher load.
  • The performance required of the scheduling system. The main load on the HTM is when the DSE is processing an initial load, which is usually overnight. The pricing tier to use should be based on ensuring that the DSE is able to process this load and all subsequent changes in reasonable time.

For scheduling problems of 3,000 activities or more, the minimum recommended Azure HTM database size to use is S3.

However, our recommended option for larger scheduling problems is to use the 'vCore Serverless' scaling option, with a maximum of 4 vCores and a minimum of 0.5 vCores. For very large problems the maximum could be increased to 6 or 8 cores.

Note

The vCore Serverless configuration is an Azure auto scaling option which is a good fit for the HTM database since the demand on the database is variable (the main demand being when the DSE is processing a new initial load). This means that the scheduling system can retrieve data quickly when needed during periods of high demand, but costs will be lower during normal running when the database usage is low.

Note

The Azure database tier can be adjusted easily from within the Azure portal. Simply select the database you with to change and select the 'Configure' option. This will show the current tier, with options to change to a new tier and 'Apply' the changes. The top banner can be used to navigate between DTU and vCore based pricing models. The Serverless option is under 'General Purpose' in the vCore-based options.

Accuracy vs. Performance

The latest HTMs (V3+) include Routing tables to give precise travel estimates over short distances. These will be used by default for both scheduling and appointment booking.

When using these routing tables the services will read significant quantities of data from the HTM database, especially for larger scheduling problems spread over a large area. This will increase the load on the HTM database, and so can impact on the time taken to generate plans and process appointment requests. It also significantly increases the memory usage of the service components.

The use of these routing tables has been optimised to keep this impact as low as possible, though factors such as network bandwidth and database machine performance should also be considered. In Azure this would relate to the database performance tier.

Customers for whom performance is critical may wish to consider switching off the use of the routing tables, which can be done via setting the parameter 'RoutingMaximumDistanceMeters' to 0. See the appendix section on appointment booking performance for details of tests carried out.

Note

A small change has been made to the structure of the HTM database to improve performance further when using the routing HTM tables. These changes will be rolled out as new V4 HTMs over time. V4 HTMs can be used with any 6.7 or later release version.

Automated Intelligent Travel Profiles

The Hierarchical Travel Matrix is designed to give an accurate estimate of the average expected travel time for a journey, but this is not dependent on the time of day. Typically this will give a good approximation during 'normal' traffic flow periods (e.g. in the middle of the day), but will tend to be optimistic during rush hour periods.

To compensate for this travel time profiles can be used. This allows an additional weighting to be applied at certain times of day, to slow (or speed up) the expected journey times during this period. These weightings can also be area dependent, to target urban areas where the rush hour is likely to have a greater impact.

Automated Intelligent Travel Profile (AITP) files are now optionally provided alongside the HTM database for customers to use. These files have been generated using TomTom speed profile data, based on advanced machine learning techniques. Each file supplies travel weightings for urban areas within the HTM region, to provide more accurate travel estimates at any given time of day. These files are available for all V3 and V4 HTMs.

Note

There is an additional licence cost associated with the use of these files.

Note

Please see the Scheduling Concepts - Travel guide for details of how the AITP files can be used.