2.1 Marco Teórico
2.1.4 Ventilación de espacios confinados
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rtgl:GetLinkInfo xmlns:rtgl="http://www.navteq.com/lbsp/LBSP-Routing-
GetLinkInfo/4">
<Response>
<MetaInfo>
<MapVersion>2012Q4</MapVersion>
<ModuleVersion>0.2</ModuleVersion>
<InterfaceVersion>4.2</InterfaceVersion>
<Timestamp>2013-05-29T14:30:51.263Z</Timestamp>
</MetaInfo>
<Link xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xmlns:rtc="http://www.navteq.com/lbsp/Routing-Common/4"
xsi:type="rtc:PrivateTransportLinkType">
<LinkId>-723354753</LinkId>
<Shape>50.0555916,8.3884697 50.0555916,8.3890696
50.0555801,8.3905296 50.0555687,8.3919296 50.0555611,8.3924103</Shape>
<Length>281.0</Length>
<SpeedLimit>999.0</SpeedLimit>
<DynamicSpeedInfo>
<TrafficSpeed>24.75</TrafficSpeed>
<TrafficTime>11.4</TrafficTime>
<BaseSpeed>33.33</BaseSpeed>
<BaseTime>8.4</BaseTime>
<JamFactor>2.41</JamFactor>
<JamFactorTrend>1.0</JamFactorTrend>
<Confidence>0.87</Confidence>
</DynamicSpeedInfo>
<Flags>motorway</Flags>
<TMCCodes>D01P12165</TMCCodes>
<FunctionalClass>1</FunctionalClass>
<Address>
<Label>A66</Label>
<Country>DE</Country>
<State>Hessen</State>
<County>Main-Taunus-Kreis</County>
<City>Hochheim am Main</City>
<Street>Rhein-Main-Schnellweg</Street>
</Address>
<RoadNumber>A66</RoadNumber>
<Timezone>+0200</Timezone>
<TruckRestrictions>
<Height>4.0</Height>
</TruckRestrictions>
<RoadName>Rhein-Main-Schnellweg</RoadName>
<SpeedCategory>SC1</SpeedCategory>
</Link>
</Response>
</rtgl:GetLinkInfo>
Get Route
Use the getroute resource to request a previously calculated route by providing the RouteId.
../routing/6.2/getroute.{format}?routeid=<ROUTEID>&<parameter>=<value>...
Parameter Description
requestid Clients may pass in an arbitrary string to trace request processing through the system. The
RequestId is mirrored in the MetaInfo element of the response structure.
routeid Return detailed information for the route corresponding to this RouteId.
pos Current position.
pos=geo!52.5,13.4
mode The routing mode determines how the route is calculated. When used in a getroute request,
the mode of transport must be the same as in the original request. See also RoutingModeType on page 50
Type;TransportModes;TrafficMode;Feature
&mode=fastest;car;traffic:disabled;motorway:2
departure Time when travel is expected to start. Traffic patterns and incidents are taken into account when calculating the route. You can use now to specify the current time. Specify either
DepartureTime or ArrivalTime, not both.xs:dateTime
departure=2013-07-04T17: 00:00+02:00Z
metricsystem The default is the metric system associated with the language settings. xs:string. Enum [imperial | metric]
viewbounds If the view bounds are given in the request only shapes and links which fit into these bounds will be returned. A common use case for this is the drag and drop scenario where the client is only interested in a rough visual update of the route in the currently visible bounds. Array of
BoundingBox.
viewbounds=37.7902858, -122.4027371;
37.7890649, -122.3993039
resolution Integer resolution of the view in meters per pixel, and optional snap resolution in meters per pixel. Snap resolution lets the routing service to pick links with waypoints that are visible in the client display resolution.
This information allows the route shape in the response to reflect the client's resolution.
resolution=viewresolution:snapresolution resolution=300:0,01
instructionformat Defines the representation format of the maneuver's instruction text. InstructionFormatType
Parameter Description
language A single language from the following list. [en-uk | en-us | fr-fr | de-de | es-es | it-it]
jsonattributes Flag to control JSON output. Combine parameters by adding their values. See also JSON Representation on page 53 .
jsonattributes=2
jsoncallback Specifies the name of a user-defined function used to wrap the JSON response.
representation Define which elements are included in the response as part of the data representation of the route. See also RouteRepresentationModeType on page 42.
Enum[overview | display | dragNDrop | navigation | linkPaging | turnByTurn]
routeattributes Define which atrributes are included in the response as part of the data representation of the route. Defaults to waypoints, summary, legs, lines. See also RouteAttributeType on page
43.
Enum[waypoints | summary | summaryByCountry | shape | boundingBox | legs | notes
]
maneuverattributes Define which attributes are included in the response as part of the data representation of the route maneuvers. Defaults to position, length, travelTime. See also ManeuverAttributeType on page 44
Enum[ position | shape | travelTime | length | time | link | | roadName | nextRoadName | roadNumber | nextRoadNumber | signPost | notes | action | direction | freewayExit | freewayJunction | | baseTime | trafficTime | | ]
linkattributes Define which attributes are included in the response as part of the data representation of the route links. Defaults to shape, speedLimit, dynamicSpeedInfo, address . See also RouteLinkAttributeType on page 45.
Enum[shape , length | speedLimit | dynamicSpeedInfo | incidents | truckRestrictions | flags | address | roadNumber | roadName | freewayExit | freewayJunction | timezone | nextLink |TMCCodes | jamFactor | jamFactorTrend | confidence | remainTime | remainDistance | maneuver | functionalClass | speedCategory | ]
legattributes Define which attributes are included in the response as part of the data representation of the route legs. Defaults to maneuvers, waypoint, length, travelTime. See also RouteLegAttributeType on page 43.
Enum [waypoint | maneuvers | links | length | travelTime
hastrailer Boolean.
Truck routing only, specifies that the vehicle has a trailer. shippedhazardousgoods Truck routing only, list of harzardous goods in the vehicle. permittedgrossweight Truck routing only, permitted vehicle gross weight. limitedweight Truck routing only, limited vehicle weight. weightperaxle Truck routing only, vehicle weight per axle.
Parameter Description
height Truck routing only, vehicle height in meters. width Truck routing only, vehicle width in meters. length Truck routing only, vehicle length in meters.