Does anyone know if you can still geocode a table of addresses using the ArcGIS Online task server with the realease of 10.1 or does batch geocoding via Arcobjects outside of an ArcMap session require a subscription to ArcGIS Online?My Arcobject batch geocoding calls using the ArcGIS 10 style North American Address Locator (TA_Address_NA_10) are now only returning records with an accuracy of postal codes...
Could you make sure that the input fields are mapped correctly? Also provide the Server URL Connection information so that we could try and replicate this issue.
Thanks for the response.The input table is a Sql Sever view accessed through an ArcSDE direct connection. It contains 6 fields (CustomerID - int, Address - nvarchar(255), City- nvarchar(255), State- nvarchar(255), Zip - nvarchar(255), MarkforGeocoding - bit).The geocoding results work fine using the ArcMap interface or the Geocode Addresses tool via ArcToolbox, though I do notice that the tool fails to automatically map to the address field and I have to manually select it. It maps to the city, state, and zip fields just fine.When accessing the GeocodeAddresses tool via ArcObjects it fails to return anything better than a city location. Here is my code: Dim geocodeAddresses As ESRI.ArcGIS.GeocodingTools.GeocodeAddresses = New ESRI.ArcGIS.GeocodingTools.GeocodeAddresses() geocodeAddresses.in_table = "Database Connections\GIS - DEFAULT.sde\IRMCD.GIS.CustomersNeedingGeocoding" 'SQL Server View that identifies Customers needing geocoding by looking at MarkedforGeocoding field. geocodeAddresses.address_locator = "GIS Servers\arcgis on tasks.arcgisonline.com\Locators\TA_Address_NA_10.GeocodeServer" geocodeAddresses.in_address_fields = "Address Address VISIBLE NONE;" & "City City VISIBLE NONE;" & "State State VISIBLE NONE;" & "ZIP ZIP VISIBLE NONE" geocodeAddresses.out_feature_class = "Database Connections\GIS - DEFAULT.sde\IRMCD.GIS.IRMCDGISData\IRMCD.GIS.GeocodingCustomersResults" 'FC that holds geocoding results from ARCGISOnline geocodeAddresses.out_relationship_type = "STATIC" RunTool(GP, geocodeAddresses, Nothing) ' Process: GeocodeAddresses...I thought perhaps I have a corruption issue with my address field...however, if I use the TA_Address_NA.GeocodeServer, the geocoding works fine. Also, this code worked fine as recently as two weeks ago...
I have verified that I have this problem on 2 other computers, all running ArcGIS 10 SP3. Can anyone duplicate this problem?
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.