FIX: ShortestLineTo() and STDistance() methods return incorrect result for the shortest distance in SQL Server 2016


When you use the geography method ShortestLineTo() to retrieve a LineString instance that has two points representing the shortest distance between two geographies, at least one of which contains circular arc segments, in SQL Server 2016, you may receive an incorrect result. 

Similarly, when you use the geography method STDistance() to retrieve the shortest distance between two geographies, at least one of which contains circular arc segments, you may receive an incorrect result.


The issue was first fixed in the following cumulative update of SQL Server:
Recommendation: Install the latest cumulative update for SQL Server


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology that Microsoft uses to describe software updates.

Article ID: 3175203 - Last Review: Jul 25, 2016 - Revision: 1

Microsoft SQL Server 2016 Developer, Microsoft SQL Server 2016 Enterprise, Microsoft SQL Server 2016 Enterprise Core, Microsoft SQL Server 2016 Standard