SqlGeography.Reduce(Double) Method

Definition

Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public Microsoft.SqlServer.Types.SqlGeography Reduce (double tolerance);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.Reduce : double -> Microsoft.SqlServer.Types.SqlGeography
Public Function Reduce (tolerance As Double) As SqlGeography

Parameters

tolerance
Double

Is a double that represents the tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number.

Returns

A SqlGeography value representing an approximation of the current instance.

Attributes

Applies to