SpatialTessellationFunction.Geodetic Method (SqlGeography, Int32, Int32, Int32, SqlDouble)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the grid cell for the given SqlGeography instance.

Namespace:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
public static IEnumerable Geodetic(
	SqlGeography geography,
	int cardinality,
	int maxDepth,
	int options,
	SqlDouble distanceBuffer
)

Parameters

geography
Type: Microsoft.SqlServer.Types.SqlGeography

The geography object.

cardinality
Type: System.Int32

The number that represents the maximum cells in tessellation output.

maxDepth
Type: System.Int32

The maximum depth.

options
Type: System.Int32

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

distanceBuffer
Type: System.Data.SqlTypes.SqlDouble

The distance buffer.

Return Value

Type: System.Collections.IEnumerable

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

Return to top
Show: