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):
&excludeZones=4294967288,4294967289

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

Note: To obtain the zone identifier of a specific administrative class directly from the REST service, use the getroutingzones resource.

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