[postgis-tickets] [PostGIS] #4670: St_AddPoint always adds the new point in position 0 for each position provided apart for -1 or leaving it out

PostGIS trac at osgeo.org
Tue Apr 21 07:31:02 PDT 2020


#4670: St_AddPoint always adds the new point in position 0 for each position
provided apart for -1 or leaving it out
----------------------+---------------------------
  Reporter:  pizzuga  |      Owner:  Raúl Marín
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.5.5
 Component:  postgis  |    Version:  2.5.x
Resolution:           |   Keywords:
----------------------+---------------------------
Changes (by Raúl Marín):

 * owner:  pramsey => Raúl Marín
 * milestone:   => PostGIS 2.5.5


Comment:

 Simpler repro:
 {{{
 # SELECT ST_AsText(ST_AddPoint('LINESTRING(0 0, 1 1, 3 3, 4 4)'::geometry,
 'POINT(2 2)'::geometry, 2));
             st_astext
 ---------------------------------
  LINESTRING(2 2,0 0,1 1,3 3,4 4)
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4670#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-tickets mailing list