This api has been deprecated. Use http://docs.inrix.com/traffic/tiles/ instead
Generates a graphic image representation of traffic data from the tile service. The URL and parameters you use when calling this API dynamically determine tile size, bounds, and contents.
Description: Generates a graphic image representation of traffic data.
/action=GetMapTile
GETGenerates a graphic image representation of traffic data.
Parameters
= required
Name
Located In
Type
Description
action
Query
String
Use GetMapTile
token
Query
String
A valid authorization token returned in response to a GetSecurityToken request.
quadkey
Path
String
A Bing Maps Tile System quadkey to generate a resulting tile which represents the described area. The minimum quadkey length is 6 digits and the maximum is 17. For more information about this format, see Bing Maps Tile System. If not specified, then GeoId must be specified.
GeoId
Path
Integer
The ID of a geography to which to crop the image. All pixels outside of the geographies will be transparent. Note that specifying a geography is not sufficient to determine the size and position of the returned tile; you must also specify position and size. When this is specified, must also specify corner1 and corner2 parameters for the lat|long of each corner of the tile.
layers
Query
String
A layer is a graphical level of information on a generated map tile. The only currently supported layer is (T) Traffic.
opacity
Query
String
The pen opacity, as a percentage value between 0 and 100. The default is 100.
penWidth
Query
Float
The pen width of the traffic overlay, in pixels. The default is 4.
height
Query
Integer
Determines the height in pixels of the generated tile.
width
Query
Integer
Determines the width in pixels of the generated tile.
Format
Query
String
The format of the traffic tile to be returned. The default is GIF and other option is PNG.
FRCLevel
Query
String
The Functional Road Classification code of the road segments to report. Multiple codes can be specified in a comma-delimited list.
Value
Description
all (default)
Report all road types.
1
First class roads, such as national highway network roads.
2
Second class roads, such as state highway network roads.
3
Third class roads, such as state interconnecting network roads.
4
Fourth class roads, such as major connecting roads.
5
Fifth class roads, such as minor roads connecting suburbs and destination roads.
Coverage
Query
Integer
Indicates the type of coverage to return (core or extended). The default is specified per vendor.
Value
Description
1
Real-time core coverage.
4
Real-time extended coverage.
8
Real-time core + extended coverage.
32
Reference
48
Historical
255
Return all types of coverage.
SpeedBucketID
Query
Integer
A speed bucket is a range of speeds or percentages that is used to categorize TMC data. All speed buckets are identified by a unique number called a speedbucketID.
startTime
Query
Datetime
This parameter is an optional date/time field in UTC, used to show predicted traffic, i.e. a number of minutes into the future from now. An example timestamp would be 2017-08-06T16:04:00Z
resolution
Query
Integer
The size of a sub-segment in meters. So if Resolution=25 each sub-segment would be broken down into 25 meter lengths.
roadSegmentType
Query
String
The Road Segment Type (Location Referencing method) for the traffic tile to be returned.
Value
Description
TMC (default)
Returns Traffic Tiles based on TMC Links.
XDS
Returns Traffic Tiles based on INRIX XD Segments (XDS).