[postgis-devel] [PostGIS] #887: Tiger geocoder fails when address contains name of street sometimes

PostGIS trac at osgeo.org
Sat Mar 26 16:56:46 PDT 2011


#887: Tiger geocoder fails when address contains name of street sometimes
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 See: http://www.postgis.org/pipermail/postgis-users/2011-March/029236.html


 {{{
 SELECT
     g.rating,
     ST_X(g.geomout) as lon,
     ST_Y(g.geomout) as lat
   FROM GEOCODE('2450 N COLORADO ST, PHILADELPHIA, PA, 19132') as g;

 ERROR:  query string argument of EXECUTE is null
 CONTEXT:  PL/pgSQL function "location_extract" line 54 at EXECUTE
 statement
 PL/pgSQL function "normalize_address" line 142 at assignment
 PL/pgSQL function "geocode" line 10 at assignment

 }}}

 for details.  Though I'm not convinced it's just state name at issue
 (might be when there is a street prefix) since in example docs we geocode
 Massachusetts Avenue fine.
 e.g.

 77 Massachusetts Avenue, Cambridge, MA 02139

 doesn't give error

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