Routing API Developer's Guide

Country Specific Regulations

Country specific regulations often apply own classification of roads and associate individual sets of restrictions with each road class. Routing API supports such administrative regulations through the Routing Zone feature. Supported administrative classes of roads are assiociated uniquely with persistent zone identifiers. To exclude roads of certain classes, the associated zone identifiers should be provided as values of the parameter excludeZones (see Calculate Route for details).

The example below excludes roads of Norma 12 D and C classes (Mexican regulations):

For supported administrative classes of roads, see the sections below.

Note: To obtain the zone identifier of a specified administrative class directly from the REST service, request a route passing through a road that has the specified class and enable zone data by using routeAttributes=zones. The Route attribute in the response then includes the data of each zone crossed by the route. Make sure to match the relevant zone entry to a zone name. For more information on routing zones, see RoutingZoneType.

Administrative Road Classes in Mexico

Admin Class / Zone Name Zone ID
NORMA12 D 4294967288
NORMA12 C 4294967289
NORMA12 B2 4294967290
NORMA12 B2 4294967290
NORMA12 B4 4294967291
NORMA12 A2 4294967292
NORMA12 A4 4294967293
NORMA12 ET2 4294967294
NORMA12 ET4 4294967295