SqlSpatialFunctions.PointGeography Methode

Definitie

Hiermee wordt een geografisch exemplaar samengesteld dat een puntexemplaren vertegenwoordigt op basis van de x- en y-waarden en een ruimtelijke referentie-id (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

Parameters

latitude
Nullable<Double>

De x-coördinaat van het punt dat wordt gegenereerd.

longitude
Nullable<Double>

De y-coördinaat van het punt dat wordt gegenereerd.

spatialReferenceId
Nullable<Int32>

De SRID van het geografische exemplaar.

Retouren

Het geconstrueerde geografische exemplaar.

Kenmerken

Van toepassing op