Opened 2 years ago

Closed 2 years ago

#5279 closed enhancement (duplicate)

ST_ClosestPoint and ST_ShortestLine for geography

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 3.4.0
Component: postgis Version: master
Keywords: Cc: latot, pramsey

Description

I recall latot asking about this and that was why he was interested in s3.

Paul it's my understanding from IRC that you already compute ClosestPoint on both objects

PostGIS calculation finds the projected point using spherical math, and then returns the spheroidal distance between those points
12:39PM
I guess for the right conditions the projected point could be different enough to drive those differences? Kind of hard to fathom it's that different, given that the final distance is calculated on the spheroid... feel like the projected point would have to differ a LOT.

so I presume you can just tease this out to create a ST_ClosestPoint and ST_ShortestLine for geography?

Change History (1)

comment:1 by robe, 2 years ago

Resolution: duplicate
Status: newclosed

oops I hadn't noticed latot already asked #5266. So this is a duplicate. I'll close this out and add ST_ClosestPoint to his list.

Note: See TracTickets for help on using tickets.