[PostGIS] #5357: Invalid conversion of 2-points line in ST_LineFromEncodedPolyline

PostGIS trac at osgeo.org
Tue Jun 9 15:51:55 PDT 2026


#5357: Invalid conversion of 2-points line in ST_LineFromEncodedPolyline
------------------------+----------------------------------------
  Reporter:  perikrone  |      Owner:  pramsey
      Type:  defect     |     Status:  closed
  Priority:  medium     |  Milestone:  PostGIS PostgreSQL
 Component:  postgis    |    Version:  3.2.x
Resolution:  fixed      |   Keywords:  ST_LineFromEncodedPolyline
------------------------+----------------------------------------
Comment (by Paul Ramsey <pramsey@…>):

 In [changeset:"8016c749937a20b097bc720389dbc0e062505bd6/git" 8016c74/git]:
 {{{#!CommitTicketReference repository="git"
 revision="8016c749937a20b097bc720389dbc0e062505bd6"
 Fix ST_LineFromEncodedPolyline dropping close points

 Use int32_t accumulators instead of double.
 Closes #5357
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5357#comment:4>
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