Comments
3 comments
-
Version 9.0.2.3223
-
Hi @JoshRoss,
Thank you for reporting this issue.
I have created a ticket for it (ref: 6751).
Regards,
Fabiola -
Hi @JoshRoss
Thanks for your patience with this issue.
I'm pleased to let you know this bug has been fixed in the latest version (9.0.7.3692 - January 17th 2018).
Can you please upgrade and test again?
Thanks.
Add comment
Please sign in to leave a comment.
This should be able to reproduce it:
SELECT (geography::Point(a.latitude, a.longitude, 4326).STDistance(b.geo) / 1609.34) AS miles
FROM (VALUES(43.7136263, -82.0375272)) AS a(latitude,longitude)
CROSS JOIN (SELECT geography::Point(42.7136263, -83.0375272, 4326) AS geo) AS b
ORDER BY miles;