[postgis-tickets] [PostGIS] #5267: [Enhacement] Extrapolate Linestring rate and distance support
PostGIS
trac at osgeo.org
Tue Jun 20 16:03:41 PDT 2023
#5267: [Enhacement] Extrapolate Linestring rate and distance support
--------------------------+---------------------------
Reporter: latot | Owner: pramsey
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 3.4.0
Component: postgis | Version: 3.3.x
Resolution: | Keywords:
--------------------------+---------------------------
Comment (by pramsey):
I think line extension is a distraction, since the core operation here (in
cartesian and geographics) is projection. Basically, a function like
https://postgis.net/docs/ST_Project.html only with two arguments and a
distance. You could build it yourself easily enough from parts already
lying around.
{{{
ST_Project(ST_StartPoint(line), distance, ST_Azimuth(ST_StartPoint(line),
ST_EndPoint(line))
}}}
There's already functions to get the start/end/nth point of a line, and
there's already these projection functions (which, conveniently, already
exist for geometry and geography).
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5267#comment:8>
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