DbSpatialServices.GeographyFromGml 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GeographyFromGml(String) |
创建基于指定地理标记语言 (GML) 值的新 DbGeography 值。 |
GeographyFromGml(String, Int32) |
创建基于指定地理标记语言 (GML) 值和坐标系统标识符 (SRID) 的新 DbGeography 值。 |
GeographyFromGml(String)
创建基于指定地理标记语言 (GML) 值的新 DbGeography 值。
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Gml")]
public abstract System.Data.Entity.Spatial.DbGeography GeographyFromGml (string geographyMarkup);
abstract member GeographyFromGml : string -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function GeographyFromGml (geographyMarkup As String) As DbGeography
参数
- geographyMarkup
- String
包含地理值的几何图形标记语言 (GML) 表示形式的字符串。
返回
由 GML 值定义的新 DbGeography 值,默认 DbGeography 坐标系标识符 (SRID) ( DefaultCoordinateSystemId ) 。
- 属性
适用于
GeographyFromGml(String, Int32)
创建基于指定地理标记语言 (GML) 值和坐标系统标识符 (SRID) 的新 DbGeography 值。
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Gml")]
public abstract System.Data.Entity.Spatial.DbGeography GeographyFromGml (string geographyMarkup, int coordinateSystemId);
abstract member GeographyFromGml : string * int -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function GeographyFromGml (geographyMarkup As String, coordinateSystemId As Integer) As DbGeography
参数
- geographyMarkup
- String
包含地理值的几何图形标记语言 (GML) 表示形式的字符串。
- coordinateSystemId
- Int32
新建 DbGeography 值应使用的坐标系的标识符。
返回
通过指定坐标系统标识符 (SRID) 由 GML 值定义的新的 DbGeography 值。
- 属性