[postgis-devel] [PostGIS] #1108: normalize_address: Internal address prefix sometimes get caught in post dir
PostGIS
trac at osgeo.org
Wed Jul 6 03:39:15 PDT 2011
#1108: normalize_address: Internal address prefix sometimes get caught in post dir
----------------------------+-----------------------------------------------
Reporter: robe | Owner: robe
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.0.0
Component: tiger geocoder | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
Description changed by robe:
Old 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
> }}}
New 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
}}}
--
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1108#comment:1>
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