Opened 5 years ago

Closed 5 years ago

#4395 closed enhancement (wontfix)

ST_ClosestPoint: return 3D point if passed in 3D point

Reported by: komzpa Owned by: komzpa
Priority: medium Milestone: PostGIS 3.0.0
Component: postgis Version: master
Keywords: Cc:

Description

We have lines in X,Y,Z that have Z storing timestamps of traveling through points.

ST_ClosestPoint drops Z instead of interpolating it. ST_3DClosestPoint measures distance also across the fake time which is not what we would need.

ST_ClosestPoint should return 3D points for 3D inputs.

Change History (1)

comment:1 by robe, 5 years ago

Resolution: wontfix
Status: assignedclosed

I disagree :) -- that should go in ST_3DClosestPoint.

We standardized on the ST_ dealing 2D and the 3D ones for 3D + more

Note: See TracTickets for help on using tickets.