Opened 13 years ago

Last modified 9 years ago

#1108 closed defect

normalize_address: Internal address prefix sometimes get caught in post dir — at Initial Version

Reported by: robe Owned by: robe
Priority: high Milestone: PostGIS 2.2.0
Component: tiger geocoder Version: master
Keywords: Cc:

Description

{{{ — this works SELECT * FROM normalize_address('529 Main Street, Apt 201, Boston, MA 02129');

address | predirabbrev | streetname | streettypeabbrev | postdirabbrev | internal | location | stateabbrev | zip | parsed


529 | | Main | St | | Apt 201 | Boston | MA | 02129 | t

}}}

But this has Suite bleed into postdirabbrev because it starts with S

SELECT * FROM normalize_address('529 Main Street, Suite 201, Boston, MA 02129');
 address | predirabbrev | streetname | streettypeabbrev | postdirabbrev | internal  | location | stateabbrev |  zip  | parsed 
---------+--------------+------------+------------------+---------------+-----------+----------+-------------+-------+--------
     529 |              | Main       | St               | S             | Suite 201 | Boston   | MA          | 02129 | t

Change History (0)

Note: See TracTickets for help on using tickets.