地理编码CSV响应不一致 [英] Geocoding CSV response inconsistent

查看:78
本文介绍了地理编码CSV响应不一致的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用CSV地址列表进行地理编码,并成功收到回复。然而,响应也是csv格式并且似乎是不一致的,因为有时纬度和经度将在元素偏移[20]和[21],
中,有时在[22]和[23]中。

I've been using a CSV list of locations for geocoding, and am successfully receiving responses. However, the response is also in csv format and seems to be inconsistent, in that sometimes the Latitude and Longitude will be in element offsets [20] and [21], and sometimes in [22] and [23].

有没有办法可以放心地找出Lat和Long数据出现在CSV响应中的位置?或者我可以在提交CSV请求后请求XML响应吗?两个都没关系!

Is there any way to find out with confidence where the Lat and Long data appear in the CSV response? Or can I request an XML response after submitting a CSV request? Either would be fine!

Ade

推荐答案

I假设您正在谈论Bing Spatial Data Services,虽然cvs是正确的输入格式,但输出永远不会以cvs形式返回,默认情况下这是json,但您也可以使用xml输出。只需将
output = xml o = xml 添加到地理编码作业网址,如下所示:
https://msdn.microsoft.com/en-us/library/ff701737.aspx
I assume you're talking about Bing Spatial Data Services, although cvs is correct format for input, output is never returned as cvs, by default this is json, but you can also have xml output. Just add output=xml or o=xml to geocode job url as documented here: https://msdn.microsoft.com/en-us/library/ff701737.aspx.


这篇关于地理编码CSV响应不一致的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆