<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Locator Style XML Questions in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/locator-style-xml-questions/m-p/113414#M6491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;I have some questions about writing/modifying locator styles. The first thing I want to say is that I have read the document "&lt;A href="http://www.arcgis.com/home/item.html?id=aeb00de638f3492a93308a4a03183c7d"&gt;Customising Locators in ArcGIS 10&lt;/A&gt;" closely, and then answers I seek are not in there. To my knowledge, that is the only official documentation on ArcGIS 10 locator .lot.xml files (excluding the documentation in the schema files). I've also scoured the web for answers to no avail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here are my questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;std_elt&amp;gt;&lt;/SPAN&gt; element is documented with &lt;EM&gt;"Not yet supported. Reserved for future use"&lt;/EM&gt;. What does this tag do? The fact that it is found in the &amp;lt;default_input&amp;gt; tags in the standard .lot.xml files makes me think it really &lt;EM&gt;does&lt;/EM&gt; do something, and it's just undocumented.&lt;/LI&gt;&lt;/UL&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;STRONG&gt;TL;DR:&lt;/STRONG&gt; What is the &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;std_elt&amp;gt;&lt;/SPAN&gt; element for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The &lt;SPAN style="font-family: 'courier new', courier; color: #eb7a3d;"&gt;search_context&lt;/SPAN&gt; attribute has "&lt;EM&gt;TODO: Documentation&lt;/EM&gt;" where the documentation should be. The document "Customising Locators in ArcGIS 10" has this to say:&lt;/LI&gt;&lt;/UL&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;"The content in braces is a hint that a particular search context applies for the element. The engine manages sets of tests for elements within search contexts; these are discussed later in this document."&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;Later in the document:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;"The source style used the "ZIPSearch" search context for Postal, but we will use "PostalSearch." There is also a search context called "CitySearch." These search contexts are defined by the engine and manage a set of tests for the element."&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;This doesn't really explain what search contexts are available, or how they work. I'm also unclear what the relationship is between the &lt;SPAN style="font-family: 'courier new', courier; color: #eb7a3d;"&gt;search_context&lt;/SPAN&gt; attribute and the &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;result&amp;gt; &lt;/SPAN&gt;element.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;TL;DR:&lt;/STRONG&gt; What is the &lt;SPAN style="font-family: 'courier new', courier; color: #eb7a3d;"&gt;search_context&lt;/SPAN&gt; attribute for, and how does it relate to the &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;result&amp;gt;&lt;/SPAN&gt; element?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Which parts of the regular expression syntax are actually supported? "Customising Locators in ArcGIS 10" p.56 &lt;EM&gt;(see below)&lt;/EM&gt; states that the expression syntax is limited to 6 items representing a very limited subset of standard regex syntax. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG alt="Regex.PNG" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/5796_Regex.PNG" style="height: auto; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;However, I've seen several examples that use functionality not present in this list. For example, page 60 of the same document shows the code snippet: &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #2873ee;"&gt;&amp;lt;alt&amp;gt;&lt;/SPAN&gt;`[0-9]{4}`&lt;SPAN style="color: #2873ee;"&gt;&amp;lt;/alt&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;, which shouldn't work if the information on p.52 is correct.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;TL;DR:&lt;/STRONG&gt; Is there a more accurate description of supported regex functionality for locator styles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If I have a &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;ref_data_style&amp;gt;&lt;/SPAN&gt; containing a&lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt; &amp;lt;multiline_grammar&amp;gt;&lt;/SPAN&gt;, does this fall back to the top-level &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;multiline_grammar&amp;gt;&lt;/SPAN&gt; if no candidates/matches are found? Does a similar thing happen for &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;inputs&amp;gt;&amp;lt;default_input&amp;gt;&lt;/SPAN&gt;? I've had some odd results in my tests where I believe that even if I deliberately break my locator, it still finds things in my data that are exact textual matches, &lt;EM&gt;i.e.&lt;/EM&gt; "AB C" matches "AB C" but not "ABC".&lt;/LI&gt;&lt;/UL&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;TL;DR:&lt;/STRONG&gt; What other work is carried out when geocoding that isn't specified in the &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;inputs&amp;gt;&lt;/SPAN&gt; and &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;multiline_grammar&amp;gt;&lt;/SPAN&gt; elements of the &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;ref_data_style&amp;gt;&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 1.5;"&gt;In &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;mapping_schema&amp;gt;&amp;lt;standardization&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt; tags, are they &lt;/SPAN&gt;&lt;EM style="line-height: 1.5;"&gt;only&lt;/EM&gt;&lt;SPAN style="line-height: 1.5;"&gt; used when standardising addresses? "Customising Locators in ArcGIS 10" p.42 states that in order to be valid, a locator style must ensure that "&lt;/SPAN&gt;&lt;EM style="line-height: 1.5;"&gt;Mapping Schema standardization includes all schema fields.&lt;/EM&gt;&lt;SPAN style="line-height: 1.5;"&gt;" I haven't done this for some of my input, and things seem to work &lt;/SPAN&gt;OK&lt;SPAN style="line-height: 1.5;"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;&lt;STRONG&gt;TL;DR:&lt;/STRONG&gt; If I don't plan on standardising address data, do I need to create the &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;standardization&amp;gt;&lt;/SPAN&gt; element in my mapping schema?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Finally, I'm using Python to generate my locators and run tests (specifically using the &lt;SPAN style="font-family: 'courier new', courier;"&gt;GeocodeAddresses_geocoding()&lt;/SPAN&gt; function). However, I can't see how to make a multiline query from Python, and I believe that this is what I actually want to test. &lt;A href="http://gis.stackexchange.com/questions/44732/is-it-possible-to-run-the-address-locator-in-arcgis-via-python"&gt;According to this stack-exchange post, this isn't possible.&lt;/A&gt; Is this correct, or am I misunderstanding the how multiline grammar works?&lt;/LI&gt;&lt;/UL&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;TL;DR:&lt;/STRONG&gt; Can I perform a multiline query in Python?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, please let me know if I need to clarify any of my questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Aug 2014 11:12:29 GMT</pubDate>
    <dc:creator>DavidWarnock</dc:creator>
    <dc:date>2014-08-28T11:12:29Z</dc:date>
    <item>
      <title>Locator Style XML Questions</title>
      <link>https://community.esri.com/t5/data-management-questions/locator-style-xml-questions/m-p/113414#M6491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;I have some questions about writing/modifying locator styles. The first thing I want to say is that I have read the document "&lt;A href="http://www.arcgis.com/home/item.html?id=aeb00de638f3492a93308a4a03183c7d"&gt;Customising Locators in ArcGIS 10&lt;/A&gt;" closely, and then answers I seek are not in there. To my knowledge, that is the only official documentation on ArcGIS 10 locator .lot.xml files (excluding the documentation in the schema files). I've also scoured the web for answers to no avail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here are my questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;std_elt&amp;gt;&lt;/SPAN&gt; element is documented with &lt;EM&gt;"Not yet supported. Reserved for future use"&lt;/EM&gt;. What does this tag do? The fact that it is found in the &amp;lt;default_input&amp;gt; tags in the standard .lot.xml files makes me think it really &lt;EM&gt;does&lt;/EM&gt; do something, and it's just undocumented.&lt;/LI&gt;&lt;/UL&gt;&lt;P style="text-align: left; padding-left: 30px;"&gt;&lt;STRONG&gt;TL;DR:&lt;/STRONG&gt; What is the &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;std_elt&amp;gt;&lt;/SPAN&gt; element for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The &lt;SPAN style="font-family: 'courier new', courier; color: #eb7a3d;"&gt;search_context&lt;/SPAN&gt; attribute has "&lt;EM&gt;TODO: Documentation&lt;/EM&gt;" where the documentation should be. The document "Customising Locators in ArcGIS 10" has this to say:&lt;/LI&gt;&lt;/UL&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;"The content in braces is a hint that a particular search context applies for the element. The engine manages sets of tests for elements within search contexts; these are discussed later in this document."&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;Later in the document:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;"The source style used the "ZIPSearch" search context for Postal, but we will use "PostalSearch." There is also a search context called "CitySearch." These search contexts are defined by the engine and manage a set of tests for the element."&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;This doesn't really explain what search contexts are available, or how they work. I'm also unclear what the relationship is between the &lt;SPAN style="font-family: 'courier new', courier; color: #eb7a3d;"&gt;search_context&lt;/SPAN&gt; attribute and the &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;result&amp;gt; &lt;/SPAN&gt;element.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;TL;DR:&lt;/STRONG&gt; What is the &lt;SPAN style="font-family: 'courier new', courier; color: #eb7a3d;"&gt;search_context&lt;/SPAN&gt; attribute for, and how does it relate to the &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;result&amp;gt;&lt;/SPAN&gt; element?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Which parts of the regular expression syntax are actually supported? "Customising Locators in ArcGIS 10" p.56 &lt;EM&gt;(see below)&lt;/EM&gt; states that the expression syntax is limited to 6 items representing a very limited subset of standard regex syntax. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG alt="Regex.PNG" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/5796_Regex.PNG" style="height: auto; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;However, I've seen several examples that use functionality not present in this list. For example, page 60 of the same document shows the code snippet: &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #2873ee;"&gt;&amp;lt;alt&amp;gt;&lt;/SPAN&gt;`[0-9]{4}`&lt;SPAN style="color: #2873ee;"&gt;&amp;lt;/alt&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;, which shouldn't work if the information on p.52 is correct.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;TL;DR:&lt;/STRONG&gt; Is there a more accurate description of supported regex functionality for locator styles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If I have a &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;ref_data_style&amp;gt;&lt;/SPAN&gt; containing a&lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt; &amp;lt;multiline_grammar&amp;gt;&lt;/SPAN&gt;, does this fall back to the top-level &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;multiline_grammar&amp;gt;&lt;/SPAN&gt; if no candidates/matches are found? Does a similar thing happen for &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;inputs&amp;gt;&amp;lt;default_input&amp;gt;&lt;/SPAN&gt;? I've had some odd results in my tests where I believe that even if I deliberately break my locator, it still finds things in my data that are exact textual matches, &lt;EM&gt;i.e.&lt;/EM&gt; "AB C" matches "AB C" but not "ABC".&lt;/LI&gt;&lt;/UL&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;TL;DR:&lt;/STRONG&gt; What other work is carried out when geocoding that isn't specified in the &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;inputs&amp;gt;&lt;/SPAN&gt; and &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;multiline_grammar&amp;gt;&lt;/SPAN&gt; elements of the &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;ref_data_style&amp;gt;&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 1.5;"&gt;In &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;mapping_schema&amp;gt;&amp;lt;standardization&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt; tags, are they &lt;/SPAN&gt;&lt;EM style="line-height: 1.5;"&gt;only&lt;/EM&gt;&lt;SPAN style="line-height: 1.5;"&gt; used when standardising addresses? "Customising Locators in ArcGIS 10" p.42 states that in order to be valid, a locator style must ensure that "&lt;/SPAN&gt;&lt;EM style="line-height: 1.5;"&gt;Mapping Schema standardization includes all schema fields.&lt;/EM&gt;&lt;SPAN style="line-height: 1.5;"&gt;" I haven't done this for some of my input, and things seem to work &lt;/SPAN&gt;OK&lt;SPAN style="line-height: 1.5;"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="line-height: 1.5;"&gt;&lt;STRONG&gt;TL;DR:&lt;/STRONG&gt; If I don't plan on standardising address data, do I need to create the &lt;SPAN style="font-family: 'courier new', courier; color: #2873ee;"&gt;&amp;lt;standardization&amp;gt;&lt;/SPAN&gt; element in my mapping schema?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Finally, I'm using Python to generate my locators and run tests (specifically using the &lt;SPAN style="font-family: 'courier new', courier;"&gt;GeocodeAddresses_geocoding()&lt;/SPAN&gt; function). However, I can't see how to make a multiline query from Python, and I believe that this is what I actually want to test. &lt;A href="http://gis.stackexchange.com/questions/44732/is-it-possible-to-run-the-address-locator-in-arcgis-via-python"&gt;According to this stack-exchange post, this isn't possible.&lt;/A&gt; Is this correct, or am I misunderstanding the how multiline grammar works?&lt;/LI&gt;&lt;/UL&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;TL;DR:&lt;/STRONG&gt; Can I perform a multiline query in Python?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, please let me know if I need to clarify any of my questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 11:12:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/locator-style-xml-questions/m-p/113414#M6491</guid>
      <dc:creator>DavidWarnock</dc:creator>
      <dc:date>2014-08-28T11:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Locator Style XML Questions</title>
      <link>https://community.esri.com/t5/data-management-questions/locator-style-xml-questions/m-p/113415#M6492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;David,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;The idea behind &lt;STRONG&gt;std_elt&lt;/STRONG&gt; was to map standard-specific name (FGDC, OASIS) to locator inputs - to transparently handle addresses formatted according to those standards. This is not yet supported.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;STRONG&gt;search_context &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;defines a named search context that elements of the corresponding text will be associated with; this context can then be used with a result tag. For instance:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;alt&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;selector&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;"&lt;SPAN style="color: blue;"&gt;supportsIntersections&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;fallback_score&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;10&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;field_ref&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;"&lt;SPAN style="color: blue;"&gt;Street&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;elt&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;"&lt;SPAN style="color: blue;"&gt;FullStreetName&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;search_context&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;leftStreet&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;weight&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;40&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;separator_list&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;.,;-&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;elt&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;"&lt;SPAN style="color: blue;"&gt;intConnector&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;elt&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;"&lt;SPAN style="color: blue;"&gt;FullStreetName&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;search_context&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;rightStreet&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;weight&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;40&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;separator_list&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;.,;-&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;elt&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;"&lt;SPAN style="color: blue;"&gt;multilineZone&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;weight&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;30&lt;/SPAN&gt;"&amp;nbsp; &lt;SPAN style="color: red;"&gt;separator_list&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;.,;-&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;result&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;tag&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;"&lt;SPAN style="color: blue;"&gt;StreetInt&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;method&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;"&lt;SPAN style="color: blue;"&gt;intersection&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;parameter&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;search_value&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;"&lt;SPAN style="color: blue;"&gt;leftStreet&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;original_values&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;true&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;parameter&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;parameter&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;search_value&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;"&lt;SPAN style="color: blue;"&gt;rightStreet&lt;/SPAN&gt;" &lt;SPAN style="color: red;"&gt;original_values&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;true&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;parameter&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;method&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;format_ref&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: red;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;"&lt;SPAN style="color: blue;"&gt;format_intersections&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;result&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: #a31515;"&gt;alt&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;- here is the grammar for intersection addresses (“Main St &amp;amp; 1&lt;SUP&gt;st&lt;/SUP&gt; Ave”). The geocoding process needs to collect two sets of candidates and then find if any of them intersect (have common nodes). The elements that will be included in “FullStreetName” and affect the search context (i.e. StName) for the “left” part of the address will be associated with “&lt;STRONG&gt;leftStreet&lt;/STRONG&gt;” search context, and for the “right” part – with the “&lt;STRONG&gt;rightStreet&lt;/STRONG&gt;” context. Then, after the parse is done, result of this parse will be calculated using “intersection” method, which in turn will receive the &lt;STRONG&gt;search_value&lt;/STRONG&gt; (result of the search using named &lt;STRONG&gt;search_context&lt;/STRONG&gt;) for “&lt;STRONG&gt;leftStreet&lt;/STRONG&gt;” and “&lt;STRONG&gt;rightStreet&lt;/STRONG&gt;”, respectively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 1.0in;"&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Calibri, sans-serif; color: #2873ee; background: white;"&gt;&amp;lt;alt&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, sans-serif;"&gt;`[0-9]{4}`&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, sans-serif; color: #2873ee;"&gt;&amp;lt;/alt&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="font-family: Calibri, sans-serif; color: #1f497d; background: white;"&gt;is not supported, unfortunately it’s an error in the whitepaper. Regular expressions should be used with caution, as sophisticated expressions tend to affect parsing process in non-obvious way (think of it as a parser within a parser)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;If &amp;lt;&lt;STRONG&gt;ref_data_style&lt;/STRONG&gt;&amp;gt; contains &amp;lt;&lt;STRONG&gt;multiline_grammar&lt;/STRONG&gt;&amp;gt;, it replaces the top-level &amp;lt;&lt;STRONG&gt;multiline_grammar&lt;/STRONG&gt;&amp;gt;. The same applies to &amp;lt;&lt;STRONG&gt;inputs&lt;/STRONG&gt;&amp;gt; and &amp;lt;&lt;STRONG&gt;default_input&lt;/STRONG&gt;&amp;gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;&amp;lt;&lt;STRONG&gt;mapping_schema&lt;/STRONG&gt;&amp;gt;&amp;lt;&lt;STRONG&gt;standardization&lt;/STRONG&gt;&amp;gt; section is only used for standardization. The standardization is invoked in two workflows:&lt;/SPAN&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;when locator is built (reference data is processed as it is being submitted to the locator build processes); this is governed by &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;&amp;lt;&lt;STRONG&gt;build&lt;/STRONG&gt;&amp;gt; subsection&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;when StandardizeAddresses geoprocessing tool is used (&amp;lt;&lt;STRONG&gt;tool&lt;/STRONG&gt;&amp;gt; subsection)&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;GeocodeAddresses_geocoding() works on a table of addresses. Single addresses are not supported in Python.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Sergey&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 16:18:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/locator-style-xml-questions/m-p/113415#M6492</guid>
      <dc:creator>SergeyIvanenko</dc:creator>
      <dc:date>2014-09-03T16:18:24Z</dc:date>
    </item>
  </channel>
</rss>

