SpatialTessellationFunction.Geodetic Method

Definition

Returns the grid cell for the given SqlGeography instance.

[Microsoft.SqlServer.Server.SqlFunction(FillRowMethodName="FillRow")]
public static System.Collections.IEnumerable Geodetic (Microsoft.SqlServer.Types.SqlGeography geography, int cardinality, int maxDepth, int options, System.Data.SqlTypes.SqlDouble distanceBuffer);
[<Microsoft.SqlServer.Server.SqlFunction(FillRowMethodName="FillRow")>]
static member Geodetic : Microsoft.SqlServer.Types.SqlGeography * int * int * int * System.Data.SqlTypes.SqlDouble -> System.Collections.IEnumerable
Public Shared Function Geodetic (geography As SqlGeography, cardinality As Integer, maxDepth As Integer, options As Integer, distanceBuffer As SqlDouble) As IEnumerable

Parameters

geography
SqlGeography

The geography object.

cardinality
Int32

The number that represents the maximum cells in tessellation output.

maxDepth
Int32

The maximum depth.

options
Int32

The value that contains bitwise options for interval mode, coverage generation, and fuzz usage.

distanceBuffer
SqlDouble

The distance buffer.

Returns

The IEnumerable object that represents the grid cell for the given SqlGeography instance.

Attributes

Applies to