[postgis-tickets] [PostGIS] #2980: directional as a street name should not be abbreviated

PostGIS trac at osgeo.org
Sat Oct 25 03:49:30 PDT 2014


#2980: directional as a street name should not be abbreviated
---------------------------------+------------------------------------------
 Reporter:  robe                 |       Owner:  woobri       
     Type:  defect               |      Status:  new          
 Priority:  medium               |   Milestone:  PostGIS 2.2.0
Component:  pagc_address_parser  |     Version:  trunk        
 Keywords:                       |  
---------------------------------+------------------------------------------
 Currently tiger geocoder expects pref directions to be abbreviated, but
 street names should not be.

 pagc_normalize_address unfortunately does this:


 {{{
 SELECT predirabbrev, streetname, streettypeabbrev
 FROM pagc_normalize_address('41 north st, boston, ma 02109');
 -- not okay would prefer streetname = 'NORTH'
  predirabbrev | streetname | streettypeabbrev
 --------------+------------+------------------
               | N          | ST
 }}}

 Though this works as hoped

 {{{
 SELECT predirabbrev, streetname, streettypeabbrev
 FROM pagc_normalize_address('41 north washington st, boston, ma 02109');

  predirabbrev | streetname | streettypeabbrev
 --------------+------------+------------------
  N            | WASHINGTON | ST
 }}}

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