Errors are returned after calling IAddressGeocoding.MatchAddress with a single address multiple times using the ArcGIS StreetMap Premium data.
上次发布: January 19, 2022ArcObjects SDK
漏洞 ID 编号
BUG-000140198
已提交
May 25, 2021
上次修改时间
June 5, 2024
适用范围
ArcObjects SDK
找到的版本
10.6.1
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
The code must follow the following pattern:
1. Call a static method to initialize ArcObjects and get the license.
2. Call a helper method to get the ILocator object and return it to the app or assign it to a ILocator member variable that can be used by the app (ILocator m_locator), must only happen one time and not be in the loop.
3. Then, the app must be able to accept any number of MatchAddress calls.
4. Call a static method to shutdown ArcObjects and release the license.
ILocatorManager is a singleton that must only be initialized once. Accessing the locatorWorkspace and the locator each time can lead to multiple instances of the locator in memory and bloat the memory usage, causing random crashes or failures.