語言

SqlSpatialServices.GeographyFromGml 方法

定義

多載

名稱 Description
GeographyFromGml(String)

根據指定的地理標記語言(GML)值建立新 DbGeography 值。

GeographyFromGml(String, Int32)

根據指定的地理標記語言(GML)值與座標系統識別碼(SRID)建立新 DbGeography 值。

GeographyFromGml(String)

根據指定的地理標記語言(GML)值建立新 DbGeography 值。

public override System.Data.Entity.Spatial.DbGeography GeographyFromGml(string geographyMarkup);
override this.GeographyFromGml : string -> System.Data.Entity.Spatial.DbGeography
Public Overrides Function GeographyFromGml (geographyMarkup As String) As DbGeography

參數

geographyMarkup
String

一個包含地理值的幾何標記語言(GML)表示的字串。

傳回

由 GML 值定義的新 DbGeography 值,並以預設 DbGeography 座標系統識別碼(SRID)( DefaultCoordinateSystemId )。

適用於

GeographyFromGml(String, Int32)

根據指定的地理標記語言(GML)值與座標系統識別碼(SRID)建立新 DbGeography 值。

public override System.Data.Entity.Spatial.DbGeography GeographyFromGml(string geographyMarkup, int coordinateSystemId);
override this.GeographyFromGml : string * int -> System.Data.Entity.Spatial.DbGeography
Public Overrides Function GeographyFromGml (geographyMarkup As String, coordinateSystemId As Integer) As DbGeography

參數

geographyMarkup
String

一個包含地理值的幾何標記語言(GML)表示的字串。

coordinateSystemId
Int32

新值應使用的座標系統 DbGeography 識別碼。

傳回

由 DbGeography GML 值定義的新值,並附上指定的座標系統識別碼(SRID)。

適用於