DECLARE @pointA geography; DECLARE @pointB geography; SET @pointA = geography::Parse('POINT('+ CAST(119.93289251 AS VARCHAR) +' '+ CAST(-22.44282786 AS VARCHAR) +')') ; SET @pointB = geography::Parse('POINT('+ CAST(119.93289171 AS VARCHAR) +' '+ CAST(-22.44282573 AS VARCHAR) +')') ; SELECT @pointA.STDistance(@pointB);
STDistance value between these two points = 0.249830 meters
Given two points like above we can find Spatial distance between them. My question is if I know only one of the above points (ex:pointA) and STDistance value can I find the other point (ex:pointB).
Thank you