From: Regina Obe Date: Wed, 8 Oct 2014 04:15:04 +0000 (+0000) Subject: get rid of obsolete statements X-Git-Tag: 2.2.0rc1~799 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c8a851845673e497cb59ffdd002ca275a9ebf99;p=postgis get rid of obsolete statements git-svn-id: http://svn.osgeo.org/postgis/trunk@13050 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/installation.xml b/doc/installation.xml index 2926f95b3..e34b956ed 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -1224,23 +1224,15 @@ Run tests: 90 Installing and Using the address standardizer The address_standardizer extension used to be a separate package that required separate download. From PostGIS 2.2 on, it is now bundled in. For more information about the address_standardize, what it does, and how to configure it for your needs, refer to . - This standardizer can be use in conjunction with the PostGIS packaged tiger geocoder extension as a replacement for the discussed. + This standardizer can be used in conjunction with the PostGIS packaged tiger geocoder extension as a replacement for the discussed. To use as replacement refer to . - You can also use it as a building block for your own geocoder. + You can also use it as a building block for your own geocoder or use it to standardize your addresses for easier compare of addresses. - The address standardizer relies on PCRE which is usually already installed on most Nix systems, -but you can download the latest at: http://www.pcre.org. It also requires Perl with the Regexp::Assemble installed - For Windows users, the PostGIS 2.1+ bundle is packaged with the address_standardizer already so no need to compile and can move straight to CREATE EXTENSION step. - Installing Regex::Assemble - cpan Regexp::Assemble - or if you are on Ubuntu / Debian you might need to do - sudo perl -MCPAN -e "install Regexp::Assemble" - Compiling - cd postgis-&last_release_version;/extensions/address_standardizer -make -#if you have in non-standard location pcre try -# make SHLIB_LINK="-L/path/pcre/lib -lpostgres -lpgport -lpcre" CPPFLAGS="-I. -I/path/pcre/include" -make install + The address standardizer relies on PCRE which is usually already installed on many Nix systems, +but you can download the latest at: http://www.pcre.org. If during , PCRE is found, then the address standardizer extension will automatically be built. If you have a custom pcre install you want to use instead, pass to configure --with-pcredir=/path/to/pcre where /path/to/pcre is the root folder for your pcre include and lib directories. + + For Windows users, the PostGIS 2.1+ bundle is packaged with the address_standardizer already so no need to compile and can move straight to CREATE EXTENSION step. + Once you have installed, you can connect to your database and run the SQL: CREATE EXTENSION address_standardizer; @@ -1252,6 +1244,13 @@ make install num | street | city | state | zip -----+------------------------+--------+-------+------- 1 | Devonshire Place PH301 | Boston | MA | 02109 + + Installing Regex::Assemble + Perl Regex:Assemble is no longer needed for compiling address_standardizer extension since the files it generates are part of the source tree. However if you need to edit the usps-st-city-orig.txt or usps-st-city-orig.txt usps-st-city-adds.tx, you need to rebuild parseaddress-stcities.h which does require Regex:Assemble. + cpan Regexp::Assemble + or if you are on Ubuntu / Debian you might need to do + sudo perl -MCPAN -e "install Regexp::Assemble" +