[postgis-tickets] [PostGIS] #3621: ST_MakeLine supports MULITPOINT in 2.3.0 but not 2.2.2

PostGIS trac at osgeo.org
Sun Sep 4 10:03:43 PDT 2016


#3621: ST_MakeLine supports MULITPOINT in 2.3.0 but not 2.2.2
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 2.3.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 This might be a documentation bug, or a regression change in PostGIS
 2.2.2.

 I was shocked to find this discrepancy in garden tests


 {{{
 SELECT ST_AsText(ST_MakeLine('MULTIPOINT(-10 40,-10 55,-10 70,5 40,5 55,5
 70,20 40,20 55,20 70,35 40,35 55,35 70,50 40,50 55,50 70)'::geometry));
 }}}

 In PostGIS 2.3.0 dev r15053
 Returns

 {{{
 LINESTRING(-10 40,-10 55,-10 70,5 40,5 55,5 70,20 40,20 55,20 70,35 40,35
 55,35 70,50 40,50 55,50 70)
 }}}

 But in PostGIS 2.2.2 returns


 {{{
 NULL
 }}}

 But according to our docs, we've supported MULTIPOINT as input in
 ST_MakeLine since PostGIS 2.0, which would suggest if that is true 2.2.2
 ST_MakeLine was broken (or we really didn't support this until now)

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