SqlGeography.Reduce(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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