In the grammar, you would start with the highest level component. For batch geocoding it would be "MultiLineAddress" and "MultiLineZone". For single line input, it would be "Location" but there are no weights applied until you get to the "FullNormalAddress". So each component has a "weight" that is applied to it. Each top level component may contain 1 to many child components that also have a weight associated with it. All of these components get scored and contribute to the score. I will attach the presentation that my colleagues and I presented last year at the user conference that has a section about scoring to the geocoding resource center later today. I hope this helps.http://resources.arcgis.com/gallery/file/geocodingBrad
Ok what you described is a bug but I have a workaround for it.1. From ArcCatalog, open the composite locator properties dialog for the composite that contains the 10 locators.2. Delete all of the Zone fields from the "The Field containing:" box of the "Input Address Fields" section (See DeletedAddressFields.png).3. Add back the all of the Zone (_city, _state, _zip) fields but pre-pend the names with an underscore (See AddAddressFields.png).4. Remap the locators to the appropriate address fields (See RemapFields.png).5. Click the "OK" button.You should be good to go now.What was happening was that the participating locators, even though you did not map the fields, know about the city, state, and zip fields. When you pass these fields in from the composite, it tries to use these fields to geocode the address. Because the locator knows about the fields but does not have any data associated with them in the locator, it deducts the score because it thinks that the values are wrong (something compared to nothing = wrong). By changing the names of the fields for the composite, the participating locators now don't know about the other fields, they don't try to use them and everything works as expected now.Brad
I was out of the office for a few days, but I will try this proposed solution the next time I have to produce a geocoded address output for one of the agencies I work with. I'll update this thread with the results.
I've been busy working on a python script to re-structure, populate, and consolidate the TIGER 2010 related address range table to make it usable in geocoding, so haven't had time to pursue this further yet.To answer your first question, none of the locators I specified in my post have a minimum match score of 80, so I don't know which one(s) you're talking about.And I specifically do not want locators that use both zip and city... partly because the code snippet you provided looks like gibberish and I don't see how I can institute that without editing the locator file itself outside of the standard "Create new locator" GUI, and partly because I want to be able to use the information that tells me which locator service was used to make a match that gets stored in the output. It's easier to do that with a locator name than having to scan the standardized address output to see what was used... well, easier for the people I deliver the results to at any rate. And those scoring penalties are misleading... I purposely split up zipcode and city/town because I know that an unofficial or unincorporated town name may be in an input address list, so while it is still colloquially "correct", it comes up as "wrong" when compared to the formal town names in the underlying reference street data. There's still the issue of how scoring is applied in SP1 that jamest582 has addressed. I'm already using 9.3 locators as a workaround... but I seriously hope that the problems stated in my original post are resolved in SP2.
Let me try and confirm the issue that you are having. Are you getting matches for the locators that have a minimum match score of 80? I would also suggest that you create one locator that has all three, city state and zip, fields mapped. In the locator itself, it uses the logic that you are trying to introduce in the composite. See below: <multiline_def name="multilineZone"> <alt> <field_ref ref="ZIP"/> <elt ref="GenZIP" weight="100"/> <field_ref ref="City"/> <elt ref="OptCityNoSearch" weight="20"/> <field_ref ref="State"/> <elt ref="OptStateNoSearch" weight="20"/> </alt> <alt fallback="true"> <field_ref ref="City"/> <elt ref="City" weight="40"/> <field_ref ref="State"/> <elt ref="OptState" weight="60"/> <field_ref ref="ZIP"/> <elt ref="OptZipNoSearch" weight="20"/> </alt> The above section from the locator defines how zones are used for searching and scoring. In short, the locator will search on zip first and "fallback" to city, state second. This does apply scoring penalties for the components that are incorrect from each (ie. If city and state are wrong, a penalty will be applied to the zip search). This is pretty easy to configure to work differently and I can even send you an updated style to help make it function the way that you would like it to. So if you would like it to search on zip first and "fallback" to city state second but not apply scoring to the other components, I can do that.Brad
<multiline_def name="multilineZone"> <alt> <field_ref ref="ZIP"/> <elt ref="GenZIP" weight="100"/> <field_ref ref="City"/> <elt ref="OptCityNoSearch" weight="20"/> <field_ref ref="State"/> <elt ref="OptStateNoSearch" weight="20"/> </alt> <alt fallback="true"> <field_ref ref="City"/> <elt ref="City" weight="40"/> <field_ref ref="State"/> <elt ref="OptState" weight="60"/> <field_ref ref="ZIP"/> <elt ref="OptZipNoSearch" weight="20"/> </alt>
Can you give me a bit more information? Can you give me the types of locators that you have in the composite and in what order? Are these locators built with 10.0 locator styles? What version of ArcGIS are you using? What reference data were the locators built off of (local data, Tele Atlas, NAVTEQ, etc...) as well as what region (entire US, county, state)? Also, can you provide me with some sample addresses that you are having issues with or a table of addresses that contains some issue addresses?Brad
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.