SqlSpatialFunctions.PointGeography Methode

Definition

Erstellt eine Geografieinstanz, die eine Punktinstanz aus ihren x- und y-Werten und einer räumlichen Referenz-ID (SPATIAL Reference ID, SRID) darstellt.

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

Parameter

latitude
Nullable<Double>

Die x-Koordinate des generierten Punkts.

longitude
Nullable<Double>

Die y-Koordinate des generierten Punkts.

spatialReferenceId
Nullable<Int32>

Die SRID der Geografieinstanz.

Gibt zurück

Die erstellte Geografieinstanz.

Attribute

Gilt für: