Share via


DbSpatialServices.GeographyFromGml Method

Definition

Overloads

GeographyFromGml(String)

Creates a new DbGeography value based on the specified Geography Markup Language (GML) value.

GeographyFromGml(String, Int32)

Creates a new DbGeography value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID).

GeographyFromGml(String)

Creates a new DbGeography value based on the specified Geography Markup Language (GML) value.

[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

Parameters

geographyMarkup
String

A string that contains a Geometry Markup Language (GML) representation of the geography value.

Returns

A new DbGeography value as defined by the GML value with the default DbGeography coordinate system identifier (SRID) ( DefaultCoordinateSystemId ).

Attributes

Applies to

GeographyFromGml(String, Int32)

Creates a new DbGeography value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID).

[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

Parameters

geographyMarkup
String

A string that contains a Geometry Markup Language (GML) representation of the geography value.

coordinateSystemId
Int32

The identifier of the coordinate system that the new DbGeography value should use.

Returns

A new DbGeography value as defined by the GML value with the specified coordinate system identifier (SRID).

Attributes

Applies to