[postgis-devel] [PostGIS] #1604: normalize_address() confused by internal component

PostGIS trac at osgeo.org
Wed Feb 22 11:48:29 PST 2012


#1604: normalize_address() confused by internal component
----------------------------+-----------------------------------------------
 Reporter:  mikepease       |       Owner:  robe         
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 2.0.0
Component:  tiger geocoder  |     Version:  1.5.X        
 Keywords:                  |  
----------------------------+-----------------------------------------------
 There are certain cases where normalize_address() incorrectly parses the
 address.

 Consider an address with no street type like below AND an internal
 component. Remove the internal component and it works. Or add a street
 type and it works.

 --INCORRECT
 select *
 from normalize_address('901 Mainstreet Fl 1 Hopkins MN 55343')

 --INCORRECT
 select *
 from normalize_address('901 Mainstreet, Fl 1, Hopkins, MN 55343')

 --CORRECT!
 select *
 from normalize_address('901 Main street, Fl 1, Hopkins, MN 55343')

 --CORRECT!
 select *
 from normalize_address('901 Mainstreet Hopkins MN 55343')

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1604>
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-devel mailing list