]> granicus.if.org Git - postgis/commitdiff
Add some calrification notes to normalize_address function. Get rid of superfluous...
authorRegina Obe <lr@pcorp.us>
Thu, 10 Feb 2011 05:33:52 +0000 (05:33 +0000)
committerRegina Obe <lr@pcorp.us>
Thu, 10 Feb 2011 05:33:52 +0000 (05:33 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6794 b70326c6-7e19-0410-871a-916f4a2858ee

doc/extras_tigergeocoder.xml
extras/tiger_geocoder/tiger_2010/create_geocode.sh

index 80b85453d92d32cce8e6699aa542c11d43844270..675dcc3671658d8b5171c044c24a5fbb4a992830 100644 (file)
@@ -222,7 +222,8 @@ UNZIPTOOL=unzip
          <refnamediv>
                <refname>Normalize_Address</refname>
 
-               <refpurpose>Given a textual street address, returns a composite <varname>norm_addy</varname> type that has road suffix, prefix and type standardized, street, streetname etc. broken into separate fields.</refpurpose>
+               <refpurpose>Given a textual street address, returns a composite <varname>norm_addy</varname> type that has road suffix, prefix and type standardized, street, streetname etc. broken into separate fields.  This function 
+               will work with just the lookup data packaged with the tiger_geocoder (no need for tiger census data).</refpurpose>
          </refnamediv>
 
          <refsynopsisdiv>
@@ -239,6 +240,8 @@ UNZIPTOOL=unzip
 
                <para>Given a textual street address, returns a composite <varname>norm_addy</varname> type that has road suffix, prefix and type standardized, street, streetname etc. broken into separate fields.  This is the first step in the geocoding process to 
                    get all addresses into normalized postal form. No other data is required aside from what is packaged with the geocoder.</para>
+               <para>This function just uses the various direction/state/suffix lookup tables preloaded with the tiger_geocoder and located in the <varname>tiger</varname> schema, so it doesn't need you to download tiger census data or any other additional data to make use of it.
+                You may find the need to add more abbreviations or alternative namings to the various lookup tables in the  <varname>tiger</varname> schema.</para>
                <para>It uses various control lookup tables located in <varname>tiger</varname> schema to normalize the input address.</para>
                <para>Fields in the <varname>norm_addy</varname> type object returned by this function in this order where  () indicates a field required by the geocoder, [] indicates an optional field:</para>
                <para>(address) [dirPrefix] (streetName) [streetType] [dirSuffix][internal] [location] [state] [zipCode]</para>
index bf628c856b7150c3eb5910dc79946e67ee398733..05f34cfe0b9ef7b1f63a6ce834c9be3f1b8261a5 100644 (file)
@@ -11,4 +11,4 @@ ${PSQL_CMD} -d "%THEDB%" -c "CREATE SCHEMA tiger"
 ${PSQL_CMD} -d "%THEDB%" -f "tables/lookup_tables_2010.sql"\r
 ${PSQL_CMD} -d "%THEDB%" -c "CREATE SCHEMA tiger_data"\r
 ${PSQL_CMD} -d "%THEDB%" -f "tiger_loader.sql"\r
-${PSQL_CMD} -d "%THEDB%" -f "create_geocode.sql"\r
+${PSQL_CMD} -d "%THEDB%" -f "create_geocode.sql"
\ No newline at end of file