[postgis-tickets] [PostGIS] #1599: normalize_address() confused by coutry

PostGIS trac at osgeo.org
Wed Apr 3 06:15:31 PDT 2013


#1599: normalize_address() confused by coutry
---------------------------------+------------------------------------------
 Reporter:  mikepease            |       Owner:  robe         
     Type:  defect               |      Status:  assigned     
 Priority:  medium               |   Milestone:  PostGIS 2.1.0
Component:  pagc_address_parser  |     Version:  trunk        
 Keywords:                       |  
---------------------------------+------------------------------------------

Comment(by robe):

 Crash went away after r11247 , but not parsing right first parse seems
 wrong.  Is this the issue you were talking about with country?


 {{{
 -- using hstore here for easier output --
 SELECT (each(hstore(a))).* FROM parse_address('212 n 3rd ave, Minneapolis,
 mn 55401, USA') As a

 yields:
    key    |                value
 ----------+--------------------------------------
  num      | 212
  zip      |
  city     | USA
  state    |
  street   | n 3rd ave, Minneapolis, mn 55401
  country  | US
  street2  |
  zipplus  |
  address1 | 212 n 3rd ave, Minneapolis, mn 55401
 }}}


 This may have to do with how I'm concatenating.

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