Here Batch Geocoder API的响应属性如何返回?返回什么? [英] How and what do responseattributes return for the Here Batch Geocoder API?

查看:77
本文介绍了Here Batch Geocoder API的响应属性如何返回?返回什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此处批量Geocoder API 表示可以使用responseattributes请求参数.我对从批处理地理编码文件中获取地理编码质量结果感兴趣.

The Here Batch Geocoder API indicates that the responseattributes request parameter can be used. I'm interested in getting geocode quality results back from a batch geocode file.

响应属性开关文档中表示默认选项为On by default: matchQuality, matchType.但我不清楚如何从批处理地理编码API返回此结果.听起来这些属性会在响应中以及标准地址解析器的API资源管理器 API,但确实在JSON响应中返回了这些资源.

In the Response Attribute switches documentation it indicates that the default options would be On by default: matchQuality, matchType. But I'm not clear on how this actually gets returned from the batch geocoding API. It sounds like these attributes would be returned in the response, and in the API Explorer for the standard geocoder API it does appear that these are returned in the JSON response.

但是Batch Geocoder API会返回XML响应,然后最终返回文件集合,包括最终数据文件.在批处理Geocoder API资源管理器中,示例XML响应不包含这些默认字段中的任何一个.

But the Batch Geocoder API returns an XML response, and then ultimately a collection of files including a final data file. In the Batch Geocoder API explorer, the sample XML response does not include either of those default fields.

有一次,here文档中列出的批处理地理编码器演示凭据起作用了,我能够拉回一个小的示例结果文件.我也没有在任何下载的文件上看到这些默认的responseattributes列.

At one point the batch geocoder demo credentials listed on the Here documentation worked, and I was able to pull back a small sample results file. I did not see those default responseattributes columns on any of the downloaded files, either.

对于Batch Geocoder API,有没有一种方法可以获取有关地理编码地址,matchQualitymatchType等的质量的信息?

For the Batch Geocoder API, is there a way to get back information about the quality of the geocoded address, matchQuality, matchType, etc?

推荐答案

responseattributes参数使附加响应属性可包含在结果中,例如将其设置为:responseattributes=all 然后,outcols参数属性定义您获得的参数以及在何处. 我经常使用以下请求来包含分数以进行结果分析:

The responseattributes parameter enables the additional response attributes to be includable with results, e.g. set it to: responseattributes=all The outcols parameter attributes then define which ones you get and where. I use the following request a lot to include scores for results analysis:

查看全文

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