Use Path Navigation Service Online
Features
Path Navigation is a service that provides optimal route planning based on road network data and road network rules, mainly providing routes analysis function. The route navigation service is very valuable in the fields of transportation, logistics, urban planning, daily travel, etc. The service realizes the function of generating a navigation route by analyzing the input starting point, passing point, and ending point. Support three navigation path analysis modes: the shortest distance, no high speed, and recommended mode.
Note: Path navigation service does not currently support international services, and address resolution is limited to China.
Applicable Situation
- If you do not need to display a map, and only require to perform route query, such as displaying the path planning results in an array, and the order of the resulting paths in the array corresponds to the order of the paths when the request is sent.
For example: according to the coordinates of the start and end points, search for qualified truck driving route planning schemes, or logistics route planning.
Use Navigation Analysis Service:
-
Instructions for use:
The first step is to apply for a Key.
In the second step, refer to the request parameter description to initiate an HTTP/HTTPS request. The Key applied in the first step must be sent as a required parameter.
The third step is to receive the data returned by the request (json\xml\jsonp format), and refer to the returned result to explain the analysis data. -
Online REST service address: http://www.supermapol.com/iserver/services/navigation/rest/navigationanalyst/China/pathanalystresults
-
REST request example: The path navigation service supports analyzing a single path at a time and analyzing multiple paths at a time.
-
An example of a single navigation path analysis http request is as follows: http://www.supermapol.com/iserver/services/navigation/rest/navigationanalyst/China/pathanalystresults.json?pathAnalystParameters=[{startPoint:{"x":116.467524,"y":39.914319},endPoint:{"x":116.25814,"y":40.666082},passPoints:[{"x":116.441454,"y":39.947892}],routeType:MINLENGTH,to:910101}]&key=fvV2osxwuZWlY0wJb8FEb2ic
-
An example of multiple path navigation http request is as follows: http://www.supermapol.com/iserver/services/navigation/rest/navigationanalyst/China/pathanalystresults.json?pathAnalystParameters=[{startPoint:{"x":116.467524,"y":39.914319},endPoint:{"x":116.25814,"y":40.666082},passPoints:[{"x":116.441454,"y":39.947892}],routeType:MINLENGTH,to:910101},{startPoint:{"x":115.437524,"y":39.714319},endPoint:{"x":116.35814,"y":41.666082},passPoints:[{"x":115.441454,"y":38.947892}],routeType:NOHIGHWAY},{startPoint:{"x":115.437524,"y":39.714319},endPoint:{"x":116.35814,"y":41.666082},routeType:RECOMMEND,to:910101}]&key=fvV2osxwuZWlY0wJb8FEb2i5
-
-
For detailed REST API parameter description and usage demonstration, please refer to: https://www.supermapol.com/developer/webapi.html#pathanalyst