[postgis-devel] [PostGIS] #1310: City names with cardinal directions split by address normalizer

PostGIS trac at osgeo.org
Sat Nov 19 17:53:14 PST 2011


#1310: City names with cardinal directions split by address normalizer
----------------------------+-----------------------------------------------
 Reporter:  bpanulla        |       Owner:  robe         
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 2.0.0
Component:  tiger geocoder  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------
 normalize_address() appears to strip cardinal directions from the city
 name and place them in the Post-dir field, causing incorrect geocoding.
 Test case:

 {{{1110 W CAPITOL AVE, WEST SACRAMENTO, CA}}}

 gets parsed by normalize_address as:

 ||Address||Pre-Dir||Street||Street Type||Post-
 Dir||Internal||Locality||State||Zip||
 ||1110||W||CAPITOL||Ave||W||||SACRAMENTO||CA||||

 Geocoded address: ''1500 Capitol Ave, Sacramento, CA 95814''

 Removing the space between WEST and SACREMENTO causes the address to be
 parsed, and hence geocoded, correctly.

 ||Address||Pre-Dir||Street||Street Type||Post-
 Dir||Internal||Locality||State||Zip||
 ||1110||W||CAPITOL||Ave||||||WESTSACRAMENTO||CA||||

 Geocoded address: ''1110 W Capitol Ave, West Sacramento, CA 95691''

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1310>
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