#5266 closed patch (fixed)
[Enhacement] ST_ShortestLine and ST_ClosestPoint support with geography
| Reported by: | latot | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 3.4.0 |
| Component: | postgis | Version: | 3.3.x |
| Keywords: | Cc: | latot, pramsey |
Description
Hi all!, There is a bunch of non-trivial functions of geometry that are not implemented, I think would be great to have them, for now I'm reporting this one!
ST_ShortestLine for now only supports geometry type, would be great if there is the geography one too.
Maybe in ST_Distance there is a important sections that can be reusable, because it supports geography, and for the min distance maybe there is the shortest line too.
Thx!
Change History (6)
comment:1 by , 22 months ago
| Milestone: | PostGIS 3.3.2 → PostGIS 3.4.0 |
|---|
comment:2 by , 22 months ago
| Cc: | added |
|---|---|
| Summary: | [Enhacement] ST_ShortestLine suport with geography → [Enhacement] ST_ShortestLine and ST_ClosestPoint support with geography |
comment:3 by , 14 months ago
comment:4 by , 14 months ago
| Type: | enhancement → patch |
|---|
comment:5 by , 13 months ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

From Esteban Zimanyi:
Mobilitydb implemented this in their geography_functions set here:
https://github.com/MobilityDB/MobilityDB/blob/develop/mobilitydb/src/point/geography_functions.c
They also have in there ST_LineSubstring, ST_LineInterpolatePoint, ST_LineLocatePoint