Calculator Rute Auto
Planificator online de rute in Romania, rute auto europene, rute auto Bucuresti, calculeaza distanta dintre orase. Planificator online de rute in Romania, rute auto europene, rute auto Bucuresti, calculeaza distanta dintre orase.
Use the calculateroute
resource to return a route between two waypoints. The required parameters for this resource are app_id
and app_code
, two or more waypoints (waypoint0
and waypoint1
, to waypointN
) and mode
(specifying how to calculate the route, and for what mode of transport). For some modes departure
or arrival
(if applicable) is required. This includes publicTransportTimeTable
, publicTransport
and all modes with enabled traffic. Other parameters can be left unspecified.
Parameter | Description |
---|---|
app_id | A 20 bytes Base64 URL-safe encoded string used for the authentication of the client application. You must include an |
app_code | A 20 bytes Base64 URL-safe encoded string used for the authentication of the client application. Watch Twilight (2008) online for free full movie and streaming film in English with HD quality. High-bookish student Bella Swan (Kristen Stewart), always a. Watch online movie Twilight (2008) free online full HD with English subtitle on series9A teenage girl risks everything when she falls in love with a v. 5.95 Imdb 5.2 KinoPoisk: 6.7. Fantasy Drama Romance. To watch this movie, click Watch Movie and watch the movie with the highest quality. The Twilight Saga: Breaking Dawn - Part 1 Breaking Dawn. Format, Prime Video (streaming online video). Devices, Available to watch on supported devices. Twilight 2008 full movie online. You must include an |
waypoint | List of waypoints that define a route. The first element marks the startpoint, the last the endpoint. Waypoints in between are interpreted as via points. See also WaypointParameterType |
mode | The routing mode determines how the route is calculated. See also RoutingModeType Type;TransportModes;TrafficMode;Feature |
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. |
avoidAreas | Areas which the route must not cross. Array of BoundingBox. Example with 2 bounding boxes: |
avoidLinks | Links which the route must not cross. The list of LinkIdTypes. LinkIdType is a xs:string with the following regular expression restrictions: [*-+]d+ |
avoidSeasonalClosures | The optional avoid seasonal closures boolean flag can be specified to avoid usage of seasonally closed links: Examples of seasonally closed links are roads that may be closed during the winter due to weather conditions or ferries that may be out of operation for the season (based on past closure dates). |
avoidTurns | List of turn types that the route should avoid. Defaults to empty list. For details on the available values, see the description of the Enum [ Note: Currently, truck routing is the only mode that supports the avoidTurns option. Note: The route always avoids u-turns on single-digitized roads, also when you don't specify the avoidTurns parameter. The exceptions are dead ends and single-digitized roads where u-turns are explicitly permitted by a road sign. |
allowedZones | Identifiers of zones where routing engine should not take zone restrictions into account (for example in case of a special permission to access a restricted environmental zone). Allowed zones are also not considered in evaluation of the To obtain identifiers of relevant zones use the |
excludeZones | Identifiers of zones which the route must not cross under any circumstances. Type: list of xs:unsignedLong . To obtain identifiers of relevant zones use the |
excludeZoneTypes | List of zone types which the route must not cross under any circumstances. See RoutingZoneTypeType for supported zone types. |
excludeCountries | Countries that must be excluded from route calculation. Type: list of common:CountryCodeType . |
departure | Time when travel is expected to start. Traffic speed and incidents are taken into account when calculating the route (note that in case of a past departure time the historical traffic is limited to one year). You can use now to specify the current time. Specify either departure or arrival , not both. Type: xs:dateTime . When the optional timezone offset is not specified time is assumed to be local. |
arrival | Time when travel is expected to end. Specify either departure or arrival , not both. Type: xs:dateTime . When the optional timezone offset is not specified, the time is assumed to be the local. Note: You can only use this parameter when mode is set to publicTransportTimeTable . |
alternatives | Maximum number of alternative routes that will be calculated and returned. Alternative routes can be unavailable, thus they are not guaranteed to be returned. If at least one via point is used in a route request, returning alternative routes is not supported. 0 stands for 'no alternative routes', i.e. only best route is returned. Type: xs:integer . |
metricSystem | Defines the measurement system used in instruction text. When imperial is selected, units used are based on the language specified in the request. Defaults to metric when not specified. xs:string. Enum [imperial metric ] |
viewBounds | If the view bounds are given in the request then only route shape points which fit into these bounds will be returned. The route shape beyond the view bounds is reduced to the points which are referenced by links, legs or maneuvers. 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. See also BoundingBox. |
resolution | Specifies the resolution of the view and a possible snap resolution in meters per pixel in the response. You must specify a whole, positive integer. If you specify only one value, then this value defines the view resolution only. You can use snap resolution to adjust waypoint links to the resolution of the client display. |
instructionFormat | Defines the representation format of the maneuver's instruction text. InstructionFormatTypeinstructionformat =Enum [ text html ] |
language | A list of languages for all textual information, the first supported language is used. If there are no matching supported languages the response is an error. Defaults to en-us. See Languages for a list of supported languages. |
jsonAttributes | Flag to control JSON output. Combine parameters by adding their values. See also JSON Representation. |
jsonCallback | Name of a user-defined function used to wrap the JSON response. |
| Define which elements are included in the response as part of the data representation of the route. See also RouteRepresentationModeType. Enum [ |
| Define which attributes are included in the response as part of the data representation of the route. Defaults to Enum [ |
| Define which attributes are included in the response as part of the data representation of the route legs. Defaults to Enum [ |
| Define which attributes are included in the response as part of the data representation of the route maneuvers. Defaults to Enum [ |
| Define which attributes are included in the response as part of the data representation of the route links. Defaults to Enum [ |
lineAttributes | Sequence of attribute keys of the fields that are included in public transport line elements. If not specified, defaults to lineForeground , lineBackground . See also PublicTransportLineAttributeType. Enum [ |
generalizationTolerances | Specifies the desired tolerances for generalizations of the base route geometry. Tolerances are given in degrees of longitude or latitude on a spherical approximation of the Earth. One meter is approximately equal to 0:00001 degrees at typical latitudes. Type: xs:list of xs:double . |
vehicleType | Specifies type of vehicle engine and average fuel consumption, which can be used to estimate CO2 emission for the route summary (RouteSummaryType). Free computer books online. See also VehicleType |
licensePlate | Specifies fragments of vehicle's license plate number. The Fragment types [ Note: Currently, data on license plate based restrictions are available only for certain environmental zones in Indonesia and Philippines. |
maxNumberOfChanges | Restricts number of changes in a public transport route to a given value. The parameter does not filter resulting alternatives. Instead, it affects route calculation so that only routes containing at most the given number of changes are considered. The provided value must be between 0 and 10 . Type: xs:int . |
avoidTransportTypes | Public transport types that shall not be included in the response route. Please refer to Enumeration Types for a list of supported values. Type: |
walkTimeMultiplier | Allows to prefer or avoid public transport routes with longer walking distances. A value > 1.0 means a slower walking speed and will prefer routes with less walking distance. The provided value must be between 0.01 and 100 . Type: xs:double . |
walkSpeed | Specifies speed which will be used by a service as a walking speed for pedestrian routing (meters per second). This parameter affects pedestrian , publicTransport and publicTransportTimetable modes. The provided value must be between 0.5 and 2 . Type:SpeedType . |
walkRadius | Allows the user to specify a maximum distance to the start and end stations of a public transit route. Only valid for publicTransport and publicTransportTimetable routes. The provided value must be between 0 and 6000. |
combineChange | Enables the change maneuver in the route response, which indicates a public transit line change. In the absence of this maneuver, each line change is represented with a pair of subsequent enter and leave maneuvers. We recommend enabling combineChange behavior wherever possible, to simplify client-side development. |
truckType | Truck routing only, specifies the vehicle type. Defaults to Enum [ Note: Relevant for restrictions that apply exclusively to tractors with semi-trailers (observed in North America). Such restrictions are taken into account only in case of the truckType set to tractorTruck and the trailers count greater than 0 (for example &truckType=tractorTruck&trailersCount=1 ). The truck type is irrelevant in case of restrictions common for all types of trucks. |
trailersCount | Truck routing only, specifies number of trailers pulled by a vehicle. The provided value must be between |
shippedHazardousGoods | Truck routing only, list of hazardous materials in the vehicle. Please refer to the enumeration type HazardousGoodTypeType for available values. Note the value Enum [ |
limitedWeight | Truck routing only, vehicle weight including trailers and shipped goods, in tons. The provided value must be between |
weightPerAxle | Truck routing only, vehicle weight per axle in tons. The provided value must be between |
height | Truck routing only, vehicle height in meters. The provided value must be between |
width | Truck routing only, vehicle width in meters. The provided value must be between |
length | Truck routing only, vehicle length in meters. The provided value must be between |
tunnelCategory | Truck routing only, specifies the tunnel category to restrict certain route links. The route will pass only through tunnels of a less strict category. Enum [ |
truckRestrictionPenalty | Truck routing only, specifies the penalty type on violated truck restrictions. Defaults to Enum [ Note: The value soft can be used only when the route notes are enabled (see the options RouteAttributeType of the routeAttributes request parameter). Note: The route returned with the route note of the type violation and the text truckRestriction may be travelled only at own responsibility. While driving such route extra care has to be taken as it may result in a vehicle or a road infrastructure damage. |
returnElevation | If set to true, all shapes inside routing response will consist of 3 values instead of 2. Third value will be elevation. If there are no elevation data available for given shape point, elevation will be interpolated from surrounding points. In case there is no elevation data available for any of the shape points, elevation will be 0.0. If |
consumptionModel | If you request information on consumption, you must provide a consumption model. The possible values are |
customConsumptionDetails | Provides vehicle specific information for use in the consumption model. This information can include such things as the amount of energy consumed while travelling at a given speed. For details on the consumption model see Standard consumption model. |
speedProfile | Specifies the speed profile variant for a given routing mode. The speed profile affects travel time estimation as well as roads evaluation when computing the fastest route. Note that computed routes might differ depending on a used profile. See SpeedProfileType for details. Enum [ Note: Currently, truck routing is the only mode that supports the speedProfile parameter. |
Example Request
Example Request for SummaryByCountry
Example Response for SummaryByCountry
The Distance Matrix API is a service that provides travel distance and time for a matrix of origins and destinations, based on the recommended route between start and end points.
Calculator Rute Auto Europa
This service is also available as part of the client-side Maps JavaScript API, or for server-side use with the Java Client, Python Client, Go Client and Node.js Client for Google Maps Services.
Sample request and response
You access the Distance Matrix API through an HTTP interface, with requests constructed as a URL string, using origins
and destinations
, along with your API key.
The following example requests the distance matrix data between Washington, DC and New York City, NY, in JSON format:
Try it! You can test this by entering the URL into your web browser (be sure to replace YOUR_API_KEY
with your actual API key). The response includes the distance and duration between the specified origins and destinations.
View the developer's guide for more information about building request URLs and available parameters and understanding the response.
Below is a sample response, in JSON:
Start coding with our client libraries
Client libraries make developing with the Google Maps web service APIs easier by providing simple, native implementations of common tasks, such as authentication, request throttling and automatic retry. The Distance Matrix API is available in the Java Client, Python Client, Go Client and Node.js Client for Google Maps Services.
Authentication, quotas, pricing, and policies
Activate the API and get an API key
To use the Distance Matrix API, you must first activate the API in the Google Cloud Platform Console and obtain the proper authentication credentials. You need to provide an API key in each request (or a client ID if you have a Premium Plan).
Click the button below to flow through a process where you will:
- Create or select a project
- Enable the API
- Get an API key
Learn more about authentication credentials.
Quotas and pricing
Review the usage and billing page for details on the quotas and pricing set for the Distance Matrix API.
Policies
Use of the Distance Matrix API must be in accordance with the API policies.
Learn more
There’s more you can do with the Distance Matrix API, like requesting distance data for different travel modes, requesting distance data in different units (for example, kilometers or miles), and estimating travel time in traffic. See the Distance Matrix API developer guide for more examples and other details.
The Distance Matrix API developer guide is intended for developers who wish to compute travel distance and time between a number of points within maps provided by one of the Google Maps APIs. It provides an introduction to using the API and reference material on the available parameters.