]> granicus.if.org Git - postgis/commitdiff
#2816 show output of address_standardizer_data_us
authorRegina Obe <lr@pcorp.us>
Sat, 27 Jun 2015 16:04:32 +0000 (16:04 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 27 Jun 2015 16:04:32 +0000 (16:04 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13724 b70326c6-7e19-0410-871a-916f4a2858ee

doc/extras_address_standardizer.xml

index bb0a1eb695d0b9a875b794712e99778b49c3f1c3..aad3389f5282320e3cef76470f4a691b3d06f23b 100644 (file)
@@ -570,9 +570,11 @@ into includes in the future for easier maintenance.</para></listitem>
                        <title>Examples</title>
                        <para>Using address_standardizer_data_us extension</para>
                        <programlisting>CREATE EXTENSION address_standardizer_data_us; -- only needs to be done once
-SELECT *  FROM standardize_address('us_lex', 
+SELECT house_num, name, suftype, city, country, state, unit  FROM standardize_address('us_lex', 
                           'us_gaz', 'us_rules', 'One Devonshire Place, PH 301, Boston, MA 02109-1234');</programlisting>
-
+                       <screen>house_num |    name    | suftype |  city  | country |     state     |      unit
+----------+------------+---------+--------+---------+---------------+-----------------
+1         | DEVONSHIRE | PLACE   | BOSTON | USA     | MASSACHUSETTS | # PENTHOUSE 301</screen>
                        <para>Using tables packaged with tiger geocoder. This example only works if you installec postgis_tiger_geocoder.</para>
                        <programlisting>SELECT *  FROM standardize_address('tiger.pagc_lex', 
                           'tiger.pagc_gaz', 'tiger.pagc_rules', 'One Devonshire Place, PH 301, Boston, MA 02109-1234');</programlisting>