Tiger Geocoder is now part of the PostGIS documentation
for further details about function use, refer to:
-http://www.postgis.net/docs/manual-dev/Extras.html#Tiger_Geocoder
+http://postgis.net/docs/manual-dev/Extras.html#Tiger_Geocoder
-Steps to install and load (without using extensions)
+Refer to http://postgis.net/docs/manual-dev/postgis_installation.html#install_tiger_geocoder_extension
+for installing and upgarding from extensions.
-1. Create a PostGIS enabled db if you don't have one already
+Note that installing by script approach is now deprecated, but covered in:
+http://postgis.net/docs/manual-dev/postgis_installation.html#install_tiger_geocoder
-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.
-
-4. Edit the create_geocode.bat or create_geocode.sh and run
-
-5. Now add tiger schema to your database search path by doing
-something like:
-ALTER DATABASE geocoder SET search_path=public, tiger;
-
-Steps using extensions:
-1. Create a PostGIS enabled db make sure you installed postgis with:
-CREATE EXTENSION postgis;
-
-2) Next:
-CREATE EXTENSION fuzzystrmatch;
-CREATE EXTENSION postgis_tiger_geocoder;
-
-Loading up data:
+Loading data:
1. Create a folder called gisdata on root of server or your local pc
if you have a fast network connection to the server. This folder is
ST_Y(geomout) As lat, (addy).*
FROM geocode('1731 New Hampshire Avenue Northwest, Washington, DC 20010') As g;
-STEPS TO UPGRADE YOUR INSTALL:
-If you need to upgrade the geocoder/tiger loader from a pre-release
-2.0.0 install -- run the upgrade_geocoder.sh or upgrade_geocoder.bat
-script.
-
-CAUTION: The upgrade script will drop any table columns that have a
-norm_addy type for a column type. This is rare if ever done so you
-should be fine. We plan to fix this later. It will also drop any
-customizations you have made to the tiger_loader configuration tables.
-To prevent this, you can remark out the install loader part. This we
-plan to remedy in the future.
-
-It will also install any missing indexes that are deemed needed by
-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.