| 漏洞 ID 编号 |
BUG-000111676 |
| 已提交 | February 15, 2018 |
| 上次修改时间 | July 31, 2025 |
| 适用范围 | ArcGIS Online |
| 找到的版本 | N/A |
| 操作系统 | N/A |
| 操作系统版本 | N/A |
| 修正版本 | 7.4 |
| 状态 | Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
|
附加信息
The city value is currently returned based on the preferred city for a postal code. This can happen in cases where the postal codes spans multiple cities but it is not very extensive. In the ArcGIS Online December 2019 release, when configuring a locator view for ArcGIS Online, you can set the default city name option to 'Local city name'.
解决办法
Below are two different workflows to work around the behavior.
Workflow 1
- Create a locator view from the ArcGIS World Geocoding Service in either ArcGIS Online or ArcGIS Enterprise portal.
- In the settings, set the returned 'Preferred city name' value to 'Local city name'.
- Add the locator view to ArcGIS Pro or use it in the Map Viewer.
https://doc.arcgis.com/en/arcgis-online/manage-data/create-locator.htm
https://developers.arcgis.com/rest/geocode/find-address-candidates/#preferredlabelvalues
Workflow 2
- In ArcGIS Pro, create a locator view from the ArcGIS World Geocoding Service.
- Set the 'Preferred city name' display option to 'Local city name'.
https://pro.arcgis.com/en/pro-app/latest/help/data/geocoding/add-a-locator-view-to-a-project.htm#ESRI_SECTION1_DF726E63C25A45A893E5EA8C9F4EA375
https://pro.arcgis.com/en/pro-app/latest/help/data/geocoding/additional-tuning-options.htm#GUID-828FDAE8-BDCE-4324-859F-99A1A6EABD8E
重现步骤