Export (0) Print
Expand All

SqlSpatialFunctions Class

.NET Framework 4.5

Represents the SQL spatial functions for the SQL client.

System.Object
  System.Data.Objects.SqlClient.SqlSpatialFunctions

Namespace:  System.Data.Objects.SqlClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

'Declaration
Public NotInheritable Class SqlSpatialFunctions

The SqlSpatialFunctions type exposes the following members.

  NameDescription
Public methodStatic memberAsTextZM(DbGeography)Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance.
Public methodStatic memberAsTextZM(DbGeometry)Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance.
Public methodStatic memberBufferWithTolerance(DbGeography, Nullable(Of Double), Nullable(Of Double), Nullable(Of Boolean))Returns a geometric object representing the union of all point values whose distance from a geography instance is less than or equal to a specified value, allowing for a specified tolerance.
Public methodStatic memberBufferWithTolerance(DbGeometry, Nullable(Of Double), Nullable(Of Double), Nullable(Of Boolean))Returns a geometric object representing the union of all point values whose distance from a geometry instance is less than or equal to a specified value, allowing for a specified tolerance.
Public methodStatic memberEnvelopeAngleReturns the maximum angle between the point returned by EnvelopeCenter() and a point in the geography instance in degrees.
Public methodStatic memberEnvelopeCenterReturns a point that can be used as the center of a bounding circle for the geography instance.
Public methodStatic memberFilter(DbGeography, DbGeography)Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available.
Public methodStatic memberFilter(DbGeometry, DbGeometry)Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available.
Public methodStatic memberInstanceOf(DbGeography, String)Tests if the SqlGeography instance is the same as the specified type.
Public methodStatic memberInstanceOf(DbGeometry, String)Tests if the SqlGeometry instance is the same as the specified type.
Public methodStatic memberMakeValidConverts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium (OGC) type.
Public methodStatic memberNumRingsReturns the total number of rings in a Polygon instance.
Public methodStatic memberPointGeographyConstructs a geography instance representing a Point instance from its x and y values and a spatial reference ID (SRID).
Public methodStatic memberPointGeometryConstructs a geometry instance representing a Point instance from its x and y values and a spatial reference ID (SRID).
Public methodStatic memberReduce(DbGeography, Nullable(Of Double))Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance.
Public methodStatic memberReduce(DbGeometry, Nullable(Of Double))Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance.
Public methodStatic memberRingNReturns the specified ring of the SqlGeography instance: 1 ≤ n ≤ NumRings().
Top

.NET Framework

Supported in: 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft