[postgis-tickets] [PostGIS] #4826: Geocoder gives goofy resutls for 1 Main St, Hanover, MA

PostGIS trac at osgeo.org
Tue Jan 12 11:38:11 PST 2021


#4826: Geocoder gives goofy resutls for 1 Main St, Hanover, MA
-----------------------------+---------------------------
  Reporter:  robe            |      Owner:  robe
      Type:  defect          |     Status:  new
  Priority:  medium          |  Milestone:  PostGIS 3.1.1
 Component:  tiger geocoder  |    Version:  3.1.x
Resolution:                  |   Keywords:
-----------------------------+---------------------------

Comment (by robe):

 hmm which one are you testing with?  After I ran the delete and tried
 this:


 {{{
  SELECT ST_X(ST_SnapToGrid(g.geomout, 0.00001)) As longitude,
 ST_Y(ST_SnapToGrid(g.geomout, 0.00001)) As latitude,addy FROM geocode('1
 Main St, Hanover, MA',1) as g;

 }}}

 outputs


 {{{
 -70.84508000000001      42.117270000000005
 (1,,Main,St,,,Hanover,MA,02339,t,,)
 }}}



 {{{
  SELECT ST_X(ST_SnapToGrid(g.geomout, 0.00001)) As longitude,
 ST_Y(ST_SnapToGrid(g.geomout, 0.00001)) As latitude,addy FROM geocode('1
 Main St, Hanover, MA 02339',1) as g;
 }}}

 outputs:

 {{{
 -70.84508000000001      42.117270000000005
 (1,,Main,St,,,Hanover,MA,02339,t,,)
 }}}

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