[postgis-tickets] [PostGIS] #2979: address standardizer doesn't correctly parse street suffix if no ,
PostGIS
trac at osgeo.org
Tue Sep 8 14:58:46 PDT 2015
#2979: address standardizer doesn't correctly parse street suffix if no ,
----------------------------------+---------------------------
Reporter: robe | Owner: robe
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.2.0
Component: pagc_address_parser | Version: trunk
Resolution: | Keywords:
----------------------------------+---------------------------
Changes (by robe):
* owner: woobri => robe
Comment:
On closer inspection, seems like this is the fault of parse_address
which for this:
{{{
SELECT * FROM parse_address('25 PINE ST PROVIDENCE RI 99999');
}}}
gives:
{{{
num | street | street2 | address1 | city | state | zip |
zipplus | country
-----+--------+---------+----------+---------------+-------+-------+---------+---------
25 | PINE | | 25 PINE | ST PROVIDENCE | RI | 99999 |
| US
(1 row)
}}}
but for this:
{{{
SELECT * FROM parse_address('25 PINE ST, PROVIDENCE, RI 99999');
}}}
gives the right answer:
{{{
num | street | street2 | address1 | city | state | zip |
zipplus | country
-----+---------+---------+------------+------------+-------+-------+---------+---------
25 | PINE ST | | 25 PINE ST | PROVIDENCE | RI | 99999 |
| US
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2979#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list