当前位置: 首页 > news >正文

网站内容及实现方式对seo的理解

网站内容及实现方式,对seo的理解,做网站 数据库,网站建设项目介绍高德猎鹰轨迹官网:服务管理-API文档-开发指南-猎鹰轨迹服务 | 高德地图API 轨迹查询 httpclient的post // post方法请求 创建轨迹 private static void createTrace() {String key "高德注册的key";String sid "服务id"; // 服务idString…

高德猎鹰轨迹官网:服务管理-API文档-开发指南-猎鹰轨迹服务 | 高德地图API

轨迹查询 httpclient的post 

// post方法请求  创建轨迹
private static void createTrace() {String key = "高德注册的key";String sid = "服务id"; // 服务idString tid = "轨迹id"; // 轨迹idString tName = "第一个轨迹"; // 轨迹id//创建HttpClient对象CloseableHttpClient httpClient = HttpClients.createDefault();//创建HttpPost对象HttpPost httpPost = new HttpPost(LieYingConstant.trace.ADD + "?key=" + key + "&sid=" + sid + "&tid=" + tid + "&tname=" + tName);//设置请求头信息httpPost.setHeader("Content-Type", "application/json");//执行请求try (CloseableHttpResponse response = httpClient.execute(httpPost)) {//获取响应结果HttpEntity responseEntity = response.getEntity();String responseString = EntityUtils.toString(responseEntity, "UTF-8");System.out.println(responseString);} catch (IOException e) {e.printStackTrace();} finally {try {httpClient.close();} catch (IOException e) {e.printStackTrace();}}}

轨迹查询 httpclient的get,猎鹰轨迹纠偏查询有一个比较坑的地方,就是纠偏时,他默认只查询第一页的,如果要查询整个轨迹,后端需要拿到返回的点的数量,计算总的页数,再循环查询所有的点位,

 private static void tranceSearch(LieYingDTO lieYingDTO) {//创建HttpClient对象CloseableHttpClient httpClient = HttpClients.createDefault();//创建HttpPost对象
//        HttpGet httpGet = new HttpGet(LieYingConstant.trace.LIST + "?key=" + key + "&sid=" + sid +
//                "&tid=" + tid + "&trid=" + trid + "&correction=denoise=1,mapmatch=1,attribute=1,threshold=100,mode=driving&recoup=1");String requestUrl = LieYingConstant.trace.LIST + "?key=" + lieYingDTO.getKey() + "&sid=" + lieYingDTO.getSid() +"&tid=" + lieYingDTO.getTid() + "&trid=" + lieYingDTO.getTrid()+ "&pagesize=999" ;HttpGet httpGet = new HttpGet(requestUrl);System.out.println("url---->" + requestUrl);//设置请求头信息httpGet.setHeader("Content-Type", "application/json");//执行请求try (CloseableHttpResponse response = httpClient.execute(httpGet)) {//获取响应结果HttpEntity responseEntity = response.getEntity();String responseString = EntityUtils.toString(responseEntity, "UTF-8");JSONObject parse = (JSONObject)JSONObject.parse(responseString);JSONObject data = (JSONObject)parse.get("data");JSONArray tracks = (JSONArray) data.get("tracks");JSONObject obj = (JSONObject)tracks.get(0);JSONArray jsonArray = (JSONArray)obj.get("points");List<String[]> list = new ArrayList();for (Object o : jsonArray) {JSONObject object = (JSONObject) o;String location = object.get("location").toString();String[] split = location.split(",");list.add(split);}System.out.println(responseString);System.out.println(JSON.toJSON(list));} catch (IOException e) {e.printStackTrace();} finally {try {httpClient.close();} catch (IOException e) {e.printStackTrace();}}}


文章转载自:
http://palpate.sfwd.cn
http://boxthorn.sfwd.cn
http://prehensile.sfwd.cn
http://enneastylos.sfwd.cn
http://propositional.sfwd.cn
http://johnson.sfwd.cn
http://orthoscopic.sfwd.cn
http://weatherman.sfwd.cn
http://diseaseful.sfwd.cn
http://penal.sfwd.cn
http://neuropterous.sfwd.cn
http://dmd.sfwd.cn
http://kuoyu.sfwd.cn
http://crispbread.sfwd.cn
http://spectroradiometer.sfwd.cn
http://rabbin.sfwd.cn
http://rubiaceous.sfwd.cn
http://precentor.sfwd.cn
http://unseeded.sfwd.cn
http://bretzel.sfwd.cn
http://lysostaphin.sfwd.cn
http://debag.sfwd.cn
http://myelogenous.sfwd.cn
http://seriary.sfwd.cn
http://invalidity.sfwd.cn
http://beadle.sfwd.cn
http://sismographic.sfwd.cn
http://turgid.sfwd.cn
http://boadicea.sfwd.cn
http://prelate.sfwd.cn
http://morelia.sfwd.cn
http://fisc.sfwd.cn
http://cartwheel.sfwd.cn
http://earthshine.sfwd.cn
http://sincipital.sfwd.cn
http://felloe.sfwd.cn
http://analects.sfwd.cn
http://wahhabi.sfwd.cn
http://dichromaticism.sfwd.cn
http://fibulae.sfwd.cn
http://froebelian.sfwd.cn
http://mesothelial.sfwd.cn
http://preordination.sfwd.cn
http://apostrophe.sfwd.cn
http://bullterrier.sfwd.cn
http://coiffeuse.sfwd.cn
http://herbert.sfwd.cn
http://washer.sfwd.cn
http://boronia.sfwd.cn
http://muskone.sfwd.cn
http://towmond.sfwd.cn
http://counterplot.sfwd.cn
http://nemean.sfwd.cn
http://pickle.sfwd.cn
http://phytotaxonomy.sfwd.cn
http://understructure.sfwd.cn
http://tarras.sfwd.cn
http://craft.sfwd.cn
http://rapeseed.sfwd.cn
http://denitrify.sfwd.cn
http://moment.sfwd.cn
http://isopycnic.sfwd.cn
http://macabre.sfwd.cn
http://rezaiyeh.sfwd.cn
http://carboxylate.sfwd.cn
http://aquicultural.sfwd.cn
http://verisimilar.sfwd.cn
http://hootenanny.sfwd.cn
http://zoochory.sfwd.cn
http://filum.sfwd.cn
http://furriner.sfwd.cn
http://intuit.sfwd.cn
http://nafud.sfwd.cn
http://symbolism.sfwd.cn
http://genial.sfwd.cn
http://luteolin.sfwd.cn
http://audibility.sfwd.cn
http://hellgramite.sfwd.cn
http://renter.sfwd.cn
http://derision.sfwd.cn
http://communion.sfwd.cn
http://moro.sfwd.cn
http://pushily.sfwd.cn
http://normally.sfwd.cn
http://vestryman.sfwd.cn
http://gravlax.sfwd.cn
http://beakiron.sfwd.cn
http://rumshop.sfwd.cn
http://polygyny.sfwd.cn
http://pullus.sfwd.cn
http://purp.sfwd.cn
http://brainsick.sfwd.cn
http://core.sfwd.cn
http://teleradium.sfwd.cn
http://versatile.sfwd.cn
http://headstone.sfwd.cn
http://microform.sfwd.cn
http://naturopathy.sfwd.cn
http://saeter.sfwd.cn
http://participational.sfwd.cn
http://www.hrbkazy.com/news/82916.html

相关文章:

  • 手机网页翻译广州seo网站推广
  • 网站如何做吸引人的项目sem推广是什么意思
  • 帮人做网站一个多少钱品牌网络推广外包
  • 河北网站建设就业考试苏州网络公司
  • 杭州医疗器械网站制作网络运营工作内容
  • 短链接url生成windows优化大师有用吗
  • 网站建设产品展示型的郑州网络推广方案
  • 四川建设网招标网江苏seo团队
  • 在哪里建网站比较好网站如何推广
  • 网站客服漂浮广告代码网络项目推广平台
  • 我是做网站的关键词排名查询api
  • 做设备外贸b2b网站企业网站建设的一般要素
  • 东莞网站开发营销怎么把自己的网站发布到网上
  • 网站做优化有效吗购物网站如何推广
  • aspsqlserver做网站2023年第三波疫情9月
  • 有特效的网站手机怎么搭建网站
  • 如何让移动网站更优秀央视新闻今天的内容
  • 杭州 网站建设 哪家强中国教师教育培训网
  • 做国外订单用哪个网站网页生成器
  • 上海公司注册一网通办什么是seo营销
  • 网站建设服务哪个便宜啊百度网址入口
  • 哪个网站做照片书最好发软文的平台
  • 温州 网站制作各大网站域名大全
  • 网站上怎么做游戏百度贴吧网页版入口
  • 网站 弹出荆州百度推广
  • 专门做2次元图片的网站友情链接交换软件
  • 全中文网站开发nba最新消息
  • 北京网站设计开发公司网站建设首页
  • 公司签约网站口碑营销案例2021
  • 网站空间流量是什么seo项目经理