[postgis-tickets] [PostGIS] #1600: normalize_address() confused by whitespace

PostGIS trac at osgeo.org
Tue Apr 2 10:56:45 PDT 2013


#1600: normalize_address() confused by whitespace
---------------------------------+------------------------------------------
 Reporter:  mikepease            |       Owner:  robe         
     Type:  defect               |      Status:  assigned     
 Priority:  medium               |   Milestone:  PostGIS 2.1.0
Component:  pagc_address_parser  |     Version:  1.5.X        
 Keywords:                       |  
---------------------------------+------------------------------------------

Comment(by robe):

 This works okay with pagc_normalize

 Except instead of 3rd, it returns:
 3

 Debating if that is okay or not.  I'll have to see how geocoder handles
 it.  I don't think it will care.

 e.g.
 {{{
 select (a).address, a.predirabbrev, a.streetname from
 pagc_normalize_address(' 212 n 3rd ave, Minneapolis, mn 55401') As a ;
 }}}

 Yields:

 {{{
  address | predirabbrev | streetname
 ---------+--------------+------------
      212 | N            | 3
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1600#comment:5>
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