]> granicus.if.org Git - postgis/commitdiff
#2245 Doc patches to tiger
authorRegina Obe <lr@pcorp.us>
Wed, 10 Jul 2013 03:43:04 +0000 (03:43 +0000)
committerRegina Obe <lr@pcorp.us>
Wed, 10 Jul 2013 03:43:04 +0000 (03:43 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11650 b70326c6-7e19-0410-871a-916f4a2858ee

extras/tiger_geocoder/README
extras/tiger_geocoder/tiger_2011/README

index 3cb020d2c2dbb6c39cd9b213564858ae5f1ac70c..309d1aeb0f20da56c70f2bef3482837321b1801f 100644 (file)
@@ -1,7 +1,7 @@
 $Id$
 TIGER Geocoder
 
-  2011/01/23
+  2013/07/09
 
   A plpgsql based geocoder written for TIGER census data.
 
@@ -23,7 +23,7 @@ produce a point geometry reflecting the location of the given address.
 
 Installation:
 
-       Refer to the README in the respective year tiger folder for installation and example usage.  The latest scripts as of this writing are for tiger_2010.
+       Refer to the README in the respective year tiger folder for installation and example usage.  The latest scripts as of this writing are for tiger_2012.
        
 
 Usage:
@@ -59,4 +59,4 @@ Usage:
        
         address | predirabbrev |      streetname       | streettypeabbrev | postdirabbrev | internal | location | stateabbrev |  zip  | parsed
         ---------+-------------+-----------------------+------------------+---------------+----------+----------+-------------+-------+--------
-     29645 |               | 7th Street SW Federal  | Way              |               |          |          |             | 98023 | 
\ No newline at end of file
+     29645 |               | 7th Street SW Federal  | Way            |               |          |          |             | 98023 | 
\ No newline at end of file
index f641a620546e515fba54d68ed42c05401c3aec1b..ebf7ce3a791ee50deee26477381eebeaeb94ded4 100644 (file)
@@ -25,7 +25,7 @@ Steps to install and load (without using extensions)
 
 1.  Create a PostGIS enabled db if you don't have one already
 
-2.     From command line, cd into the tiger_geocoder_2010 folder
+2.     From command line, cd into the tiger_geocoder_2011 folder
 
 3.  Edit the tiger_loader.sql to the paths of your executables server etc.
 
@@ -66,20 +66,18 @@ WHITESPACE AND POSSIBLY NON-SCRIPT CHARACTERS THAT CAUSE IT TO BREAK.)
 -- do this step since 2011 county, state tables are available only at national level
 SELECT loader_generate_nation_script('sh');  
 
-Then run the above script
+-- After the nation load, generate a bash script suitable for Unix command lines 
+-- for your desired states. 
 
--- then run script for your desired states
 SELECT loader_generate_script(ARRAY['DC','RI'], 'sh');
 
---To generate a bash script suitable for Unix command lines
-SELECT loader_generate_script(ARRAY['DC','RI'], 'sh');
 
 ONCE YOU GENERATE THIS SCRIPT, EDIT IT TO ADD "set -e -u" AT THE TOP;
 THIS SETTING WILL MAKE IT STOP ON ERROR OR UNITIALIZED VARIABLE AND
-MAKE IT EASIER TO DEBUG ANY PROBLEMS.  THEN RUN THE SCRIPT AT THE
-COMMAND LINE, REDIRECTING STANDARD OUTPUT AND STANDARD ERROR TO USEFUL
-FILES.  YOU MAY WANT TO RUN "tail -f " TO SEE THE STANDARD ERROR AS IT
-GETS WRITTEN.  FOR EXAMPLE:
+MAKE IT EASIER TO DEBUG ANY PROBLEMS.  
+THEN RUN THE SCRIPT AT THE COMMAND LINE, REDIRECTING STANDARD OUTPUT AND 
+STANDARD ERROR TO USEFUL FILES.  YOU MAY WANT TO RUN "tail -f " TO SEE THE 
+STANDARD ERROR AS IT GETS WRITTEN.  FOR EXAMPLE: 
 
 $ sh foo.sh 1>out 2>err; tail -f err
 
@@ -94,9 +92,9 @@ SELECT loader_generate_nation_script('windows');
 SELECT loader_generate_script(ARRAY['DC','RI'], 'windows');
 
 If your script disappears without loading anything, 
-most likely one of your path settings is wrong.  
+most likely one of your path settings is wrong. 
 To troubleshoot run the batch script by 
-first opening up a commandline and executing the file.
+first opening up a commandline and executing the file. 
 
 That will keep the window open for you to see the error.
 
@@ -144,4 +142,4 @@ queries.
 
 It will fail on some steps such as addition of new columns 
 to lookup tables if they already exist in your intall.  
-These errors can be safely ignored.
\ No newline at end of file
+These errors can be safely ignored.