Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit
Twitter LinkedIn Facebook Email

OGC Methods on Geography Instances

  • Article
  • 02/28/2023
  • 2 minutes to read

In this article

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance

SQL Server supports the Open Geospatial Consortium (OGC) methods on geography instances.

For more information on OGC specifications, see the following resources:

OGC Specifications, Simple Feature Access Part 1 - Common Architecture

OGC Specifications, Simple Feature Access Part 2 - SQL Options

In This Section

  • STArea

  • STAsBinary

  • STAsText

  • STBuffer

  • STCurveN (geography Data Type)

  • STCurveToLine (geography Data Type)

  • STDifference

  • STDimension

  • STDisjoint

  • STDistance

  • STEndpoint

  • STEquals

  • STGeometryN

  • STGeometryType

  • STIntersection

  • STIntersects

  • STIsClosed

  • STIsEmpty

  • STIsValid

  • STLength

  • STNumCurves (geography Data Type)

  • STNumGeometries

  • STNumPoints

  • STPointN

  • STSrid

  • STStartPoint

  • STSymDifference

  • STUnion

See Also

Extended Methods on Geography Instances
OGC Static Geography Methods
Extended Static Geography Methods


Additional resources

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023

Additional resources

In this article

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023