[postgis-tickets] [PostGIS] #3162: geocode_intersection crashes on an intersection

PostGIS trac at osgeo.org
Wed Aug 19 18:32:19 PDT 2015


#3162: geocode_intersection crashes on an intersection
-----------------------------+---------------------------
  Reporter:  alexreinhart    |      Owner:  robe
      Type:  defect          |     Status:  new
  Priority:  medium          |  Milestone:  PostGIS 2.2.0
 Component:  tiger geocoder  |    Version:  2.1.x
Resolution:                  |   Keywords:
-----------------------------+---------------------------

Comment (by robe):

 It's possible I fixed this already or the tiger 2015 data doesn't have the
 offending record.  I don't seem to be able to replicate the issue with
 tiger 2015 data in PostGIS 2.2 for PA.

 When I run:


 {{{
 SELECT rating, pprint_addy(addy), st_astext(geomout)
  FROM geocode_intersection('Brighton Rd', 'Viruth St', 'PA', 'Pittsburgh',
 '15212');
 }}}

 I get:


 {{{
  rating |              pprint_addy               |          st_astext
 --------+----------------------------------------+-----------------------------
       0 | 3873 Brighton Rd, Pittsburgh, PA 15212 | POINT(-80.036731
 40.486403)
       0 | 3880 Brighton Rd, Pittsburgh, PA 15212 | POINT(-80.036731
 40.486403)
       0 | 3871 Brighton Rd, Pittsburgh, PA 15212 | POINT(-80.036731
 40.486403)
       0 | 3878 Brighton Rd, Pittsburgh, PA 15212 | POINT(-80.036731
 40.486403)
 }}}


 and

 {{{
 SELECT rating, pprint_addy(addy), st_astext(geomout)
  FROM geocode_intersection('Viruth St', 'Brighton Rd', 'PA', 'Pittsburgh',
 '15212');
 }}}

 returns:


 {{{
  rating |             pprint_addy              |          st_astext
 --------+--------------------------------------+-----------------------------
       0 | 1899 Viruth St, Pittsburgh, PA 15212 | POINT(-80.036731
 40.486403)
       0 | 1898 Viruth St, Pittsburgh, PA 15212 | POINT(-80.036731
 40.486403)
 (2 rows)
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3162#comment:2>
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