From: Regina Obe Date: Sat, 25 Jun 2011 21:11:12 +0000 (+0000) Subject: correct column names of norm_addy object - they were wrong X-Git-Tag: 2.0.0alpha1~1351 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc9d280f00303954511a6a975415f361d00963c3;p=postgis correct column names of norm_addy object - they were wrong git-svn-id: http://svn.osgeo.org/postgis/trunk@7485 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/extras_tigergeocoder.xml b/doc/extras_tigergeocoder.xml index cc9033d14..c2d6f989a 100644 --- a/doc/extras_tigergeocoder.xml +++ b/doc/extras_tigergeocoder.xml @@ -327,22 +327,22 @@ CREATE INDEX idx_tiger_data_ma_faces_countyfp ON tiger_data.ma_faces USING btree You may find the need to add more abbreviations or alternative namings to the various lookup tables in the tiger schema. It uses various control lookup tables located in tiger schema to normalize the input address. Fields in the norm_addy type object returned by this function in this order where () indicates a field required by the geocoder, [] indicates an optional field: - (address) [dirPrefix] (streetName) [streetType] [dirSuffix][internal] [location] [state] [zipCode] + (address) [predirAbbrev] (streetName) [streetTypeAbbrev] [postdirAbbrev] [internal] [location] [stateAbbrev] [zip] address is an integer: The street number - dirPrefix is varchar: Directional prefix of road such as N, S, E, W etc. These are controlled using the direction_lookup table. + predirAbbrev is varchar: Directional prefix of road such as N, S, E, W etc. These are controlled using the direction_lookup table. streetName varchar - streetType varchar abbreviated version of street type: e.g. St, Ave, Cir. These are controlled using the street_type_lookup table. + streetTypeAbbrev varchar abbreviated version of street type: e.g. St, Ave, Cir. These are controlled using the street_type_lookup table. - dirSuffix varchar abbreviated version of street suffix. These are controlled using the direction_lookup table. + postdirAbbrev varchar abbreviated directional suffice of road N, S, E, W etc. These are controlled using the direction_lookup table. internal varchar internal address such as an apartment or suite number. @@ -351,11 +351,14 @@ CREATE INDEX idx_tiger_data_ma_faces_countyfp ON tiger_data.ma_faces USING btree location varchar usually a city or governing province. - state varchar two character US State. e.g MA, NY, MI. These are controlled by the state_lookup table. + stateAbbrev varchar two character US State. e.g MA, NY, MI. These are controlled by the state_lookup table. zip varchar 5-digit zipcode. e.g. 02109. + + parsed boolean - denotes if addess was formed from normalize process. The normalize_address function sets this to true before returning the address. +