SqlSpatialServices.GeographyFromGml 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 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 值,由含有指定之座標系統識別項 (SRID) 的 GML 值所定義。