Hi Brian,
Thank you very much again for all your time. I really appreciate it.
Actually Brad's 'US Single House Unit' locator works, except that it creates a '#' character on the 'Match_addr' field, but that's ok. I really don't know why the other one wouldn't work even though I re-created all the null fields/values from scratch. Anyway, for now it's been solved and hopefully Esri will have an 'Address with Unit' locator in the core product on their next release.
Thank you!
Emily
Brian Oevermann,
This thread is a bit old, but I was testing your locator style (we're using 10.2.2) and noticed that fractions in the house number don't seem to be recognized when using multi-line input. Multi-line works fine with other suffixes, like A,B or C - just not with fractions. I tried using 1/2 (i.e. 3 ascii characters) and ½ (ascii ½ ) - neither works. Single line input DOES recognize fractions and returns the correct results.
Have you tested your style with fractions on multi-line inputs?
Peter,
We don't use multi-line input--only single-line--so I've never noticed an issue and of course never bothered to test it with multi-line input. And you have confirmed that single-line works correctly. So I don't believe I can be of much help.
Have you tried the version that Brad Niemand (Esri) created to see if it has similar issues? I really only added fractionals and units to an existing locator--and Brad actually tweaked it under the hood to fix some remaining issues because the available documentation isn't extensive enough for me to know/understand what those changes should be.
Brian Oevermann
Thanks for your quick reply.
I did a bit more digging through the xml file and think I've found the solution.
I noticed that the MultiLineAddress section differed slightly from the NormalAddress - it was missing the OptionalFraction element (<elt ref="OptionalFraction" weight="40"/> ). I added that in and reloaded my locator and it seems to be working better now. Not sure why is worked okay with alpha suffixes like 'A' or 'B' but if it works, who am I to argue.
Peter.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.