[postgis-tickets] [PostGIS] #5267: [Enhacement] Extrapolate Linestring rate and distance support

PostGIS trac at osgeo.org
Tue Oct 25 13:30:36 PDT 2022


#5267: [Enhacement] Extrapolate Linestring rate and distance support
--------------------------+---------------------------
  Reporter:  latot        |      Owner:  pramsey
      Type:  enhancement  |     Status:  new
  Priority:  medium       |  Milestone:  PostGIS 3.3.2
 Component:  postgis      |    Version:  3.3.x
Resolution:               |   Keywords:
--------------------------+---------------------------
Comment (by mdavis):

 Agreed, this would be a good extension (pun intended).

 One way to do this is to enhance
 [https://postgis.net/docs/manual-3.3/ST_LineSubstring.html
 ST_LineSubstring] to allow the `startFraction` and `endFraction` values to
 lie outside the range [0,1].  If `startFraction` is < 0 the first segment
 of the line is extended backwards.  If `endFraction` is > 1 the last
 segment of the line is extended forwards.

 This ''could'' be extended to `MultiLineString`s, by letting the length
 fractions apply to the entire MultiLineString, keeping the order of the
 element lines.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5267#comment:2>
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