Sdílet prostřednictvím


SqlSpatialFunctions.PointGeography Metoda

Definice

Vytvoří geografickou instanci představující instanci point z hodnot x a y a ID prostorového odkazu (SRID).

public:
 static System::Data::Spatial::DbGeography ^ PointGeography(Nullable<double> latitude, Nullable<double> longitude, Nullable<int> spatialReferenceId);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "POINTGEOGRAPHY")]
public static System.Data.Spatial.DbGeography PointGeography(double? latitude, double? longitude, int? spatialReferenceId);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "POINTGEOGRAPHY")>]
static member PointGeography : Nullable<double> * Nullable<double> * Nullable<int> -> System.Data.Spatial.DbGeography
Public Shared Function PointGeography (latitude As Nullable(Of Double), longitude As Nullable(Of Double), spatialReferenceId As Nullable(Of Integer)) As DbGeography

Parametry

latitude
Nullable<Double>

Souřadnice x vygenerovaného bodu.

longitude
Nullable<Double>

Souřadnice y vygenerovaného bodu.

spatialReferenceId
Nullable<Int32>

SRID geografické instance.

Návraty

Vytvořená geografická instance.

Atributy

Platí pro