[postgis-tickets] [PostGIS] #2978: address standardizer doesn't handle street number ranges

PostGIS trac at osgeo.org
Tue Sep 8 19:57:32 PDT 2015


#2978: address standardizer doesn't handle street number ranges
----------------------------------+---------------------------
  Reporter:  robe                 |      Owner:  robe
      Type:  defect               |     Status:  new
  Priority:  medium               |  Milestone:  PostGIS 2.2.0
 Component:  pagc_address_parser  |    Version:  2.1.x
Resolution:                       |   Keywords:
----------------------------------+---------------------------
Changes (by robe):

 * owner:  woobri => robe


Old description:

> This is working with the packaged us-lex, us-gaz, us-rules.
>
> If I do this:
>

> {{{
> SELECT std.house_num, std.name, std.suftype, std.sufdir
> FROM standardize_address('lex' -- --
> , 'gaz' -- --
> , 'rules' -- --
> , '10-20 DORRANCE ST PROVIDENCE RI '
> ) As std ;
> }}}
>
> I get this:
>
> {{{
>
>  house_num |    name     | suftype | sufdir
> -----------+-------------+---------+--------
>  10        | 20 DORRANCE | STREET  |
> }}}
>

> Note how the second part gets stuck in the street name.

New description:

 This is not working with the packaged us-lex, us-gaz, us-rules.

 If I do this:


 {{{
 SELECT std.house_num, std.name, std.suftype, std.sufdir
 FROM standardize_address('lex' -- --
 , 'gaz' -- --
 , 'rules' -- --
 , '10-20 DORRANCE ST PROVIDENCE RI '
 ) As std ;
 }}}

 I get this:

 {{{

  house_num |    name     | suftype | sufdir
 -----------+-------------+---------+--------
  10        | 20 DORRANCE | STREET  |
 }}}


 Note how the second part gets stuck in the street name.

--

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2978#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