select-道路规划
<h5>简要描述</h5>
<ul>
<li>查询道路规划数据</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.15.34:8072/threedinf/Road/getRoadAnalyseData</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>请求示例</h5>
<pre><code>{
"breakArea":[
],
"conditions":"0,0,0,0",
"position":{
"start":{
"position":"100.7339,32.8662",
"location":"班玛县"
},
"half":[
],
"end":{
"position":"104.8692,29.9430",
"location":"四川省,雁江区,东峰镇"
}
}
}</code></pre>
<h5>部分参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">breakArea</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">array</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">half</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">array</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">conditions</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>默认为 0,0,0,0</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>[
{
"id": "b684d3a015044cf9be034ec5c17b7110",
"duration": "45999.4",
"distance": "819431.6",
"summary": "S208, XU07",
"geometry": {
"type": "LineString",
"coordinates": [
[
100.716927,
32.868558
],
[
100.72304,
32.888928
],
......
]
},
"roadInfoList" {
"duration": "1122.3",
"distance": "7768.5",
"speed": "24.919005613472336",
"summary": "未知道路",
"modifierText": "走未知道路",
"modifier": null,
"geometry": {
"coordinates": [
[
100.716927,
32.868558
],
[
100.716997,
32.869094
],
......
],
"type": "LineString"
}
},
{
......
}
</code></pre>