Opened 10 years ago

Closed 9 years ago

#2978 closed defect (fixed)

address standardizer doesn't handle street number ranges

Reported by: robe Owned by: robe
Priority: medium Milestone: PostGIS 2.2.0
Component: pagc_address_parser Version: 2.1.x
Keywords: Cc:

Description (last modified by robe)

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.

Change History (3)

comment:1 by robe, 9 years ago

Description: modified (diff)
Owner: changed from woobri to robe

comment:2 by robe, 9 years ago

New table names now that i have them packaged as extension:

CREATE EXTENSION address_standardizer_data_us;

SELECT std.house_num, std.name, std.suftype, std.sufdir
FROM standardize_address('us_lex' -- --
, 'us_gaz' -- --
, 'us_rules' -- --
, '10-20 DORRANCE ST PROVIDENCE RI'  
) As std ;

comment:3 by robe, 9 years ago

Resolution: fixed
Status: newclosed

changed rules for both address_standardizer_data_us and tiger geocoder pagc_rules to hadnle and added some regress tests at r14055.

Note: See TracTickets for help on using tickets.