Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlSpatialFunctions.BufferWithTolerance Method (DbGeography, Nullable<Double>, Nullable<Double>, Nullable<Boolean>)

.NET Framework 4.6 and 4.5

Returns a geometric object representing the union of all point values whose distance from a geography instance is less than or equal to a specified value, allowing for a specified tolerance.

Namespace:  System.Data.Objects.SqlClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

[EdmFunctionAttribute("SqlServer", "BUFFERWITHTOLERANCE")]
public static DbGeography BufferWithTolerance(
	DbGeography geographyValue,
	Nullable<double> distance,
	Nullable<double> tolerance,
	Nullable<bool> relative
)

Parameters

geographyValue
Type: System.Data.Spatial.DbGeography

The geography value.

distance
Type: System.Nullable<Double>

The distance.

tolerance
Type: System.Nullable<Double>

The specified tolerance.

relative
Type: System.Nullable<Boolean>

Specifying whether the tolerance value is relative or absolute.

Return Value

Type: System.Data.Spatial.DbGeography
The union of all point values whose distance from a geography instance is less than or equal to a specified value

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft