UK Geocoder Macro(英国地理编码器宏指令)
该宏指令使用 TomTom 的 Geocoder API 对英国地址组成的文件进行地理编码。
宏指令工具
此工具是一个宏指令,需要单独的数据安装和许可。要使用此工具,请联系您的客户主管。
Configure the Tool
There are 2 tabs that require your input to successfully configure this tool: Input and Output.
Input Tab
Configure the address fields:
Multiple Address Fields: If address information is contained in multiple fields, select this option. Use the dropdowns to select the fields in the incoming data stream that map to these address fields:
Address
Locality
Post Town
Postcode
Country
Single Address Field: If address information is contained in a single field, select this option. Use the dropdown to select the field in the incoming data stream that contains the address information.
Options Tab
Select Output Fields: Check the fields to include in the Geocoded (G) output. Output fields are described in detail below.
GeoLevel Match Summary: Specify how records should be sorted in the Summary (S) output. Choices are...
Sort by Accuracy (Best - Worst): The GeoLevels are sorted by their accuracy, with the most accurate GeoLevel at the top.
Sort by Match Count (Max - Min): The GeoLevels are sorted by the number of input records that match each GeoLevel, with the maximum number at the top.
Additional Options: Configure these additional options, as needed.
Preserve Input Fields: When checked, the tool outputs the original field names specified on the Input tab. Left unchecked, the specified fields are renamed to Address, City, State, and ZIP.
Select Match Threshold Level: Use the dropdown to specify the match threshold:
2 (default)
3
4 (lowest match threshold - slowest speed)
输出详细信息
此工具有两种输出结果:
G Anchor
G 锚点:地理编码记录从该工具中流出,标记为 G。该数据流包含您的原始数据记录和地址字段,以及您从地理编码器选项选项卡中选择输出的其他字段。
字段名称 | 描述 |
---|---|
GeoLevel(地理级别) | An address line formatted according to the formatting rules of the result's country of origin. |
Lat(纬度) | The building number on the street. |
Lon(经度) | The street name. |
SpatialObj(空间对象) | Sub or Super City |
House Humber (TT)(门牌号 (TT)) | City or Town |
Street (TT)(街道 (TT)) | County |
City (TT)(城市 (TT)) | State or Province |
Postal Code (TT)(邮政编码 (TT)) | Country Name |
AddressFull (TT)(完整地址 (TT)) | A country's code (This is a two-letter code, not a country name.) |
Country (TT)(国家/地区 (TT)) | ISO alpha-3 country code. |
ISO3 (TT) | Postal Code or Zip Code |
Lat | Latitude |
Lon | Longitude |
Score | The score of the result. A larger score means the probability of a result meeting the query criteria is higher. |
Type | The type of the result. Returns one of |
SpatialObj | The geographic representation of the address as a single point. |
S Anchor
S 锚点:数据摘要从该工具中流出,标记为 S。该数据流包含 3 个字段,即 GeoLevel、Count(计数)和 Description(描述),用于表示地理编码过程成功。有 8 个可能的 GeoLevel,按照最优到最差的顺序列出如下:
字段名称 | 描述 |
---|---|
Actual(实际值) | 输入地址与精确的经度/纬度位置匹配。返回的数据是地址的入口点。 |
Point of Interest(兴趣点) | 输入地址与兴趣点 (POI) 匹配。 |
Geography | The input address matches an area on the map that represents an administrative division of a land, such as a country, state, or city. |
Street(街道) | 输入地址与地址范围内的门牌号匹配。返回的数据是所请求地址在该范围内的插值位置。 |
Intersection(交叉路口) | 输入地址与两条相交的街道匹配。返回的数据是街道边缘交叉处的坐标。 |
Not Coded(未编码) | 地理编码器无法找到与输入数据匹配的位置。 |