AnsweredAssumed Answered

problems using a 10.2 Local Locator.

Question asked by sensingesri-ca-esridist Employee on Nov 19, 2013
Latest reply on Feb 1, 2017 by mhylden
I'm having issues creating / using a local (offline) address locator with the 10.2 ios sdk release.

Here's what I'm doing:
I've created an address locator using ArcGIS desktop 10.2. I have copied this locator to my app's file folder. I've tried to instantiate a locator using:
self.locator = [AGSLocator locatorWithName:@"LocalAddressLocator" error:&error]


which results in a null locator with the error: "File not found."


Within the iOS SDK help, it is mentioned that you need a .loc, .loc.xml, .lox, AND an .locb file for your local address locator (https://developers.arcgis.com/en/ios/guide/locator-task.htm). The locator I've created does not have an .locb file associated with it. In the 10.2 Desktop help, there is no mention of an .locb file being created. (http://resources.arcgis.com/en/help/main/10.2/index.html#//00250000003v000000). Is this missing .locb file what's causing my problem?
Am I going about doing this the wrong way (creating a locator in desktop, then copying it over to my ios app)? has anyone come across this problem before?

Thanks for any help you can offer,
Steve

Outcomes