DbGeometry.FromGml Metodo

Definizione

Crea un nuovo valore DbGeometry basato sul valore GML (Geography Markup Language).

Overload

FromGml(String, Int32)

Crea un nuovo valore di DbGeometry in base al valore GML (Geography Markup Language) e all'identificatore del sistema di coordinate (SRID) specificati.

FromGml(String)

Crea un nuovo valore DbGeometry basato sul valore GML (Geography Markup Language).

FromGml(String, Int32)

Crea un nuovo valore di DbGeometry in base al valore GML (Geography Markup Language) e all'identificatore del sistema di coordinate (SRID) specificati.

public:
 static System::Data::Spatial::DbGeometry ^ FromGml(System::String ^ geometryMarkup, int coordinateSystemId);
public static System.Data.Spatial.DbGeometry FromGml (string geometryMarkup, int coordinateSystemId);
static member FromGml : string * int -> System.Data.Spatial.DbGeometry
Public Shared Function FromGml (geometryMarkup As String, coordinateSystemId As Integer) As DbGeometry

Parametri

geometryMarkup
String

Stringa contenente una rappresentazione Geometry Markup Language (GML) del valore geometrico.

coordinateSystemId
Int32

L'identificatore del sistema di coordinate che il nuovo valore di DbGeometry deve utilizzare.

Restituisce

Nuovo DbGeometry definito dal valore GML con l'identificatore del sistema di coordinate specificato.

Eccezioni

geometryMarkup

coordinateSystemId

Si applica a

FromGml(String)

Crea un nuovo valore DbGeometry basato sul valore GML (Geography Markup Language).

public:
 static System::Data::Spatial::DbGeometry ^ FromGml(System::String ^ geometryMarkup);
public static System.Data.Spatial.DbGeometry FromGml (string geometryMarkup);
static member FromGml : string -> System.Data.Spatial.DbGeometry
Public Shared Function FromGml (geometryMarkup As String) As DbGeometry

Parametri

geometryMarkup
String

Stringa contenente una rappresentazione Geometry Markup Language (GML) del valore geometrico.

Restituisce

Nuovo DbGeometry definito dal valore GML con l'identificatore del sistema di coordinate geometriche predefinito (SRID) (DefaultCoordinateSystemId).

Eccezioni

geometryMarkup

Si applica a