[PostGIS] #5776: ST_LineSubstring 3D support

PostGIS trac at osgeo.org
Tue Nov 25 11:29:46 PST 2025


#5776: ST_LineSubstring 3D support
--------------------------+---------------------------
  Reporter:  vla123       |      Owner:  pramsey
      Type:  enhancement  |     Status:  new
  Priority:  medium       |  Milestone:  PostGIS 3.7.0
 Component:  postgis      |    Version:  3.4.x
Resolution:               |   Keywords:
--------------------------+---------------------------
Comment (by robe):

 Hmm well it does do something with 3D linestrings though perhaps not as
 expected.


 {{{
 SELECT ST_AsText(ST_LineSubstring(ST_GeomFromText('LINESTRING Z(0 0 0, 0 2
 5, 0 10 10)'), 0,0.5))
 }}}

 Yields:


 {{{
 LINESTRING Z (0 0 0,0 2 5,0 5 6.875)
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5776#comment:6>
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