Export (0) Print
Expand All

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

.NET Framework 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.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft