Changes between Initial Version and Version 1 of Ticket #5268, comment 3
- Timestamp:
- 10/30/22 12:23:08 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified Ticket #5268, comment 3
initial v1 14 14 In my mind it would return what it does now or just the single point. 15 15 16 The reason is the ST_ShortestLine is a line with the shortest distance. Both a single point and a invalid linestring having two points the same have a distanceof 0. So it is the shortest distance. A null would return a null which isn't technically right because that would mean we don't know the distance, but we do, it's 0.16 The reason is the ST_ShortestLine is a line with the shortest distance. Both a single point and a invalid linestring having two points the same have a length of 0. So it is the shortest distance. A null would return a null which isn't technically right because that would mean we don't know the distance, but we do, it's 0. 17 17 18 18 >