Share via


OpenGisGeographyType Enumeration

Lists Open GIS geography types.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
Public Enumeration OpenGisGeographyType
'Usage
Dim instance As OpenGisGeographyType
[CLSCompliantAttribute(true)]
public enum OpenGisGeographyType
[CLSCompliantAttribute(true)]
public enum class OpenGisGeographyType
[<CLSCompliantAttribute(true)>]
type OpenGisGeographyType
public enum OpenGisGeographyType

Members

Member name Description
Point Point is a 0-dimensional object that represents a single location.
LineString LineString is a one-dimensional object that represents a sequence of points and the line segments connecting them.
Polygon Polygon is a two-dimensional surface stored as a sequence of points defining an exterior bounding ring and zero or more interior rings.
MultiPoint MultiPoint is a collection of zero or more points.
MultiLineString MultiLineString is a collection of zero or more geographyLineString instances.
MultiPolygon MultiPolygon is a collection of zero or more Polygon instances.
GeometryCollection GeometryCollection is a collection of zero or more geography instances.

Remarks

BeginGeography()in IGeographySink interface uses this enum as a parameter.