You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
cuSpatial as of 22.06 can now generate the minimum distance between two linestrings - it would be a nice addon if it could return the underlying linestring that is measured for distance.
Describe the solution you'd like
Rather than returning the distance between 2 given linestrings, this function would return the coordinates that make up the shortest distance between the two linestrings. In GIS workflows it can be valuable to visualize or work with the shortest line between the two features.
I think the edge cases should likely mirror postGIS:
The function will only return the first shortest line if more than one, that the function finds.
If linestring1 and linestring2 intersects in just one point the function will return a line with both start and end in that intersection-point.
If linestring1 and linestring2 are intersecting with more than one point the function will return a line with start and end in the same point but it can be any of the intersecting points.
The line returned will always start in linestring1 and end in linestring2.
The length of the line this function returns will always be the same as ST_Distance returns for linestring1 and linestring2.
This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.
This issue has been labeled inactive-90d due to no recent activity in the past 90 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed.
Is your feature request related to a problem? Please describe.
cuSpatial as of
22.06
can now generate the minimum distance between two linestrings - it would be a nice addon if it could return the underlying linestring that is measured for distance.Describe the solution you'd like
Rather than returning the distance between 2 given linestrings, this function would return the coordinates that make up the shortest distance between the two linestrings. In GIS workflows it can be valuable to visualize or work with the shortest line between the two features.
I think the edge cases should likely mirror postGIS:
Describe alternatives you've considered
This is a functional mirror to ST_ShortestLine from postGIS: https://postgis.net/docs/ST_ShortestLine.html
The text was updated successfully, but these errors were encountered: