Select to view content in your preferred language

can someone explain the 'outfields' in locator.addressToLocations

2202
2
01-21-2011 06:16 AM
ThomasMeyer
Emerging Contributor
this is to allow you to retrieve data from the address candidate, right?

but this doesn't work

locator.addressToLocations(address, ["anyData"] );



I'm trying to retain the original address geocoded and another unique identifier
0 Kudos
2 Replies
HemingZhu
Frequent Contributor
this is to allow you to retrieve data from the address candidate, right?

but this doesn't work




I'm trying to retain the original address geocoded and another unique identifier


The outFields include all the fields in the locator features plus some the geocoding related fields such as scores, side etc (you could find out what those fields are by geocoding a single address in ArcMap...).
0 Kudos
ThomasMeyer
Emerging Contributor
The outFields include all the fields in the locator features plus some the geocoding related fields such as scores, side etc (you could find out what those fields are by geocoding a single address in ArcMap...).


that clears it up, thanks for the reply.     So, as far as I can tell, there is NO way to retrieve the original address or some 'embedded' unique identifier from the address candidate???   (loosing all pointers to your original address from the candidate just seems... sooo wrong)


thanks again!
0 Kudos