]> granicus.if.org Git - postgis/commitdiff
#2522 document RegExp::Assemble perl dependency
authorRegina Obe <lr@pcorp.us>
Sat, 2 Nov 2013 18:30:14 +0000 (18:30 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 2 Nov 2013 18:30:14 +0000 (18:30 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12074 b70326c6-7e19-0410-871a-916f4a2858ee

doc/installation.xml

index afce256bd3d9e00f18208f79faa81905977b36f1..7520bbe91f1d67ac8083dfdc877a611335bc8d23 100644 (file)
@@ -1234,12 +1234,16 @@ SELECT 'debbie', declare_sect, pgbin, wget, unzip_command, psql, path_sep,
                        </orderedlist>
                </sect3>
                
-               <sect3 id="installing_pagc_address_standardizer"><title>Using PAGC address standardizer</title>
+               <sect3 id="installing_pagc_address_standardizer"><title>Installing and Using PAGC address standardizer</title>
                        <para>One of the many complaints of folks is the address normalizer function <xref linkend="Normalize_Address" /> function that normalizes an address for prepping before geocoding.  The normalizer is far from perfect and trying to patch its imperfectness takes a vast amount of resources.  As such we have integrated with another
                        project that has a much better address standardizer engine.  This is currently a separate project, which is a subproject of PAGC.  The source code for this PostgreSQL standardizer extension can be downloaded from <ulink url="http://sourceforge.net/p/pagc/code/360/tree/branches/sew-refactor/postgresql">PAGC PostgreSQL Address Standardizer</ulink>.  To use this new normalizer, you compile the pagc extension and install as an extension in your database.</para>
                        <para>The PAGC project and standardizer portion in particular, relies on PCRE which is usually already installed on most Nix systems, 
-but you can download the latest at: <ulink url="http://www.pcre.org">http://www.pcre.org</ulink> </para>
+but you can download the latest at: <ulink url="http://www.pcre.org">http://www.pcre.org</ulink>. It also requires Perl with the <code>Regexp::Assemble</code> installed </para>
                        <para>For Windows users, the PostGIS 2.1+ bundle will come packaged with the address_standardizer already so no need to compile and can move straight to <code>CREATE EXTENSION</code> step.</para>
+                       <para>Installing Regex::Assemble</para>
+                       <programlisting>cpan Regexp::Assemble</programlisting>
+                       or if you are on Ubuntu / Debian you might need to do
+                       <programlisting>sudo perl -MCPAN -e "install Regexp::Assemble"</programlisting>
                        <para>Compiling</para>
                        <programlisting>svn co svn://svn.code.sf.net/p/pagc/code/branches/sew-refactor/postgresql address_standardizer
 cd address_standardizer