高德路线规划

第三方服务商
价格:会员免费  
服务商: 万维易源
  • 产品介绍
  • 接口文档
  • 服务商
  • 官方客服

高德地图的公交/驾车/步行/骑行路径规划

步行路线规划


接口地址:http://route.showapi.com/1665-1 (注意:接口支持https,更安全,但稍慢一些,你懂的。请根据自己的情况进行选择。)
支持格式:json
请求方法:HTTP协议,支持GET/POST方法。

二、请求参数/ Request parameter

非文件上传的POST时,enctype=application/x-www-form-urlencoded。 
文件上传的POST时,enctype=multipart/form-data。 

1、系统级参数(所有接入点都需要的参数): 

参数名称类型示例值必须描述
showapi_appidString100易源应用id
showapi_signString698d51a19d8a121ce581499d7b701668为了验证用户身份,以及确保参数不被中间人篡改,需要传递调用者的数字签名。 可选,在url后带上appid和secret即可 
showapi_timestampString20141114142239客户端时间。 
格式yyyyMMddHHmmss,如20141114142239 
为了在一定程度上防止“重放攻击”,平台只接受在10分钟之内的请求。如果不传或传空串,则系统不再做此字段的检测。 
showapi_res_gzipString1或0返回值是否用gzip方式压缩。此值为1时将压缩,其他值不压缩。
...

2、应用级参数(每个接入点有自己的参数,当前接入点的参数见下表): 展开收起 

参数名称类型默认值示例值必须描述
departLonString 116.45925出发地经度
departLatString 39.910031出发地纬度
arrivalLonString 116.587922目的地经度
arrivalLatString 40.081577目的地纬度
...
请求示例:String res=new ShowApiRequest("http://route.showapi.com/1665-1","my_appId","my_appSecret") .addTextPara("departLon","116.45925") .addTextPara("departLat","39.910031") .addTextPara("arrivalLon","116.587922") .addTextPara("arrivalLat","40.081577") .post(); System.out.println(res);

三、返回参数/ Return parameter

以JSON格式返回结果。

1、系统级参数(所有接入点都会返回的参数): 展开收起 

名称类型示例值描述
showapi_res_bodyString{"city":"昆明","prov":"云南"}消息体的JSON封装,所有应用级的返回参数将嵌入此对象 。
showapi_res_codeint0易源返回标志,0为成功,其他为失败。
0成功
-1,系统调用错误
-2,可调用次数或金额为0
-3,读取超时
-4,服务端返回数据解析错误
-5,后端服务器DNS解析错误
-6,服务不存在或未上线
-7, API创建者的网关资源不足
-1000,系统维护
-1002,showapi_appid字段必传
-1003,showapi_sign字段必传
-1004,签名sign验证有误
-1005,showapi_timestamp无效
-1006,app无权限调用接口 
-1007,没有订购套餐
-1008,服务商关闭对您的调用权限
-1009,调用频率受限
-1010,找不到您的应用
-1011,子授权app_child_id无效
-1012,子授权已过期或失效
-1013,子授权ip受限
-1014,token权限无效
 
showapi_res_errorString用户输入有误!错误信息的展示
showapi_res_idStringce135f6739294c63be0c021b76b6fbff本次请求id
...

2、应用级参数(系统级输出参数showapi_res_body字段中的json数据结构): 展开收起 

名称类型示例值描述
ret_code String0接口调用是否成功,0为成功,其他为失败
remark String查询成功!提示信息
routes Object[] 路线
-  instruction String 路段步行指示
-  road_name String 道路名称
-  mile String 此路段距离 单位:米
-  direction String 方向
-  expect String 此路段预计步行时间
-  coordinate String 此路段坐标点
-  action String 步行主要动作
-  aux_action String 步行辅助动作
-  type String 这段路是否存在特殊的方式,0,普通道路1,人行横道3,地下通道4,过街天桥 5,地铁通道6,公园7,广场8,扶梯9,直梯 10,索道11,空中通道12,建筑物穿越通道13,行人通道 14,游船路线15,观光车路线16,滑道18,扩路 19,道路附属连接线20,阶梯21,斜坡22,桥 23,隧道30,轮渡
allNum String 返回结果总数目
depart String 起点坐标
arrival String 终点坐标
...
返回示例:{ "showapi_res_code": 0, "showapi_res_error": "", "showapi_res_body": { "ret_code": "0", "remark": "查询成功!", "allNum": "1", "depart": "116.45925,39.910031", "arrival": "116.587922,40.081577", "routes": [ { "distance": "25048", "estimate": "20038", "route": [ { "instruction": "向东步行46米右转", "road_name": [ ], "mile": "46", "direction": "东", "expect": "37", "coordinate": "116.459251,39.909805;116.459793,39.909805", "action": "右转", "aux_action": [ ], "type": "0" }, { "instruction": "向南步行82米左转", "road_name": [ ], "mile": "82", "direction": "南", "expect": "66", "coordinate": "116.459793,39.909805;116.459793,39.909061", "action": "左转", "aux_action": [ ], "type": "0" }, { "instruction": "向东步行81米左转", "road_name": [ ], "mile": "81", "direction": "东", "expect": "65", "coordinate": "116.459793,39.909058;116.460258,39.909054;116.460457,39.909061;116.460533,39.909084;116.460686,39.909184", "action": "左转", "aux_action": [ ], "type": "0" }, { "instruction": "向北步行145米右转", "road_name": [ ], "mile": "145", "direction": "北", "expect": "116", "coordinate": "116.460686,39.909184;116.460716,39.909817;116.46077,39.909935;116.460953,39.910236;116.460953,39.910236;116.461082,39.910446", "action": "右转", "aux_action": [ ], "type": "0" }, { "instruction": "步行11米向右前方行走", "road_name": [ ], "mile": "11", "direction": [ ], "expect": "9", "coordinate": "116.461082,39.91045;116.461136,39.910431;116.461189,39.910439", "action": "向右前方行走", "aux_action": [ ], "type": "0" }, { "instruction": "向东步行17米左转", "road_name": [ ], "mile": "17", "direction": "东", "expect": "14", "coordinate": "116.461189,39.910439;116.46138,39.910381", "action": "左转", "aux_action": [ ], "type": "0" }, { "instruction": "沿东三环中路辅路向北步行1005米直行", "road_name": "东三环中路辅路", "mile": "1005", "direction": "北", "expect": "804", "coordinate": "116.46138,39.910378;116.461403,39.910458;116.461403,39.910458;116.461487,39.910664;116.461487,39.910664;........", "action": "直行", "aux_action": [ ], "type": "0" }, { "instruction": "沿东三环北路辅路向北步行3884米右转", "road_name": "东三环北路辅路", "mile": "3884", "direction": "北", "expect": "3107", "coordinate": "116.461349,39.919479;116.461342,39.91964;116.461342,39.91964;116.461319,39.920139;116.461319,39.920139;116.461319,39.920219;116.461319,39.920219;116.461319,39.920639;116.461319,39.920639;116.461319,39.920895;........", "action": "右转", "aux_action": [ ], "type": "0" }, { "instruction": "沿霄云路向东北步行2031米直行", "road_name": "霄云路", "mile": "2031", "direction": "东北", "expect": "1625", "coordinate": "116.459435,39.954205;116.459961,39.954464;116.459961,39.954464;116.460846,39.955235;116.460846,39.955235;116.461029,39.95541;116.461029,39.95541;116.46138,39.955742;116.46138,39.955742;116.461761,39.956093;116.461761,39.956093;116.462471,39.95673;116.462471,39.95673;116.462502,39.956753;............", "action": "直行", "aux_action": [ ], "type": "0" }, { "instruction": "沿芳园西路向东北步行1872米左转", "road_name": "芳园西路", "mile": "1872", "direction": "东北", "expect": "1498", "coordinate": "116.47496,39.968037;116.475235,39.968258;116.476151,39.969105;116.476151,39.969105;116.476959,39.96983;.........", "action": "左转", "aux_action": [ ], "type": "0" }, { "instruction": "沿酒仙桥路向北步行866米向右前方行走", "road_name": "酒仙桥路", "mile": "866", "direction": "北", "expect": "693", "coordinate": "116.489639,39.980221;116.489639,39.98035;116.489639,39.98035;116.489639,39.981014;116.489639,39.981014;116.489616,39.982307;116.489616,39.982307;116.489594,39.984169;116.489594,39.984169;116.489594,39.984222;116.489594,39.984222;116.489532,39.986317;116.489532,39.986317;116.489487,39.987644;116.489487,39.987644;116.489487,39.987724;116.489487,39.987724;116.489479,39.987991;116.489479,39.987991;116.489517,39.988037", "action": "向右前方行走", "aux_action": [ ], "type": "0" }, { "instruction": "沿首都机场辅路向东北步行1569米向左前方行走", "road_name": "首都机场辅路", "mile": "1569", "direction": "东北", "expect": "1255", "coordinate": "116.489517,39.988041;116.489693,39.988483;116.489792,39.988659;116.489792,39.988659;116.490044,39.988968;116.4907,39.989571;116.4907,39.989571;116.494583,39.993065;116.494583,39.993065;116.497856,39.99604;116.497856,39.99604;116.498528,39.996632;116.498619,39.996696;116.498695,39.996719;116.498878,39.996765;116.499023,39.99678;116.499428,39.996861;116.499428,39.996861;116.499619,39.996902;116.499733,39.996952;116.499832,39.997021;116.500153,39.997284;116.500153,39.997284;116.501305,39.998341;116.501389,39.99844;116.50145,39.99855", "action": "向左前方行走", "aux_action": [ ], "type": "0" }, { "instruction": "沿首都机场辅路向东北步行10288米左转", "road_name": "首都机场辅路", "mile": "10288", "direction": "东北", "expect": "8230", "coordinate": "116.501457,39.998554;116.501511,39.998959;116.501556,39.999138;116.501625,39.999325;116.501625,39.999325;116.501671,39.999416;116.501762,39.999523;116.501984,39.999748;116.503624,40.001221;116.503624,40.001221;116.504112,40.001678;116.504112,40.001678;116.504181,40.001732;.......", "action": "左转", "aux_action": [ ], "type": "0" }, { "instruction": "沿机场华谊桥向西北步行72米", "road_name": "机场华谊桥", "mile": "72", "direction": "西北", "expect": "58", "coordinate": "116.592278,40.054893;116.592026,40.054958;116.591896,40.055038;116.591789,40.055141;116.591652,40.055294", "action": [ ], "aux_action": [ ], "type": "0" }, { "instruction": "沿机场西路向北步行104米向左前方行走", "road_name": "机场西路", "mile": "104", "direction": "北", "expect": "83", "coordinate": "116.591652,40.055294;116.591606,40.055424;116.591606,40.055531;116.59166,40.055603;116.59185,40.055794;116.59185,40.055794;116.591911,40.055862;116.591934,40.055943;116.591949,40.056019;116.591934,40.05616", "action": "向左前方行走", "aux_action": [ ], "type": "0" }, { "instruction": "沿机场西路向北步行2509米左转", "road_name": "机场西路", "mile": "2509", "direction": "北", "expect": "2007", "coordinate": "116.591927,40.056164;116.591438,40.056534;116.591438,40.056534;116.59079,40.057011;116.590691,40.057098;116.590599,40.057209;116.59053,40.057308;116.590492,40.057442;116.590332,40.058361;.........", "action": "左转", "aux_action": [ ], "type": "0" }, { "instruction": "沿航管南路向北步行336米向左前方行走", "road_name": "航管南路", "mile": "336", "direction": "北", "expect": "269", "coordinate": "116.590195,40.077618;116.590248,40.077679;116.590256,40.077736;116.590195,40.078125;116.589844,40.080292;116.589813,40.080383;116.589775,40.080418;116.589699,40.080486;116.5896,40.080536", "action": "向左前方行走", "aux_action": [ ], "type": "0" }, { "instruction": "向西步行130米到达目的地", "road_name": [ ], "mile": "130", "direction": "西", "expect": "104", "coordinate": "116.5896,40.080536;116.588074,40.080433", "action": [ ], "aux_action": "到达目的地", "type": "0" } ] } ] } }

公交路径规划


接口地址:http://route.showapi.com/1665-2 (注意:接口支持https,更安全,但稍慢一些,你懂的。请根据自己的情况进行选择。)
支持格式:json
请求方法:HTTP协议,支持GET/POST方法。

二、请求参数/ Request parameter

非文件上传的POST时,enctype=application/x-www-form-urlencoded。
文件上传的POST时,enctype=multipart/form-data。

1、系统级参数(所有接入点都需要的参数):
参数名称 类型 示例值 必须 描述
showapi_appid String 100 易源应用id
showapi_sign String 698d51a19d8a121ce581499d7b701668 为了验证用户身份,以及确保参数不被中间人篡改,需要传递调用者的数字签名。 可选,在url后带上appid和secret即可
showapi_timestamp String 20141114142239 客户端时间。
格式yyyyMMddHHmmss,如20141114142239
为了在一定程度上防止“重放攻击”,平台只接受在10分钟之内的请求。如果不传或传空串,则系统不再做此字段的检测。
showapi_res_gzip String 1或0 返回值是否用gzip方式压缩。此值为1时将压缩,其他值不压缩。
...
2、应用级参数(每个接入点有自己的参数,当前接入点的参数见下表): 展开收起
参数名称 类型 默认值 示例值 必须 描述
departLon String
116.45925
出发地经度
departLat String
39.910031
出发地纬度
arrivalLon String
116.587922
目的地经度
arrivalLat String
40.081577
目的地纬度
city String
北京
城市/跨城规划时的起点城市 目前支持市内公交换乘/跨城公交的起点城市
crossCity String
跨城公交规划时的终点城市跨城公交规划必填参数。
needDetailResult String
返回结果详略
strategy String
公交换乘策略
needNight String
是否计算夜班车
date String
出发日期 根据出发时间和日期筛选可乘坐的公交路线 为了保证计算正确,在不填写日期的时候请不要在请求之中携带此参数
time String
出发时间 根据出发时间和日期筛选可乘坐的公交路线,为了保证计算正确,在不填写日期的时候请不要在请求之中携带此参数
...
请求示例:String res=new ShowApiRequest("http://route.showapi.com/1665-2","my_appId","my_appSecret") .addTextPara("departLon","116.45925") .addTextPara("departLat","39.910031") .addTextPara("arrivalLon","116.587922") .addTextPara("arrivalLat","40.081577") .addTextPara("city","北京") .addTextPara("crossCity","") .addTextPara("needDetailResult","") .addTextPara("strategy","") .addTextPara("needNight","") .addTextPara("date","") .addTextPara("time","") .post(); System.out.println(res);

三、返回参数/ Return parameter

以JSON格式返回结果。

1、系统级参数(所有接入点都会返回的参数): 展开收起
名称 类型 示例值 描述
showapi_res_body String {"city":"昆明","prov":"云南"} 消息体的JSON封装,所有应用级的返回参数将嵌入此对象 。
showapi_res_code int 0
易源返回标志,0为成功,其他为失败。
0成功
-1,系统调用错误
-2,可调用次数或金额为0
-3,读取超时
-4,服务端返回数据解析错误
-5,后端服务器DNS解析错误
-6,服务不存在或未上线
-7, API创建者的网关资源不足
-1000,系统维护
-1002,showapi_appid字段必传
-1003,showapi_sign字段必传
-1004,签名sign验证有误
-1005,showapi_timestamp无效
-1006,app无权限调用接口
-1007,没有订购套餐
-1008,服务商关闭对您的调用权限
-1009,调用频率受限
-1010,找不到您的应用
-1011,子授权app_child_id无效
-1012,子授权已过期或失效
-1013,子授权ip受限
-1014,token权限无效
showapi_res_error String 用户输入有误! 错误信息的展示
showapi_res_id String ce135f6739294c63be0c021b76b6fbff 本次请求id
...
2、应用级参数(系统级输出参数showapi_res_body字段中的json数据结构): 展开收起
名称 类型 示例值 描述
ret_code String
接口调用是否成功,0为成功,其他为失败
remark String
提示信息
allNum String
返回结果总数目
depart String
起点坐标
arrival String
终点坐标
distance String
起点和终点的步行距离 单位:米
taxiCost String
出租车费用 单位:元
busRoutes Object[]
路线
estimate String
此换乘方案预期时间 单位:秒
isNight String
是否是夜班车 0:非夜班车;1:夜班车
walkDistance String
此方案总步行距离 单位:米
sections Object[]
公交换乘方案
walking Object[]
此路段步行导航信息
walk_estimate String
步行预计时间 单位:秒
walk_distance String
每段线路步行距离 单位:米
walk_depart String
起点坐标
walk_arrival String
终点坐标
walk_steps Object[]
步行路段列表
step_estimate String
此段路预计消耗时间 单位:秒
step_distance String
此段路的距离
step_coordinate String
此段路的坐标
step_action String
步行主要动作
step_aux_action String
步行辅助动作
step_instruction String
此段路的行走介绍
step_road_name String
路的名字
bus Object[]
此路段公交导航信息
depart_stop_name String
此段起乘站信息 站点名字
depart_stop_id String
站点id
depart_stop_location String
站点经纬度
arrival_stop_name String
此段下车站 站点名字
arrival_stop_id String
站点id
arrival_stop_location String
站点经纬度
bus_name String
公交路线名称 格式如:445路(南十里居--地铁望京西站)
bus_id String
公交路线id
bus_type String
公交类型 格式如:地铁线路
bus_distance String
公交行驶距离 单位:米
bus_estimate String
公交预计行驶时间 单位:秒
bus_coordinate String
此路段坐标集 格式为坐标串,如:116.481247,39.990704;116.481270,39.990726
bus_start_time String
首班车时间 格式如:0600,代表06:00
bus_end_time String
末班车时间 格式如:2300,代表23:00
bus_station_num String
此段途经公交站数
bus_stations Object[]
公交站信息
bus_station_name String
途径公交站点信息
bus_station_id String
公交站点编号
bus_station_location String
公交站点经纬度
entrances Object[]
地铁入口
location String
经纬度
name String
名称
exits Object[]
地铁出口
location String
经纬度
name String
名称
railway Object[]
乘坐火车的信息
railway_id String
线路id编号
railway_time String
该线路车段耗时
railway_name String
线路名称
railway_num String
线路车次号
railway_distance String
该item换乘段的行车总距离
railway_type String
线路车次类型
depart_station_id String
火车始发站信息 上车站点ID
depart_station_name String
上车站点名称
depart_station_location String
上车站点经纬度
depart_station_code String
上车站点所在城市的code
depart_station_time String
上车点发车时间
depart_station_start String
1表示为始发站,0表示非始发站
arrival_station_id String
火车到站信息 下车站点ID
arrival_station_name String
下车站点名称
arrival_station_location String
下车站点经纬度
arrival_station_code String
下车站点所在城市的code
arrival_station_time String
到站时间,如大于24:00,则表示跨天
arrival_station_end String
1表示为终点站,0表示非终点站
cross_station_id String
途径站点信息 途径站点的ID
cross_station_name String
途径站点的名称
cross_station_location String
途径站点的坐标点
cross_station_time String
途径站点的进站时间,如大于24:00,则表示跨天
cross_station_wait String
途径站点的停靠时间,单位:分钟
railway_backups Object[]
备选方案
backup_id String
备选方案ID
backup_name String
备选线路名称
railway_spaces Object[]
仓位及价格信息
space_code String
仓位编码
space_cost String
仓位费用
taxi String
乘坐出租车信息
...
返回示例:{ "showapi_res_code": 0, "showapi_res_error": "", "showapi_res_body": { "ret_code": "0", "remark": "查询成功!", "allNum": "5", "depart": "116.45925,39.910031", "arrival": "116.587922,40.081577", "distance": "32865", "taxiCost": "102.23425", "busRoutes": [ { "distance": "30134", "estimate": "3278", "isNight": "0", "walkDistance": "837", "sections": [ { "walking": { "walk_estimate": "690", "walk_distance": "805", "walk_depart": "116.458771,39.909805", "walk_arrival": "116.462219,39.906445", "walk_steps": [ { "step_estimate": "", "step_distance": "82", "step_coordinate": "116.458771,39.909805;116.458771,39.909065", "step_action": "右转", "step_aux_action": "", "step_instruction": "步行82米右转", "step_road_name": "" }, { "step_estimate": "", "step_distance": "75", "step_coordinate": "116.458771,39.909061;116.458122,39.909054;116.457893,39.909054", "step_action": "左转", "step_aux_action": "", "step_instruction": "步行75米左转", "step_road_name": "" }, { "step_estimate": "", "step_distance": "84", "step_coordinate": "116.457893,39.909050;116.457886,39.908993;116.457901,39.908802;116.457939,39.908726;116.458031,39.908680;116.458496,39.908657", "step_action": "往前走", "step_aux_action": "", "step_instruction": "沿金桐东路步行84米往前走", "step_road_name": "金桐东路" }, { "step_estimate": "", "step_distance": "303", "step_coordinate": "116.458496,39.908653;116.459084,39.908653;116.459358,39.908653;116.459564,39.908676;116.459846,39.908695;116.460579,39.908695;116.460724,39.908688;116.460945,39.908684;116.461365,39.908672;116.462067,39.908646", "step_action": "右转", "step_aux_action": "", "step_instruction": "沿建国门外大街辅路步行303米右转", "step_road_name": "建国门外大街辅路" }, { "step_estimate": "", "step_distance": "261", "step_coordinate": "116.462067,39.908642;116.462082,39.908108;116.462082,39.907799;116.462128,39.907063;116.462151,39.906635;116.462173,39.906372;116.462219,39.906445", "step_action": "向左后方行走", "step_aux_action": "到达大北窑(南航明珠商务酒店)", "step_instruction": "沿东三环中路辅路步行261米向左后方行走到达大北窑(南航明珠商务酒店)", "step_road_name": "东三环中路辅路" } ] }, "bus": { "bus_lines": [ { "depart_stop_name": "大北窑(南航明珠商务酒店)", "depart_stop_id": "110100073258003", "depart_stop_location": "116.462234,39.906445", "arrival_stop_name": "首都机场1号航站楼", "arrival_stop_id": "110100073258005", "arrival_stop_location": "116.587585,40.080379", "bus_name": "机场大巴方庄线(方庄--首都机场3号航站楼)", "bus_id": "110100073258", "bus_type": "机场大巴", "bus_distance": "29297", "bus_estimate": "2561", "bus_coordinate": "116.462234,39.906445;116.462234,39.906441;116.462318,39.906559;116.462326,39.906586;116.462509,39.906887;116.462555,39.907009;116.462570,39.907162;116.462570,39.907948;......", "bus_start_time": "0500", "bus_end_time": "2100", "bus_station_num": "1", "bus_stations": [ { "bus_station_name": "首都机场2号航站楼", "bus_station_id": "110100073258004", "bus_station_location": "116.593300,40.078651" } ] } ] }, "entrances": { "location": "", "name": "" }, "exits": { "location": "", "name": "" }, "railway": { }, "taxi": { } }, { "walking": { "walk_estimate": "27", "walk_distance": "32", "walk_depart": "116.587585,40.080379", "walk_arrival": "116.587914,40.080406", "walk_steps": [ { "step_estimate": "", "step_distance": "32", "step_coordinate": "116.587585,40.080379;116.587914,40.080406", "step_action": "", "step_aux_action": "", "step_instruction": "步行32米", "step_road_name": "" } ] }, "bus": { "bus_lines": [ ] }, "entrances": { "location": "", "name": "" }, "exits": { "location": "", "name": "" }, "railway": { }, "taxi": { } } ] }, { "distance": "27025", "estimate": "3769", "isNight": "0", "walkDistance": "742", "sections": [ { "walking": { "walk_estimate": "528", "walk_distance": "616", "walk_depart": "116.459251,39.909805", "walk_arrival": "116.462151,39.911533", "walk_steps": [ { "step_estimate": "", "step_distance": "46", "step_coordinate": "116.459251,39.909805;116.459793,39.909805", "step_action": "右转", "step_aux_action": "", "step_instruction": "步行46米右转", "step_road_name": "" }, { "step_estimate": "", "step_distance": "82", "step_coordinate": "116.459793,39.909805;116.459793,39.909061", "step_action": "左转", "step_aux_action": "", "step_instruction": "步行82米左转", "step_road_name": "" }, { "step_estimate": "", "step_distance": "81", "step_coordinate": "116.459793,39.909058;116.460258,39.909054;116.460457,39.909061;116.460533,39.909084;116.460678,39.909184", "step_action": "左转", "step_aux_action": "", "step_instruction": "步行81米左转", "step_road_name": "" }, { "step_estimate": "", "step_distance": "145", "step_coordinate": "116.460678,39.909184;116.460724,39.909817;116.460777,39.909935;116.460953,39.910233;116.461082,39.910446", "step_action": "右转", "step_aux_action": "", "step_instruction": "步行145米右转", "step_road_name": "" }, { "step_estimate": "", "step_distance": "11", "step_coordinate": "116.461082,39.910446;116.461143,39.910431;116.461197,39.910439", "step_action": "向右前方行走", "step_aux_action": "", "step_instruction": "步行11米向右前方行走", "step_road_name": "" }, { "step_estimate": "", "step_distance": "17", "step_coordinate": "116.461197,39.910439;116.461372,39.910381", "step_action": "左转", "step_aux_action": "", "step_instruction": "步行17米左转", "step_road_name": "" }, { "step_estimate": "", "step_distance": "155", "step_coordinate": "116.461372,39.910378;116.461403,39.910461;116.461487,39.910664;116.461517,39.910946;116.461533,39.911629;116.461540,39.911762", "step_action": "右转", "step_aux_action": "", "step_instruction": "沿东三环中路辅路步行155米右转", "step_road_name": "东三环中路辅路" }, { "step_estimate": "", "step_distance": "53", "step_coordinate": "116.461533,39.911762;116.462158,39.911766", "step_action": "右转", "step_aux_action": "", "step_instruction": "步行53米右转", "step_road_name": "" }, { "step_estimate": "", "step_distance": "26", "step_coordinate": "116.462158,39.911766;116.462151,39.911617;116.462151,39.911533", "step_action": "", "step_aux_action": "到达大北窑北", "step_instruction": "沿东三环中路辅路步行26米到达大北窑北", "step_road_name": "东三环中路辅路" } ] }, "bus": { "bus_lines": [ { "depart_stop_name": "大北窑北", "depart_stop_id": "110100015803002", "depart_stop_location": "116.462151,39.911530", "arrival_stop_name": "燕莎桥南", "arrival_stop_id": "110100015803004", "arrival_stop_location": "116.462013,39.946732", "bus_name": "503路(大北窑北--北岗子东站)", "bus_id": "110100015803", "bus_type": "普通公交线路", "bus_distance": "3386", "bus_estimate": "827", "bus_coordinate": "116.462151,39.911530;116.462151,39.911613;116.462151,39.911846;116.462173,39.911922;.....", "bus_start_time": "0610", "bus_end_time": "2200", "bus_station_num": "0", "bus_stations": [ ] }, { "depart_stop_name": "大北窑北", "depart_stop_id": "110100016431023", "depart_stop_location": "116.462143,39.911285", "arrival_stop_name": "燕莎桥南", "arrival_stop_id": "110100016431028", "arrival_stop_location": "116.462013,39.946758", "bus_name": "运通107路(马家堡路北口--广顺南大街北口)", "bus_id": "110100016431", "bus_type": "普通公交线路", "bus_distance": "3448", "bus_estimate": "1159", "bus_coordinate": "116.462143,39.911285;116.462135,39.911289;116.462151,39.911613;116.462151,39.911846;116.462173,39.911922;116.462173,39.912369;116.462173,39.912479;116.462112,39.913467;.......", "bus_start_time": "", "bus_end_time": "", "bus_station_num": "4", "bus_stations": [ { "bus_station_name": "光华桥北", "bus_station_id": "110100016431024", "bus_station_location": "116.462051,39.915291" }, { "bus_station_name": "呼家楼北", "bus_station_id": "110100016431025", "bus_station_location": "116.461823,39.921082" }, { "bus_station_name": "白家庄", "bus_station_id": "110100016431026", "bus_station_location": "116.461929,39.926556" }, { "bus_station_name": "农业展览馆", "bus_station_id": "110100016431027", "bus_station_location": "116.462006,39.939651" } ] }, { "depart_stop_name": "大北窑北", "depart_stop_id": "110100015757004", "depart_stop_location": "116.462143,39.911194", "arrival_stop_name": "燕莎桥南", "arrival_stop_id": "110100015757010", "arrival_stop_location": "116.462013,39.946735", "bus_name": "405路(四惠枢纽站--孙河公交场站)", "bus_id": "110100015757", "bus_type": "普通公交线路", "bus_distance": "3332", "bus_estimate": "1216", "bus_coordinate": "116.462143,39.911194;116.462135,39.911194;116.462151,39.911613;116.462151,39.911846;116.462173,39.911922;116.462173,39.912369;116.462173,39.912479;116.462112,39.913467;........", "bus_start_time": "0600", "bus_end_time": "2200", "bus_station_num": "5", "bus_stations": [ { "bus_station_name": "光华桥北", "bus_station_id": "110100015757005", "bus_station_location": "116.462051,39.915295" }, { "bus_station_name": "呼家楼北", "bus_station_id": "110100015757006", "bus_station_location": "116.461823,39.921368" }, { "bus_station_name": "白家庄", "bus_station_id": "110100015757007", "bus_station_location": "116.461929,39.926563" }, { "bus_station_name": "农业展览馆", "bus_station_id": "110100015757008", "bus_station_location": "116.462006,39.939327" }, { "bus_station_name": "亮马桥", "bus_station_id": "110100015757009", "bus_station_location": "116.462013,39.942879" } ] } ] }, "entrances": { "location": "", "name": "" }, "exits": { "location": "", "name": "" }, "railway": { }, "taxi": { } }, { "walking": { "walk_estimate": "80", "walk_distance": "94", "walk_depart": "116.462021,39.946732", "walk_arrival": "116.462021,39.945881", "walk_steps": [ { "step_estimate": "", "step_distance": "94", "step_coordinate": "116.462021,39.946732;116.462021,39.946449;116.462021,39.945881", "step_action": "", "step_aux_action": "到达亮马大厦(西门)", "step_instruction": "沿东三环北路辅路步行94米到达亮马大厦(西门)", "step_road_name": "东三环北路辅路" } ] }, "bus": { "bus_lines": [ { "depart_stop_name": "亮马大厦(西门)", "depart_stop_id": "900000019895004", "depart_stop_location": "116.462013,39.945877", "arrival_stop_name": "首都机场1号航站楼", "arrival_stop_id": "900000019895006", "arrival_stop_location": "116.587601,40.080383", "bus_name": "机场大巴北京站线(北京站--首都机场3号航站楼)", "bus_id": "900000019895", "bus_type": "机场大巴", "bus_distance": "22897", "bus_estimate": "2306", "bus_coordinate": "116.462013,39.945877;116.462029,39.947075;116.462029,39.947464;116.462021,39.947983;116.462013,39.948135;116.462013,39.948399;116.462013,39.949287;116.462013,39.949413;........", "bus_start_time": "0500", "bus_end_time": "2100", "bus_station_num": "1", "bus_stations": [ { "bus_station_name": "首都机场2号航站楼", "bus_station_id": "900000019895005", "bus_station_location": "116.593452,40.078815" } ] } ] }, "entrances": { "location": "", "name": "" }, "exits": { "location": "", "name": "" }, "railway": { }, "taxi": { } }, { "walking": { "walk_estimate": "27", "walk_distance": "32", "walk_depart": "116.587585,40.080379", "walk_arrival": "116.587914,40.080406", "walk_steps": [ { "step_estimate": "", "step_distance": "32", "step_coordinate": "116.587585,40.080379;116.587914,40.080406", "step_action": "", "step_aux_action": "", "step_instruction": "步行32米", "step_road_name": "" } ] }, "bus": { "bus_lines": [ ] }, "entrances": { "location": "", "name": "" }, "exits": { "location": "", "name": "" }, "railway": { }, "taxi": { } } ] } ] } }

驾车路线规划


接口地址:http://route.showapi.com/1665-3 (注意:接口支持https,更安全,但稍慢一些,你懂的。请根据自己的情况进行选择。)
支持格式:json
请求方法:HTTP协议,支持GET/POST方法。

二、请求参数/ Request parameter

非文件上传的POST时,enctype=application/x-www-form-urlencoded。
文件上传的POST时,enctype=multipart/form-data。

1、系统级参数(所有接入点都需要的参数):
参数名称 类型 示例值 必须 描述
showapi_appid String 100 易源应用id
showapi_sign String 698d51a19d8a121ce581499d7b701668 为了验证用户身份,以及确保参数不被中间人篡改,需要传递调用者的数字签名。 可选,在url后带上appid和secret即可
showapi_timestamp String 20141114142239 客户端时间。
格式yyyyMMddHHmmss,如20141114142239
为了在一定程度上防止“重放攻击”,平台只接受在10分钟之内的请求。如果不传或传空串,则系统不再做此字段的检测。
showapi_res_gzip String 1或0 返回值是否用gzip方式压缩。此值为1时将压缩,其他值不压缩。
...
2、应用级参数(每个接入点有自己的参数,当前接入点的参数见下表): 展开收起
参数名称 类型 默认值 示例值 必须 描述
departLon String
116.45925
出发地经度(最多可以传3个)
departLat String
39.910031
出发地纬度(最多可以传3个)
arrivalLon String
116.587922
目的地经度
arrivalLat String
40.081577
目的地纬度
departName String
出发点poi
arrivalName String
目的地poi
departId String
出发点poiid
arrivalId String
目的地poiid
departType String
起点的poi类别
arrivalType String
终点的poi类别
strategy String
驾车选择策略
crossPoints String
经纬度(最多可以传16个)
avoidAreas String
避让区域
avoidRoadName String
避让道路名 只支持一条避让道路
province String
用汉字填入车牌省份缩写,用于判断是否限行 例如:京
carNum String
填入除省份及标点之外,车牌的字母和数字(需大写)。用于判断限行相关。 例如:NH1N11
needFerry String
在路径规划中,是否使用轮渡
...
请求示例:String res=new ShowApiRequest("http://route.showapi.com/1665-3","my_appId","my_appSecret") .addTextPara("departLon","116.45925") .addTextPara("departLat","39.910031") .addTextPara("arrivalLon","116.587922") .addTextPara("arrivalLat","40.081577") .addTextPara("departName","") .addTextPara("arrivalName","") .addTextPara("departId","") .addTextPara("arrivalId","") .addTextPara("departType","") .addTextPara("arrivalType","") .addTextPara("strategy","") .addTextPara("crossPoints","") .addTextPara("avoidAreas","") .addTextPara("avoidRoadName","") .addTextPara("province","") .addTextPara("carNum","") .addTextPara("needFerry","") .post(); System.out.println(res);

三、返回参数/ Return parameter

以JSON格式返回结果。

1、系统级参数(所有接入点都会返回的参数): 展开收起
名称 类型 示例值 描述
showapi_res_body String {"city":"昆明","prov":"云南"} 消息体的JSON封装,所有应用级的返回参数将嵌入此对象 。
showapi_res_code int 0
易源返回标志,0为成功,其他为失败。
0成功
-1,系统调用错误
-2,可调用次数或金额为0
-3,读取超时
-4,服务端返回数据解析错误
-5,后端服务器DNS解析错误
-6,服务不存在或未上线
-7, API创建者的网关资源不足
-1000,系统维护
-1002,showapi_appid字段必传
-1003,showapi_sign字段必传
-1004,签名sign验证有误
-1005,showapi_timestamp无效
-1006,app无权限调用接口
-1007,没有订购套餐
-1008,服务商关闭对您的调用权限
-1009,调用频率受限
-1010,找不到您的应用
-1011,子授权app_child_id无效
-1012,子授权已过期或失效
-1013,子授权ip受限
-1014,token权限无效
showapi_res_error String 用户输入有误! 错误信息的展示
showapi_res_id String ce135f6739294c63be0c021b76b6fbff 本次请求id
...
2、应用级参数(系统级输出参数showapi_res_body字段中的json数据结构): 展开收起
名称 类型 示例值 描述
ret_code String
0
接口调用是否成功,0为成功,其他为失败
remark String
查询成功!
提示信息
allNum String
返回结果总数目
depart String
起点坐标
arrival String
终点坐标
distance String
起点和终点的步行距离 单位:米
taxiCost String
出租车费用 单位:元
driveRoutes Object[]
驾车路线
distance String
行驶距离 单位:米
estimate String
预计行驶时间 单位:秒
strategy String
导航策略
tolls String
此导航方案道路收费 单位:元
restricted String
限行结果 0 代表限行已规避或未限行,即该路线没有限行路段 1 代表限行无法规避,即该线路有限行路段
traffic_signals String
红绿灯个数
toll_distance String
收费路段距离
steps Object[]
驾车路线
step_instruction String
行驶指示
step_direction String
方向
step_road_name String
道路名称
step_distance String
此路段距离 单位:米
step_tolls String
此段收费 单位:元
step_toll_distance String
收费路段距离 单位:米
step_toll_road_name String
主要收费道路
step_coordinate String
此路段坐标点串 格式为坐标串,如:116.481247,39.990704;116.481270,39.990726
step_action String
导航主要动作
step_aux_action String
导航辅助动作
step_detail Object[]
详细部分
step_detail_distance String
此段路的长度 单位:米
step_detail_status String
此段路的交通情况 未知、畅通、缓行、拥堵、严重拥堵
step_detail_coordinate String
此段路的轨迹 规格:x1,y1;x2,y2
...
返回示例:{ "showapi_res_code": 0, "showapi_res_error": "", "showapi_res_body": { "ret_code": "0", "remark": "查询成功!", "allNum": "1", "depart": "116.45925,39.910031", "arrival": "116.587922,40.081577", "taxiCost": "76.56969999999998", "driveRoutes": [ { "distance": "25426", "estimate": "2101", "strategy": "速度最快", "tolls": "5", "restricted": "0", "traffic_signals": "1", "toll_distance": "3935", "steps": [ { "step_instruction": "向西行驶41米左转", "step_direction": "西", "step_road_name": "", "step_distance": "41", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.459251,39.909805;116.458763,39.909805", "step_action": "左转", "step_aux_action": "", "step_detail": [ { "step_detail_distance": "41", "step_detail_status": "未知", "step_detail_coordinate": "116.459251,39.909805;116.458763,39.909805" } ] }, { "step_instruction": "向南行驶81米左转", "step_direction": "南", "step_road_name": "", "step_distance": "81", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.458763,39.909805;116.458763,39.909489;116.458771,39.909061", "step_action": "左转", "step_aux_action": "", "step_detail": [ { "step_detail_distance": "81", "step_detail_status": "未知", "step_detail_coordinate": "116.458763,39.909805;116.458763,39.909489;116.458771,39.909061" } ] }, { "step_instruction": "向东行驶168米左转", "step_direction": "东", "step_road_name": "", "step_distance": "168", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.458771,39.909061;116.459282,39.909061;116.459793,39.909058;116.460258,39.909054;116.460457,39.909061;116.460533,39.909084;116.460686,39.909187", "step_action": "左转", "step_aux_action": "", "step_detail": [ { "step_detail_distance": "87", "step_detail_status": "未知", "step_detail_coordinate": "116.458771,39.909061;116.459282,39.909061;116.459793,39.909058" }, { "step_detail_distance": "81", "step_detail_status": "未知", "step_detail_coordinate": "116.459793,39.909058;116.460258,39.909054;116.460457,39.909061;116.460533,39.909084;116.460686,39.909187" } ] }, { "step_instruction": "向北行驶119米靠右", "step_direction": "北", "step_road_name": "", "step_distance": "119", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.460686,39.909187;116.460732,39.909817;116.46077,39.909939;116.460953,39.910236", "step_action": "靠右", "step_aux_action": "", "step_detail": [ { "step_detail_distance": "119", "step_detail_status": "未知", "step_detail_coordinate": "116.460686,39.909187;116.460732,39.909817;116.46077,39.909939;116.460953,39.910236" } ] }, { "step_instruction": "向东北行驶26米进入环岛绕环岛右转", "step_direction": "东北", "step_road_name": "", "step_distance": "26", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.460953,39.910236;116.461082,39.91045", "step_action": "进入环岛", "step_aux_action": "绕环岛右转", "step_detail": [ { "step_detail_distance": "26", "step_detail_status": "未知", "step_detail_coordinate": "116.460953,39.910236;116.461082,39.91045" } ] }, { "step_instruction": "向东行驶11米离开环岛", "step_direction": "东", "step_road_name": "", "step_distance": "11", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.461082,39.91045;116.461136,39.910427;116.461197,39.910439", "step_action": "离开环岛", "step_aux_action": "", "step_detail": [ { "step_detail_distance": "11", "step_detail_status": "未知", "step_detail_coordinate": "116.461082,39.91045;116.461136,39.910427;116.461197,39.910439" } ] }, { "step_instruction": "向东行驶17米右转", "step_direction": "东", "step_road_name": "", "step_distance": "17", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.461197,39.910439;116.46138,39.910378", "step_action": "右转", "step_aux_action": "", "step_detail": [ { "step_detail_distance": "17", "step_detail_status": "未知", "step_detail_coordinate": "116.461197,39.910439;116.46138,39.910378" } ] }, { "step_instruction": "沿东三环中路辅路向南行驶167米左转调头", "step_direction": "南", "step_road_name": "东三环中路辅路", "step_distance": "167", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.46138,39.910378;116.461342,39.910213;116.461334,39.910107;116.461327,39.909653;116.461372,39.909397;116.46138,39.909214;116.461372,39.908871", "step_action": "左转调头", "step_aux_action": "", "step_detail": [ { "step_detail_distance": "109", "step_detail_status": "畅通", "step_detail_coordinate": "116.46138,39.910378;116.461342,39.910213;116.461334,39.910107;116.461327,39.909653;116.461372,39.909397" }, { "step_detail_distance": "58", "step_detail_status": "畅通", "step_detail_coordinate": "116.461372,39.909397;116.46138,39.909214;116.461372,39.908871" } ] }, { "step_instruction": "沿东三环中路辅路向北行驶809米向左前方行驶进入主路", "step_direction": "北", "step_road_name": "东三环中路辅路", "step_distance": "809", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.461372,39.908871;116.461723,39.908825;116.462082,39.908875;116.462128,39.909309;116.462204,39.909611;116.462219,39.909763;116.46225,39.910145;116.462219,39.910385;116.462189,39.910557;116.462166,39.91069;116.462143,39.911133;116.462151,39.911613;116.462158,39.91185;116.462158,39.91193;116.462158,39.912476;116.462128,39.91333;116.462112,39.913429;116.462112,39.913525;116.46209,39.914288;116.462074,39.914627;116.462044,39.915646", "step_action": "向左前方行驶", "step_aux_action": "进入主路", "step_detail": [ { "step_detail_distance": "61", "step_detail_status": "缓行", "step_detail_coordinate": "116.461372,39.908871;116.461723,39.908825;116.462082,39.908875" }, { "step_detail_distance": "48", "step_detail_status": "缓行", "step_detail_coordinate": "116.462082,39.908875;116.462128,39.909309" }, { "step_detail_distance": "120", "step_detail_status": "缓行", "step_detail_coordinate": "116.462128,39.909309;116.462204,39.909611;116.462219,39.909763;116.46225,39.910145;116.462219,39.910385" }, { "step_detail_distance": "18", "step_detail_status": "缓行", "step_detail_coordinate": "116.462219,39.910385;116.462189,39.910557" }, { "step_detail_distance": "14", "step_detail_status": "缓行", "step_detail_coordinate": "116.462189,39.910557;116.462166,39.91069" }, { "step_detail_distance": "103", "step_detail_status": "缓行", "step_detail_coordinate": "116.462166,39.91069;116.462143,39.911133;116.462151,39.911613" }, { "step_detail_distance": "25", "step_detail_status": "缓行", "step_detail_coordinate": "116.462151,39.911613;116.462158,39.91185" }, { "step_detail_distance": "8", "step_detail_status": "缓行", "step_detail_coordinate": "116.462158,39.91185;116.462158,39.91193" }, { "step_detail_distance": "61", "step_detail_status": "缓行", "step_detail_coordinate": "116.462158,39.91193;116.462158,39.912476" }, { "step_detail_distance": "117", "step_detail_status": "缓行", "step_detail_coordinate": "116.462158,39.912476;116.462128,39.91333;116.462112,39.913429;116.462112,39.913525" }, { "step_detail_distance": "84", "step_detail_status": "缓行", "step_detail_coordinate": "116.462112,39.913525;116.46209,39.914288" }, { "step_detail_distance": "37", "step_detail_status": "缓行", "step_detail_coordinate": "116.46209,39.914288;116.462074,39.914627" }, { "step_detail_distance": "113", "step_detail_status": "缓行", "step_detail_coordinate": "116.462074,39.914627;116.462044,39.915646" } ] }, { "step_instruction": "沿东三环中路入口途径东三环中路、东三环北路向北行驶4.1千米向右前方行驶进入匝道", "step_direction": "北", "step_road_name": "东三环中路入口", "step_distance": "4102", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.462044,39.915646;116.461815,39.916153;116.461792,39.916374;116.461723,39.917946;116.4617,39.91843;116.461662,39.919724;116.461662,39.921383;116.4617,39.924316;116.461708,39.925003;116.461716,39.926456;116.461716,39.92691;116.461754,39.930336;116.461777,39.93169;116.461838,39.93399;116.461815,39.935299;116.461815,39.935406;116.461792,39.936382;116.461792,39.937477;116.461815,39.938004;116.461815,39.939255;116.461807,39.940674;116.461807,39.941643;116.461815,39.943546;116.461815,39.944302;116.461807,39.94495;116.461815,39.945972;116.461823,39.946289;116.46183,39.950302;116.461838,39.951099;116.461823,39.951355;116.461769,39.951679;116.461739,39.95182;116.461617,39.952232;116.461494,39.952507;116.461479,39.952557;116.461449,39.952606", "step_action": "向右前方行驶", "step_aux_action": "进入匝道", "step_detail": [ { "step_detail_distance": "59", "step_detail_status": "缓行", "step_detail_coordinate": "116.462044,39.915646;116.461815,39.916153" }, { "step_detail_distance": "24", "step_detail_status": "畅通", "step_detail_coordinate": "116.461815,39.916153;116.461792,39.916374" }, { "step_detail_distance": "174", "step_detail_status": "畅通", "step_detail_coordinate": "116.461792,39.916374;116.461723,39.917946" }, { "step_detail_distance": "197", "step_detail_status": "畅通", "step_detail_coordinate": "116.461723,39.917946;116.4617,39.91843;116.461662,39.919724" }, { "step_detail_distance": "748", "step_detail_status": "畅通", "step_detail_coordinate": "116.461662,39.919724;116.461662,39.921383;116.4617,39.924316;116.461708,39.925003;116.461716,39.926456" }, { "step_detail_distance": "49", "step_detail_status": "拥堵", "step_detail_coordinate": "116.461716,39.926456;116.461716,39.92691" }, { "step_detail_distance": "380", "step_detail_status": "拥堵", "step_detail_coordinate": "116.461716,39.92691;116.461754,39.930336" }, { "step_detail_distance": "671", "step_detail_status": "缓行", "step_detail_coordinate": "116.461754,39.930336;116.461777,39.93169;116.461838,39.93399;116.461815,39.935299;116.461815,39.935406;116.461792,39.936382" }, { "step_detail_distance": "121", "step_detail_status": "拥堵", "step_detail_coordinate": "116.461792,39.936382;116.461792,39.937477" }, { "step_detail_distance": "59", "step_detail_status": "拥堵", "step_detail_coordinate": "116.461792,39.937477;116.461815,39.938004" }, { "step_detail_distance": "138", "step_detail_status": "缓行", "step_detail_coordinate": "116.461815,39.938004;116.461815,39.939255" }, { "step_detail_distance": "157", "step_detail_status": "缓行", "step_detail_coordinate": "116.461815,39.939255;116.461807,39.940674" }, { "step_detail_distance": "108", "step_detail_status": "缓行", "step_detail_coordinate": "116.461807,39.940674;116.461807,39.941643" }, { "step_detail_distance": "210", "step_detail_status": "缓行", "step_detail_coordinate": "116.461807,39.941643;116.461815,39.943546" }, { "step_detail_distance": "83", "step_detail_status": "缓行", "step_detail_coordinate": "116.461815,39.943546;116.461815,39.944302" }, { "step_detail_distance": "71", "step_detail_status": "畅通", "step_detail_coordinate": "116.461815,39.944302;116.461807,39.94495" }, { "step_detail_distance": "683", "step_detail_status": "畅通", "step_detail_coordinate": "116.461807,39.94495;116.461815,39.945972;116.461823,39.946289;116.46183,39.950302;116.461838,39.951099" }, { "step_detail_distance": "64", "step_detail_status": "畅通", "step_detail_coordinate": "116.461838,39.951099;116.461823,39.951355;116.461769,39.951679" }, { "step_detail_distance": "16", "step_detail_status": "畅通", "step_detail_coordinate": "116.461769,39.951679;116.461739,39.95182" }, { "step_detail_distance": "79", "step_detail_status": "畅通", "step_detail_coordinate": "116.461739,39.95182;116.461617,39.952232;116.461494,39.952507" }, { "step_detail_distance": "11", "step_detail_status": "畅通", "step_detail_coordinate": "116.461494,39.952507;116.461479,39.952557;116.461449,39.952606" } ] }, { "step_instruction": "沿三元桥途径S12机场高速向东北行驶16.0千米减速行驶到达收费站", "step_direction": "东北", "step_road_name": "三元桥", "step_distance": "16003", "step_tolls": "2", "step_toll_distance": "2403", "step_toll_road_name": "S12机场高速", "step_coordinate": "116.461449,39.952606;116.461449,39.952785;116.461411,39.952908;116.461288,39.953133;116.461197,39.953247;116.461121,39.953354;116.46093,39.95356;116.460747,39.953743;116.46048,39.953983;116.460335,39.954098;116.459595,39.954613;116.457176,39.956203;116.456581,39.9566;116.456383,39.956757;116.456276,39.956871;116.456207,39.956974;116.456131,39.957092;116.456108,39.957191;116.456085,39.957275;116.45607,39.957348;116.455971,39.958145;116.455933,39.958538;116.455956,39.958729;116.455994,39.958817;116.456062,39.958988;116.456444,39.959461;116.45713,39.960098;116.458496,39.961365;116.459709,39.962479;116.462181,39.964695;116.465813,39.967934;116.466187,39.968258;116.467415,39.969368;116.467842,39.969749;116.468155,39.970032;116.469017,39.970715;116.469254,39.97094;116.470291,39.971897;116.470551,39.972153;116.470917,39.972511;116.471664,39.973209;116.472527,39.973991;116.473633,39.974983;116.474747,39.975967;116.477051,39.978054;116.478363,39.979244;116.479263,39.980061;116.47963,39.980396;116.481522,39.982117;116.484566,39.984875;116.485664,39.985847;116.487526,39.987518;116.488091,39.988029;116.490189,39.989922;116.490524,39.990234;116.491646,39.991234;116.492661,39.992149;116.495201,39.994457;116.499023,39.997925;116.50264,40.001217;116.502647,40.001228;116.503265,40.001759;116.505638,40.003925;116.50602,40.004253;116.510155,40.008022;116.512077,40.009727;116.514328,40.011765;116.514809,40.012203;116.51622,40.013451;116.516785,40.013924;116.518211,40.015045;116.519691,40.015976;116.520546,40.016441;116.520996,40.016666;116.52121,40.016773;116.521378,40.016857;116.522453,40.017365;116.52269,40.017448;116.524048,40.017941;116.524178,40.018002;116.524323,40.018047;116.526108,40.018711;116.529449,40.019901;116.532532,40.020973;116.537346,40.022686;116.538773,40.02319;116.542969,40.024685;116.546791,40.026028;116.548065,40.026485;116.54982,40.027092;116.551765,40.027687;116.553253,40.028156;116.554176,40.028458;116.555077,40.028751;116.557144,40.029392;116.55864,40.029854;116.559967,40.030319;116.560593,40.03056;116.561798,40.031071;116.56353,40.031876;116.564941,40.032543;116.565117,40.032627;116.565437,40.032784;116.565765,40.032932;116.568054,40.034031;116.568344,40.034176;116.569206,40.034595;116.570198,40.035076;116.572418,40.036163;116.573105,40.036533;116.573944,40.037037;116.574402,40.037357;116.574753,40.037643;116.575211,40.038033;116.575653,40.038445;116.576279,40.039101;116.577011,40.039948;116.577568,40.040539;116.578987,40.042244;116.57943,40.042732;116.580429,40.043835;116.580696,40.044106;116.581413,40.044807;116.58181,40.045166;116.582016,40.045345;116.582954,40.046196;116.585365,40.048107", "step_action": "减速行驶", "step_aux_action": "到达收费站", "step_detail": [ { "step_detail_distance": "962", "step_detail_status": "畅通", "step_detail_coordinate": "116.461449,39.952606;116.461449,39.952785;116.461411,39.952908;116.461288,39.953133;116.461197,39.953247;116.461121,39.953354;116.46093,39.95356;116.460747,39.953743;116.46048,39.953983;116.460335,39.954098;116.459595,39.954613;116.457176,39.956203;116.456581,39.9566;116.456383,39.956757;116.456276,39.956871;116.456207,39.956974;116.456131,39.957092;116.456108,39.957191;116.456085,39.957275;116.45607,39.957348;116.455971,39.958145;116.455933,39.958538;116.455956,39.958729;116.455994,39.958817;116.456062,39.958988;116.456444,39.959461" }, { "step_detail_distance": "91", "step_detail_status": "畅通", "step_detail_coordinate": "116.456444,39.959461;116.45713,39.960098" }, { "step_detail_distance": "182", "step_detail_status": "畅通", "step_detail_coordinate": "116.45713,39.960098;116.458496,39.961365" }, { "step_detail_distance": "960", "step_detail_status": "畅通", "step_detail_coordinate": "116.458496,39.961365;116.459709,39.962479;116.462181,39.964695;116.465813,39.967934" }, { "step_detail_distance": "210", "step_detail_status": "畅通", "step_detail_coordinate": "116.465813,39.967934;116.466187,39.968258;116.467415,39.969368" }, { "step_detail_distance": "202", "step_detail_status": "畅通", "step_detail_coordinate": "116.467415,39.969368;116.467842,39.969749;116.468155,39.970032;116.469017,39.970715" }, { "step_detail_distance": "170", "step_detail_status": "畅通", "step_detail_coordinate": "116.469017,39.970715;116.469254,39.97094;116.470291,39.971897" }, { "step_detail_distance": "301", "step_detail_status": "畅通", "step_detail_coordinate": "116.470291,39.971897;116.470551,39.972153;116.470917,39.972511;116.471664,39.973209;116.472527,39.973991" }, { "step_detail_distance": "289", "step_detail_status": "缓行", "step_detail_coordinate": "116.472527,39.973991;116.473633,39.974983;116.474747,39.975967" }, { "step_detail_distance": "644", "step_detail_status": "缓行", "step_detail_coordinate": "116.474747,39.975967;116.477051,39.978054;116.478363,39.979244;116.479263,39.980061;116.47963,39.980396" }, { "step_detail_distance": "795", "step_detail_status": "畅通", "step_detail_coordinate": "116.47963,39.980396;116.481522,39.982117;116.484566,39.984875;116.485664,39.985847" }, { "step_detail_distance": "245", "step_detail_status": "畅通", "step_detail_coordinate": "116.485664,39.985847;116.487526,39.987518" }, { "step_detail_distance": "541", "step_detail_status": "畅通", "step_detail_coordinate": "116.487526,39.987518;116.488091,39.988029;116.490189,39.989922;116.490524,39.990234;116.491646,39.991234" }, { "step_detail_distance": "134", "step_detail_status": "畅通", "step_detail_coordinate": "116.491646,39.991234;116.492661,39.992149" }, { "step_detail_distance": "335", "step_detail_status": "畅通", "step_detail_coordinate": "116.492661,39.992149;116.495201,39.994457" }, { "step_detail_distance": "984", "step_detail_status": "畅通", "step_detail_coordinate": "116.495201,39.994457;116.499023,39.997925;116.50264,40.001217;116.502647,40.001228" }, { "step_detail_distance": "79", "step_detail_status": "畅通", "step_detail_coordinate": "116.502647,40.001228;116.503265,40.001759" }, { "step_detail_distance": "314", "step_detail_status": "畅通", "step_detail_coordinate": "116.503265,40.001759;116.505638,40.003925" }, { "step_detail_distance": "49", "step_detail_status": "畅通", "step_detail_coordinate": "116.505638,40.003925;116.50602,40.004253" }, { "step_detail_distance": "1587", "step_detail_status": "畅通", "step_detail_coordinate": "116.50602,40.004253;116.510155,40.008022;116.512077,40.009727;116.514328,40.011765;116.514809,40.012203;116.51622,40.013451;116.516785,40.013924;116.518211,40.015045" }, { "step_detail_distance": "337", "step_detail_status": "畅通", "step_detail_coordinate": "116.518211,40.015045;116.519691,40.015976;116.520546,40.016441;116.520996,40.016666;116.52121,40.016773;116.521378,40.016857" }, { "step_detail_distance": "257", "step_detail_status": "畅通", "step_detail_coordinate": "116.521378,40.016857;116.522453,40.017365;116.52269,40.017448;116.524048,40.017941" }, { "step_detail_distance": "26", "step_detail_status": "畅通", "step_detail_coordinate": "116.524048,40.017941;116.524178,40.018002;116.524323,40.018047" }, { "step_detail_distance": "2112", "step_detail_status": "畅通", "step_detail_coordinate": "116.524323,40.018047;116.526108,40.018711;116.529449,40.019901;116.532532,40.020973;116.537346,40.022686;116.538773,40.02319;116.542969,40.024685;116.546791,40.026028" }, { "step_detail_distance": "285", "step_detail_status": "畅通", "step_detail_coordinate": "116.546791,40.026028;116.548065,40.026485;116.54982,40.027092" }, { "step_detail_distance": "178", "step_detail_status": "畅通", "step_detail_coordinate": "116.54982,40.027092;116.551765,40.027687" }, { "step_detail_distance": "136", "step_detail_status": "畅通", "step_detail_coordinate": "116.551765,40.027687;116.553253,40.028156" }, { "step_detail_distance": "169", "step_detail_status": "畅通", "step_detail_coordinate": "116.553253,40.028156;116.554176,40.028458;116.555077,40.028751" }, { "step_detail_distance": "962", "step_detail_status": "畅通", "step_detail_coordinate": "116.555077,40.028751;116.557144,40.029392;116.55864,40.029854;116.559967,40.030319;116.560593,40.03056;116.561798,40.031071;116.56353,40.031876;116.564941,40.032543;116.565117,40.032627" }, { "step_detail_distance": "64", "step_detail_status": "畅通", "step_detail_coordinate": "116.565117,40.032627;116.565437,40.032784;116.565765,40.032932" }, { "step_detail_distance": "346", "step_detail_status": "畅通", "step_detail_coordinate": "116.565765,40.032932;116.568054,40.034031;116.568344,40.034176;116.569206,40.034595" }, { "step_detail_distance": "904", "step_detail_status": "畅通", "step_detail_coordinate": "116.569206,40.034595;116.570198,40.035076;116.572418,40.036163;116.573105,40.036533;116.573944,40.037037;116.574402,40.037357;116.574753,40.037643;116.575211,40.038033;116.575653,40.038445;116.576279,40.039101;116.577011,40.039948" }, { "step_detail_distance": "80", "step_detail_status": "畅通", "step_detail_coordinate": "116.577011,40.039948;116.577568,40.040539" }, { "step_detail_distance": "291", "step_detail_status": "畅通", "step_detail_coordinate": "116.577568,40.040539;116.578987,40.042244;116.57943,40.042732" }, { "step_detail_distance": "285", "step_detail_status": "畅通", "step_detail_coordinate": "116.57943,40.042732;116.580429,40.043835;116.580696,40.044106;116.581413,40.044807" }, { "step_detail_distance": "78", "step_detail_status": "畅通", "step_detail_coordinate": "116.581413,40.044807;116.58181,40.045166;116.582016,40.045345" }, { "step_detail_distance": "419", "step_detail_status": "畅通", "step_detail_coordinate": "116.582016,40.045345;116.582954,40.046196;116.585365,40.048107" } ] }, { "step_instruction": "沿S12机场高速向北行驶3.3千米靠左进入匝道", "step_direction": "北", "step_road_name": "S12机场高速", "step_distance": "3287", "step_tolls": "3", "step_toll_distance": "1532", "step_toll_road_name": "S12机场高速", "step_coordinate": "116.585365,40.048107;116.585678,40.048382;116.586098,40.04882;116.586266,40.048988;116.586914,40.049545;116.587288,40.049881;116.5877,40.050266;116.588165,40.050785;116.588287,40.050907;116.588722,40.051472;116.58902,40.051926;116.589218,40.052265;116.589401,40.052624;116.589638,40.05315;116.589806,40.0536;116.590012,40.054356;116.59008,40.054668;116.590157,40.055336;116.590179,40.055859;116.590157,40.056107;116.590157,40.056152;116.590096,40.056858;116.590012,40.057495;116.589661,40.059669;116.589638,40.059837;116.589554,40.060337;116.58947,40.060841;116.58934,40.061676;116.589218,40.062511;116.588554,40.06675;116.588501,40.067139;116.587883,40.070992;116.58786,40.071194;116.58783,40.0714;116.587769,40.072079;116.587769,40.072357;116.587784,40.073078;116.587822,40.07357;116.587906,40.074162;116.58815,40.075539;116.588318,40.076389;116.588356,40.076576", "step_action": "靠左", "step_aux_action": "进入匝道", "step_detail": [ { "step_detail_distance": "311", "step_detail_status": "畅通", "step_detail_coordinate": "116.585365,40.048107;116.585678,40.048382;116.586098,40.04882;116.586266,40.048988;116.586914,40.049545;116.587288,40.049881;116.5877,40.050266" }, { "step_detail_distance": "70", "step_detail_status": "畅通", "step_detail_coordinate": "116.5877,40.050266;116.588165,40.050785" }, { "step_detail_distance": "16", "step_detail_status": "畅通", "step_detail_coordinate": "116.588165,40.050785;116.588287,40.050907" }, { "step_detail_distance": "170", "step_detail_status": "畅通", "step_detail_coordinate": "116.588287,40.050907;116.588722,40.051472;116.58902,40.051926;116.589218,40.052265" }, { "step_detail_distance": "104", "step_detail_status": "畅通", "step_detail_coordinate": "116.589218,40.052265;116.589401,40.052624;116.589638,40.05315" }, { "step_detail_distance": "138", "step_detail_status": "畅通", "step_detail_coordinate": "116.589638,40.05315;116.589806,40.0536;116.590012,40.054356" }, { "step_detail_distance": "195", "step_detail_status": "畅通", "step_detail_coordinate": "116.590012,40.054356;116.59008,40.054668;116.590157,40.055336;116.590179,40.055859;116.590157,40.056107" }, { "step_detail_distance": "397", "step_detail_status": "畅通", "step_detail_coordinate": "116.590157,40.056107;116.590157,40.056152;116.590096,40.056858;116.590012,40.057495;116.589661,40.059669" }, { "step_detail_distance": "18", "step_detail_status": "畅通", "step_detail_coordinate": "116.589661,40.059669;116.589638,40.059837" }, { "step_detail_distance": "113", "step_detail_status": "畅通", "step_detail_coordinate": "116.589638,40.059837;116.589554,40.060337;116.58947,40.060841" }, { "step_detail_distance": "186", "step_detail_status": "畅通", "step_detail_coordinate": "116.58947,40.060841;116.58934,40.061676;116.589218,40.062511" }, { "step_detail_distance": "948", "step_detail_status": "畅通", "step_detail_coordinate": "116.589218,40.062511;116.588554,40.06675;116.588501,40.067139;116.587883,40.070992" }, { "step_detail_distance": "46", "step_detail_status": "畅通", "step_detail_coordinate": "116.587883,40.070992;116.58786,40.071194;116.58783,40.0714" }, { "step_detail_distance": "240", "step_detail_status": "畅通", "step_detail_coordinate": "116.58783,40.0714;116.587769,40.072079;116.587769,40.072357;116.587784,40.073078;116.587822,40.07357" }, { "step_detail_distance": "220", "step_detail_status": "畅通", "step_detail_coordinate": "116.587822,40.07357;116.587906,40.074162;116.58815,40.075539" }, { "step_detail_distance": "95", "step_detail_status": "畅通", "step_detail_coordinate": "116.58815,40.075539;116.588318,40.076389" }, { "step_detail_distance": "20", "step_detail_status": "畅通", "step_detail_coordinate": "116.588318,40.076389;116.588356,40.076576" } ] }, { "step_instruction": "沿S12机场高速出口向东北行驶316米靠右", "step_direction": "东北", "step_road_name": "S12机场高速出口", "step_distance": "316", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.588356,40.076576;116.588417,40.076843;116.58847,40.076927;116.589096,40.077808;116.589264,40.078125;116.589615,40.078785;116.589684,40.078938;116.58976,40.079208", "step_action": "靠右", "step_aux_action": "", "step_detail": [ { "step_detail_distance": "268", "step_detail_status": "畅通", "step_detail_coordinate": "116.588356,40.076576;116.588417,40.076843;116.58847,40.076927;116.589096,40.077808;116.589264,40.078125;116.589615,40.078785" }, { "step_detail_distance": "17", "step_detail_status": "畅通", "step_detail_coordinate": "116.589615,40.078785;116.589684,40.078938" }, { "step_detail_distance": "31", "step_detail_status": "畅通", "step_detail_coordinate": "116.589684,40.078938;116.58976,40.079208" } ] }, { "step_instruction": "向北行驶148米左转", "step_direction": "北", "step_road_name": "", "step_distance": "148", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.58976,40.079208;116.589813,40.079376;116.589592,40.080536", "step_action": "左转", "step_aux_action": "", "step_detail": [ { "step_detail_distance": "148", "step_detail_status": "畅通", "step_detail_coordinate": "116.58976,40.079208;116.589813,40.079376;116.589592,40.080536" } ] }, { "step_instruction": "向西行驶131米到达目的地", "step_direction": "西", "step_road_name": "", "step_distance": "131", "step_tolls": "0", "step_toll_distance": "0", "step_toll_road_name": "", "step_coordinate": "116.589592,40.080536;116.588074,40.080421", "step_action": "", "step_aux_action": "到达目的地", "step_detail": [ { "step_detail_distance": "131", "step_detail_status": "畅通", "step_detail_coordinate": "116.589592,40.080536;116.588074,40.080421" } ] } ] } ] } }

骑车路线规划


接口地址:http://route.showapi.com/1665-4 (注意:接口支持https,更安全,但稍慢一些,你懂的。请根据自己的情况进行选择。)
支持格式:json
请求方法:HTTP协议,支持GET/POST方法。

二、请求参数/ Request parameter

非文件上传的POST时,enctype=application/x-www-form-urlencoded。
文件上传的POST时,enctype=multipart/form-data。

1、系统级参数(所有接入点都需要的参数):
参数名称 类型 示例值 必须 描述
showapi_appid String 100 易源应用id
showapi_sign String 698d51a19d8a121ce581499d7b701668 为了验证用户身份,以及确保参数不被中间人篡改,需要传递调用者的数字签名。 可选,在url后带上appid和secret即可
showapi_timestamp String 20141114142239 客户端时间。
格式yyyyMMddHHmmss,如20141114142239
为了在一定程度上防止“重放攻击”,平台只接受在10分钟之内的请求。如果不传或传空串,则系统不再做此字段的检测。
showapi_res_gzip String 1或0 返回值是否用gzip方式压缩。此值为1时将压缩,其他值不压缩。
...
2、应用级参数(每个接入点有自己的参数,当前接入点的参数见下表): 展开收起
参数名称 类型 默认值 示例值 必须 描述
departLon String
116.481028
出发地经度
departLat String
39.989643
出发地纬度
arrivalLon String
116.434446
目的地经度
arrivalLat String
39.90816
目的地纬度
...
请求示例:String res=new ShowApiRequest("http://route.showapi.com/1665-4","my_appId","my_appSecret") .addTextPara("departLon","116.481028") .addTextPara("departLat","39.989643") .addTextPara("arrivalLon","116.434446") .addTextPara("arrivalLat","39.90816") .post(); System.out.println(res);

三、返回参数/ Return parameter

以JSON格式返回结果。

1、系统级参数(所有接入点都会返回的参数): 展开收起
名称 类型 示例值 描述
showapi_res_body String {"city":"昆明","prov":"云南"} 消息体的JSON封装,所有应用级的返回参数将嵌入此对象 。
showapi_res_code int 0
易源返回标志,0为成功,其他为失败。
0成功
-1,系统调用错误
-2,可调用次数或金额为0
-3,读取超时
-4,服务端返回数据解析错误
-5,后端服务器DNS解析错误
-6,服务不存在或未上线
-7, API创建者的网关资源不足
-1000,系统维护
-1002,showapi_appid字段必传
-1003,showapi_sign字段必传
-1004,签名sign验证有误
-1005,showapi_timestamp无效
-1006,app无权限调用接口
-1007,没有订购套餐
-1008,服务商关闭对您的调用权限
-1009,调用频率受限
-1010,找不到您的应用
-1011,子授权app_child_id无效
-1012,子授权已过期或失效
-1013,子授权ip受限
-1014,token权限无效
showapi_res_error String 用户输入有误! 错误信息的展示
showapi_res_id String ce135f6739294c63be0c021b76b6fbff 本次请求id
...
2、应用级参数(系统级输出参数showapi_res_body字段中的json数据结构): 展开收起
名称 类型 示例值 描述
ret_code String
0
接口调用是否成功,0为成功,其他为失败
remark String
查询成功!
提示信息
bicycleRoutes Object[]
骑车路线
distance String
起终点的骑行距离 单位:米
estimate String
起终点的骑行时间 单位:秒
route Object[]
路线
instruction String
路段步行指示
road_name String
道路名称
mile String
此路段距离 单位:米
direction String
方向
expect String
此路段预计步行时间
coordinate String
此路段坐标点
action String
步行主要动作
aux_action String
步行辅助动作
type String
这段路是否存在特殊的方式,0,普通道路1,人行横道3,地下通道4,过街天桥 5,地铁通道6,公园7,广场8,扶梯9,直梯 10,索道11,空中通道12,建筑物穿越通道13,行人通道 14,游船路线15,观光车路线16,滑道18,扩路 19,道路附属连接线20,阶梯21,斜坡22,桥 23,隧道30,轮渡
...
返回示例:{ "showapi_res_code": 0, "showapi_res_error": "", "showapi_res_body": { "ret_code": "0", "remark": "查询成功!", "depart": "116.481028,39.989643", "arrival": "116.434446,39.90816", "bicycleRoutes": [ { "distance": 11297, "estimate": 2711, "route": [ { "instruction": "骑行75米向左前方行驶", "road_name": "", "mile": 75, "direction": "", "expect": 18, "coordinate": "116.480595,39.989705;116.480282,39.989926;116.479844,39.989818", "action": "向左前方行驶", "aux_action": "" }, { "instruction": "沿阜通东大街向西南骑行11米右转", "road_name": "阜通东大街", "mile": 11, "direction": "西南", "expect": 3, "coordinate": "116.479839,39.989813;116.479753,39.989748", "action": "右转", "aux_action": "" }, { "instruction": "沿阜荣街向西北骑行14米左转", "road_name": "阜荣街", "mile": 14, "direction": "西北", "expect": 3, "coordinate": "116.479748,39.989744;116.479631,39.989831", "action": "左转", "aux_action": "" }, { "instruction": "沿曙光西路向西南骑行4641米直行", "road_name": "曙光西路", "mile": 4641, "direction": "西南", "expect": 1114, "coordinate": "116.479627,39.989831;116.479366,39.989792;116.479227,39.989666;116.479227,39.989666;116.479006,39.989457;116.479006,39.989457;116.478655,39.989128;116.478655,39.989128;......", "action": "直行", "aux_action": "" }, { "instruction": "沿柳芳北街向西骑行231米左转", "road_name": "柳芳北街", "mile": 231, "direction": "西", "expect": 55, "coordinate": "116.442365,39.959757;116.44227,39.959757;116.44227,39.959757;116.44214,39.959757;116.44214,39.959757;116.44204,39.959757;116.44204,39.959757;116.441424,39.959757;116.441424,39.959757;116.439653,39.95974", "action": "左转", "aux_action": "" }, { "instruction": "沿左家庄西街向南骑行1102米向右前方行驶", "road_name": "左家庄西街", "mile": 1102, "direction": "南", "expect": 264, "coordinate": "116.439648,39.959735;116.439644,39.959648;116.439644,39.959648;116.439622,39.959479;116.439622,39.959479;116.439648,39.958989;116.439648,39.958989;116.43967,39.958681;......", "action": "向右前方行驶", "aux_action": "" }, { "instruction": "沿左家庄西街向南骑行24米向左前方行驶", "road_name": "左家庄西街", "mile": 24, "direction": "南", "expect": 6, "coordinate": "116.440343,39.949748;116.440308,39.949692;116.440308,39.949692;116.440343,39.949536", "action": "向左前方行驶", "aux_action": "" }, { "instruction": "沿左家庄西街向东南骑行98米右转", "road_name": "左家庄西街", "mile": 98, "direction": "东南", "expect": 24, "coordinate": "116.440343,39.949531;116.44036,39.949475;116.440412,39.949405;116.440647,39.94921;116.441115,39.948898", "action": "右转", "aux_action": "" }, { "instruction": "沿香河园路向西南骑行549米右转", "road_name": "香河园路", "mile": 549, "direction": "西南", "expect": 132, "coordinate": "116.441115,39.948893;116.440495,39.948372;116.440495,39.948372;116.439944,39.947917;116.439944,39.947917;116.439349,39.947396;116.438989,39.947044;116.438989,39.947044;116.438845,39.946875;116.438845,39.946875;116.438576,39.946584;116.438576,39.946584;116.438464,39.946441;116.438464,39.946441;116.438212,39.946159;116.438212,39.946159;116.437921,39.945781;116.437921,39.945781;116.43786,39.94569;116.43786,39.94569;116.437344,39.944891", "action": "右转", "aux_action": "" }, { "instruction": "沿香河园路向西骑行284米左转", "road_name": "香河园路", "mile": 284, "direction": "西", "expect": 68, "coordinate": "116.437339,39.944887;116.434549,39.944865;116.434549,39.944865;116.434436,39.944865;116.434436,39.944865;116.434006,39.944865", "action": "左转", "aux_action": "" }, { "instruction": "向南骑行253米左转", "road_name": "", "mile": 253, "direction": "南", "expect": 61, "coordinate": "116.434002,39.944865;116.434002,39.944835;116.434002,39.944835;116.434058,39.94477;116.434054,39.944431;116.434054,39.944431;116.434045,39.944271;116.434045,39.944271;116.434015,39.943307;116.433945,39.943225;116.433945,39.943225;116.433911,39.943099;116.433911,39.942617", "action": "左转" }, { "instruction": "沿东直门桥骑行47米向右前方行驶", "road_name": "东直门桥", "mile": 47, "direction": "", "expect": 11, "coordinate": "116.433911,39.942613;116.433971,39.942687;116.434058,39.942721;116.434119,39.942726;116.43421,39.942713;116.434362,39.942635", "action": "向右前方行驶", "aux_action": "" }, { "instruction": "沿东直门桥骑行114米向右前方行驶", "road_name": "东直门桥", "mile": 114, "direction": "", "expect": 27, "coordinate": "116.434362,39.94263;116.434384,39.942487;116.43441,39.942092;116.43441,39.942092;116.434414,39.942023;116.434414,39.941606", "action": "向右前方行驶", "aux_action": "" }, { "instruction": "沿东直门桥骑行11米向右前方行驶", "road_name": "东直门桥", "mile": 11, "direction": "", "expect": 3, "coordinate": "116.434414,39.941602;116.434384,39.941549;116.434353,39.941523", "action": "向右前方行驶", "aux_action": "" }, { "instruction": "沿东直门桥骑行22米向右前方行驶", "road_name": "东直门桥", "mile": 22, "direction": "", "expect": 5, "coordinate": "116.434349,39.941519;116.434345,39.94151;116.434132,39.941415", "action": "向右前方行驶", "aux_action": "" }, { "instruction": "沿东直门桥向西骑行84米向左前方行驶", "road_name": "东直门桥", "mile": 84, "direction": "西", "expect": 20, "coordinate": "116.434128,39.941411;116.434062,39.941411;116.434062,39.941411;116.433529,39.941402;116.433529,39.941402;116.433511,39.941402;116.433511,39.941402;116.433247,39.941328;116.433247,39.941328;116.43319,39.941272", "action": "向左前方行驶", "aux_action": "" }, { "instruction": "沿东直门桥向南骑行49米向左前方行驶", "road_name": "东直门桥", "mile": 49, "direction": "南", "expect": 12, "coordinate": "116.433186,39.941267;116.433147,39.941155;116.433147,39.941085;116.433151,39.941033;116.433216,39.940894;116.433216,39.940894;116.433273,39.940855", "action": "向左前方行驶" }, { "instruction": "沿朝阳门北大街骑行3640米右转", "road_name": "朝阳门北大街", "mile": 3640, "direction": "", "expect": 874, "coordinate": "116.433273,39.940851;116.433316,39.940707;116.433316,39.940707;116.433364,39.940577;116.433364,39.940577;116.433364,39.940226;116.433364,39.940226;116.433364,39.940095;......", "action": "右转", "aux_action": "" }, { "instruction": "骑行48米到达目的地", "road_name": "", "mile": 48, "direction": "", "expect": 12, "coordinate": "116.435009,39.908073;116.434449,39.908073", "action": "", "aux_action": "到达目的地" } ] } ] } }

服务商介绍:易源数据是昆明秀派科技有限公司旗下的大数据生产、交易、流通平台。

易源数据通过打破资源壁垒,搭建起数据资源的基础设施,将接口纳入统一的接口池,把多个异构数据源合并到同一根管线上,以统一的访问和控制方式,对外提供统一格式的数据。

让开发者可以像搭积木一样通过各种API操纵资源。

截至2017年12月,平台已经拥有API接口230个,日调用量2000万,覆盖全网10万+真实消费者,为超过3000+的企业用户提供全域数据服务。

 

联系方式:

电话: 4009988033

 

微博: http://www.weibo.com/showapi

 

邮箱: services@showapi.com

 

QQ: 3007663665

 

微信: show_api

进制数据介绍:

企业和程序员可以通过进制数据封装的API或SDK极速接入其他数据资源,同时进制数据提供数据交易等服务。通过进制数据,不仅开发成本极大降低,而且可以获得其他丰富的数据服务:数据交易,数据分析,区块链Token管理等服务。

 

 

联系我们:

电话:173-6457-5198

QQ① 群:792473404

客服 QQ:1643296538

微信客服:binstds

                                      扫描二维码添加客服微信

 

 

工作时间

 周一至周五 9:00 - 21:00(其中周三为 9:00 - 18:00) 

周六 9:00 - 12:00(节假日除外) 

 

 

进制数据团队

 

 

2020.01.01

 

 

 

 

 


其他服务商
热门API推荐
相关API推荐