From: Regina Obe Date: Thu, 24 Sep 2015 19:00:06 +0000 (+0000) Subject: #3286: update README X-Git-Tag: 2.2.0~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1312e742dccd629ac708c3a1c9a7dadc988d7886;p=postgis #3286: update README git-svn-id: http://svn.osgeo.org/postgis/trunk@14101 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/extras/tiger_geocoder/README b/extras/tiger_geocoder/README index 7a88be66e..a348fbef8 100644 --- a/extras/tiger_geocoder/README +++ b/extras/tiger_geocoder/README @@ -18,31 +18,15 @@ http://gnuwin32.sourceforge.net/packages/wget.htm 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 @@ -125,21 +109,3 @@ SELECT g.rating, 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.