<?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 Waiting to see if Service Pack 1 fixes IGeocodingProperties in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/igeocodingproperties-will-not-apply-to-arcgis-10-0/m-p/374421#M9850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're going to wait a few days until Service Pack 1 is released, to see if the several Locator bug-fixes in SP1 happen to resolve this issue, before spending any more time on this IGeocodingProperties support incident. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI support gave me a link to an ArcGIS 10.0 Service Pack 1 announcement (10.0_SP1_Announcement.pdf) on their download site, which said SP1 will "...be available late Oct. or early Nov."&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Oct 2010 17:51:34 GMT</pubDate>
    <dc:creator>JonHall</dc:creator>
    <dc:date>2010-10-29T17:51:34Z</dc:date>
    <item>
      <title>IGeocodingProperties will not apply to ArcGIS 10.0 Locators</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/igeocodingproperties-will-not-apply-to-arcgis-10-0/m-p/374418#M9847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm working on using an ArcGIS Desktop 10.0 client to create ArcGIS 10.0 Locators, and I've resolved all the significant issues except applying IGeocodingProperties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I create Locators, they are created with default ESRI GeocodingProperties properties, and I need to programatically change several of these props; i.e. change SpellingSensitivity from 80 to 63&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to be able to create ArcGIS 10.0 Locators in any of 5 "flavors" of geodatabase: ArcSDE 10.0 Enterprise, Workgroup, or Desktop; and ArcGIS 10 File geodatabase or Personal geodatabase (mdb).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can create them, I just cannot set their GeocodingProperties programatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also need to continue support for creating ArcGIS 9.3.1 Locators in any of 5 "flavors" of geodatabase: ArcSDE 9.3.1 Enterprise, Workgroup, or Desktop; and ArcGIS 9.3.1 File geodatabase or Personal geodatabase (mdb). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm updating code that created Locators with no errors in ArcGIS 9.0 thru 9.3.1 SP2. I've finally figured out how to adapt the existing code to support creating the old Arc9-style Locators in Arc9 databases, using an ArcGIS Desktop 10 client (ILocatorManager.GetLocatorWorkspaceFromPath must point at a copy of the ArcGIS 9 \Locators\ folder; not easy to do, after you've uninstalled all ArcGIS 9 products...).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had tried the newer IGeocodingProperties2 (and ILocator2) interfaces without success, which also broke the ability to create ArcGIS 9.3.1 Locators&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can create ArcGIS 9.3.1 Locators, AND SET THEIR GEOCODING PROPERTIES, in ArcSDE 9.3.1 Desktop, ArcGIS 9.3.1 File and Personal geodatabases, after going back to using IGeocodingProperties and ILocator&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the past, we have set the IGeocodingProperties of the ILocator before ILocatorWorkspace.AddLocator.&amp;nbsp; This works for ArcGIS 9 database locators.&amp;nbsp; For ArcGIS 10 database locators, I cannot set IGeocodingProperties of the ILocator before or after ILocatorWorkspace.AddLocator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can list the properties in DEBUG, and they appear correct, but as soon as I check the ArcGIS 10 Locator in ArcCatalog 10, it has retained the default props.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions, before I open an ESRI tech support request?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks-&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 00:28:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/igeocodingproperties-will-not-apply-to-arcgis-10-0/m-p/374418#M9847</guid>
      <dc:creator>JonHall</dc:creator>
      <dc:date>2010-10-27T00:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: IGeocodingProperties will not apply to ArcGIS 10.0 Locators</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/igeocodingproperties-will-not-apply-to-arcgis-10-0/m-p/374419#M9848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Pass this code an ArcGIS 10 "US Address - Dual Ranges" Locator; the Output window will show the before &amp;amp; after settings, confirming the changes, but then ArcCatalog will show the Locator still has ESRI's default property settings; this same code works if you pass an ArcGIS 9 "US Streets with Zone" Locator. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
If Not IsNothing(pLocator) Then
 'pGeocodingProperties = CType(pLocator, IGeocodingProperties2)&amp;nbsp; '10/25/2010, cannot cast Arc9 Locator to IGeocodingProperties2, go back to older interface 
 pGeocodingProperties = CType(pLocator, IGeocodingProperties)

 ''print out the ESRI default properties BEFORE resetting them:
 Debug.Print("SpellingSensitivity: " &amp;amp; pGeocodingProperties.SpellingSensitivity.ToString)
 Debug.Print("MinimumCandidateScore: " &amp;amp; pGeocodingProperties.MinimumCandidateScore.ToString)
 Debug.Print("MinimumMatchScore: " &amp;amp; pGeocodingProperties.MinimumMatchScore.ToString)
 Debug.Print("SideOffset: " &amp;amp; pGeocodingProperties.SideOffset.ToString)
 Dim iEsriUnits As Int32 = pGeocodingProperties.SideOffsetUnits 'esriSystem.esriUnits
 Select Case iEsriUnits
&amp;nbsp; Case 0
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Unknown")
&amp;nbsp; Case 1
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Inches")
&amp;nbsp; Case 2
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Points")
&amp;nbsp; Case 3
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Feet")
&amp;nbsp; Case 4
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Yards")
&amp;nbsp; Case 5
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Miles")
&amp;nbsp; Case 6
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Nautical miles")
&amp;nbsp; Case 7
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Millimeters")
&amp;nbsp; Case 8
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Centimeters")
&amp;nbsp; Case 9
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Meters")
&amp;nbsp; Case 10
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Kilometers")
&amp;nbsp; Case 11
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Decimal degrees")
&amp;nbsp; Case 12
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Decimeters")
&amp;nbsp; Case Else
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: other")
 End Select
 Debug.Print("MatchIfScoresTie: " &amp;amp; pGeocodingProperties.MatchIfScoresTie.ToString)

 Debug.Print("AddXYCoordsToMatchFields: " &amp;amp; pGeocodingProperties.AddXYCoordsToMatchFields.ToString)
 Debug.Print("AddReferenceIDToMatchFields: " &amp;amp; pGeocodingProperties.AddReferenceIDToMatchFields.ToString)
 Debug.Print("AddPercentAlongToMatchFields: " &amp;amp; pGeocodingProperties.AddPercentAlongToMatchFields.ToString)
 'Debug.Print("AddStandardizeStringToMatchFields: " &amp;amp; pGeocodingProperties.AddStandardizeStringToMatchFields.ToString)


 With pGeocodingProperties
&amp;nbsp; .SpellingSensitivity = 63
&amp;nbsp; .MinimumCandidateScore = 10
&amp;nbsp; .MinimumMatchScore = 30
&amp;nbsp; .SideOffset = 20
&amp;nbsp; .SideOffsetUnits = esriUnits.esriFeet
&amp;nbsp; .AddXYCoordsToMatchFields = True
&amp;nbsp; .AddReferenceIDToMatchFields = True
&amp;nbsp; .AddPercentAlongToMatchFields = True
&amp;nbsp; '.AddStandardizeStringToMatchFields = True
&amp;nbsp; '10/04/2010, ArcGIS 10.0 bug: AddStandardizeStringToMatchFields: "The method or operation is not implemented."} System.NotImplementedException
&amp;nbsp; '10/08/2010, the Output Fields checkbox for "Standardized address" is grayed-out in ArcCatalog 10.0 Locator Properties for "US Address -Dual Zone"
 End With
 val = pLocator

 ''NOW print out the properties AFTER resetting them:
 Debug.Print(vbNewLine &amp;amp; "SpellingSensitivity: " &amp;amp; pGeocodingProperties.SpellingSensitivity.ToString)
 Debug.Print("MinimumCandidateScore: " &amp;amp; pGeocodingProperties.MinimumCandidateScore.ToString)
 Debug.Print("MinimumMatchScore: " &amp;amp; pGeocodingProperties.MinimumMatchScore.ToString)
 Debug.Print("SideOffset: " &amp;amp; pGeocodingProperties.SideOffset.ToString)
 'Dim iEsriUnits As Int32 = pGeocodingProperties.SideOffsetUnits 'esriSystem.esriUnits
 Select Case iEsriUnits
&amp;nbsp; Case 0
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Unknown")
&amp;nbsp; Case 1
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Inches")
&amp;nbsp; Case 2
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Points")
&amp;nbsp; Case 3
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Feet")
&amp;nbsp; Case 4
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Yards")
&amp;nbsp; Case 5
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Miles")
&amp;nbsp; Case 6
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Nautical miles")
&amp;nbsp; Case 7
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Millimeters")
&amp;nbsp; Case 8
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Centimeters")
&amp;nbsp; Case 9
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Meters")
&amp;nbsp; Case 10
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Kilometers")
&amp;nbsp; Case 11
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Decimal degrees")
&amp;nbsp; Case 12
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: Decimeters")
&amp;nbsp; Case Else
&amp;nbsp;&amp;nbsp; Debug.Print("SideOffsetUnits: other")
 End Select
 Debug.Print("MatchIfScoresTie: " &amp;amp; pGeocodingProperties.MatchIfScoresTie.ToString)

 Debug.Print("AddXYCoordsToMatchFields: " &amp;amp; pGeocodingProperties.AddXYCoordsToMatchFields.ToString)
 Debug.Print("AddReferenceIDToMatchFields: " &amp;amp; pGeocodingProperties.AddReferenceIDToMatchFields.ToString)
 Debug.Print("AddPercentAlongToMatchFields: " &amp;amp; pGeocodingProperties.AddPercentAlongToMatchFields.ToString)
 'Debug.Print("AddStandardizeStringToMatchFields: " &amp;amp; pGeocodingProperties.AddStandardizeStringToMatchFields.ToString)


End If
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:19:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/igeocodingproperties-will-not-apply-to-arcgis-10-0/m-p/374419#M9848</guid>
      <dc:creator>JonHall</dc:creator>
      <dc:date>2021-12-11T17:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: IGeocodingProperties will not apply to ArcGIS 10.0 Locators</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/igeocodingproperties-will-not-apply-to-arcgis-10-0/m-p/374420#M9849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've logged a support incident with ESRI, and will report back when I hear something...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 18:06:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/igeocodingproperties-will-not-apply-to-arcgis-10-0/m-p/374420#M9849</guid>
      <dc:creator>JonHall</dc:creator>
      <dc:date>2010-10-27T18:06:45Z</dc:date>
    </item>
    <item>
      <title>Waiting to see if Service Pack 1 fixes IGeocodingProperties</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/igeocodingproperties-will-not-apply-to-arcgis-10-0/m-p/374421#M9850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're going to wait a few days until Service Pack 1 is released, to see if the several Locator bug-fixes in SP1 happen to resolve this issue, before spending any more time on this IGeocodingProperties support incident. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI support gave me a link to an ArcGIS 10.0 Service Pack 1 announcement (10.0_SP1_Announcement.pdf) on their download site, which said SP1 will "...be available late Oct. or early Nov."&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 17:51:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/igeocodingproperties-will-not-apply-to-arcgis-10-0/m-p/374421#M9850</guid>
      <dc:creator>JonHall</dc:creator>
      <dc:date>2010-10-29T17:51:34Z</dc:date>
    </item>
  </channel>
</rss>

