다음을 통해 공유


SqlSpatialServices.GeographyFromText 메서드

정의

오버로드

GeographyFromText(String)

지정된 잘 알려진 텍스트 값을 기반으로 새 DbGeography 값을 만듭니다.

GeographyFromText(String, Int32)

지정된 잘 알려진 텍스트 값과 좌표계 식별자(SRID)를 기반으로 새 DbGeography 값을 만듭니다.

GeographyFromText(String)

지정된 잘 알려진 텍스트 값을 기반으로 새 DbGeography 값을 만듭니다.

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

매개 변수

wellKnownText
String

이 지리 값의 잘 알려진 텍스트 표현을 포함하는 문자열입니다.

반환

기본 DbGeography SRID(좌표계 식별자) ( DefaultCoordinateSystemId )를 사용하여 잘 알려진 텍스트 값으로 정의된 새 DbGeography 값입니다.

적용 대상

GeographyFromText(String, Int32)

지정된 잘 알려진 텍스트 값과 좌표계 식별자(SRID)를 기반으로 새 DbGeography 값을 만듭니다.

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

매개 변수

wellKnownText
String

이 지리 값의 잘 알려진 텍스트 표현을 포함하는 문자열입니다.

coordinateSystemId
Int32

DbGeography 값을 사용해야 하는 좌표계의 식별자입니다.

반환

지정된 SRID(좌표계 식별자) ( DefaultCoordinateSystemId )를 사용하여 잘 알려진 텍스트 값으로 정의된 새 DbGeography 값입니다.

적용 대상