Select to view content in your preferred language

Customizing locator

1950
5
01-31-2013 05:41 AM
SunilKelkar
Emerging Contributor
I need to modify US Dual range address locator to use one of the column in the reference data. I should be able to seach address using value from this column. Does any body has any sample style to perform this operation.
Tags (2)
0 Kudos
5 Replies
YuriyTsup
Emerging Contributor
I need to modify US Address -Single House address locator style to use in the search for first street name, and then house number. For example: st. Madison, 320
What changes should I do in the xml file?
0 Kudos
BruceHarold
Esri Frequent Contributor
Hi

Try this:

Look for the NormalAddress element, this is under the Top level elements.
Add an alt like this:

          <alt>
            <elt ref="FullStreetName" weight="60" separator_list=".,;-"/>
            <elt ref="House" weight="50" pre_separator="required"/>
            <elt ref="OptionalUnit" weight="0"/>
          </alt>

Regards
0 Kudos
YuriyTsup
Emerging Contributor
Hi,

Thanks for the answer, but I'm probably doing something wrong, because I have a locator becomes inoperative. If you can, tell me
specifically where to insert this piece of code.


Best regards,
0 Kudos
BruceHarold
Esri Frequent Contributor
Hi

NormalAddress is under the Top level Elements section.

Regards
0 Kudos
YuriyTsup
Emerging Contributor
Thank you, Bruce
0 Kudos