KB10739 - Geocoded street address query, address parsing methods
The Developer, Internet Server, and Editor (via scripting) products support geocoded street address querying (finding the approximated map location of a given street address), reverse geocoding (finding the street address closest to a given point, such as corresponding to the coordinates from a GPS device), and advanced street address name parsing.
The logic of geocoded address querying with polyline layers (like TIGER data in the U.S.) is the location of a given street address is approximated based on the map locations of the first and last street address on each side of each street segment, i.e., the portion of the street between intersections with other streets. Of course, the DK also supports address geocoded points layers, in which each point represents the exact location of a specific street address (which is more typical with non U.S. data)
Because the format of the street address naming (use of abbreviations for road, street, etc., street naming conventions such as “south”, “east”, "NW", "NE", etc., spelling variations, positioning of street number before or after the street name, etc.) varies considerably by geographic location, country, language, and map dataset vendor, TatukGIS products support sophisticated address parsing to logically match the address information entered by the user to how the address is actually recorded in the map data. Due, however, to differences between each geocoded data set, it is not possible to provide a single set of final-user features that work correctly, right out-of-the-box, with every geocoded dataset. The TatukGIS default functionality must be customized to work correctly with each given dataset.
The geocoding search rules are based on regular expressions and address search formulas which are defined by the developer. For example, the developer might choose to query using the zip code, city name, and/or state name in the search, or to omit any of these information types from the search. The search could be based just on the proper street name (Main, Elm, etc. ) or based on the street name AND the street type, e.g., street, road, turnpike, avenue, court, circle, way, lane, etc. The TigerGeocoding source code sample in DK sample set #6 demonstrates geocoded address parsing using the .ParseEx method, which provides advanced address generalization via a template formula. For instances of multiple address matches for given query, the .ParseEx method offers a choice between i) first match, ii) all match, or iii) match based on geographical pattern, e.g., zip code, city, state, etc.
A second source code sample, the Geocoding sample in DK sample set #2, demonstrates the older .Parse method, which is still supported for the benefit of customers who have not updated their DK based geocoding applications to reflect the newer .ParseEx method.
Other knowledge base items relevant to this topic are
KB10461,
KB10273,
KB10772. Is not unusual for geocoding or reverse geocoding to be used in combination with other supported functionality such as GPS, live joining of the geocoded map to an external database, spatial queries, etc. Use of SQL database map layers, as opposed to shape files, is recommended for best address query performance with large datasets.
Created: 2006-12-08, Modified: 2011-07-28