Skip to content

Latest commit

 

History

History
71 lines (55 loc) · 3.28 KB

spatial-data-sql-server.md

File metadata and controls

71 lines (55 loc) · 3.28 KB
title description author ms.author ms.reviewer ms.date ms.service ms.topic ms.custom helpviewer_keywords monikerRange
Spatial Data (SQL Server)
Spatial data in the SQL Database Engine represents information about the physical location and shape of geometric objects.
WilliamDAssafMSFT
wiassaf
mlandzic, jovanpop
11/04/2024
sql
conceptual
ignite-2024
geography data type [SQL Server], spatial storage design
planar spatial data [SQL Server], designing
spatial data types [SQL Server]
geodetic spatial data [SQL Server]
geometry data type [SQL Server], spatial storage design
spatial storage [SQL Server]
geodetic spatial data [SQL Server], designing
=azuresqldb-current || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric

Spatial Data

[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance Fabric SQL endpoint Fabric DW FabricSQLDB]

Spatial data represents information about the physical location and shape of geometric objects. These objects can be point locations or more complex objects such as countries/regions, roads, or lakes.

[!INCLUDE ssNoVersion] supports two spatial data types: the geometry data type and the geography data type.

  • The geometry type represents data in a Euclidean (flat) coordinate system.

  • The geography type represents data in a round-earth coordinate system.

Both data types are implemented as .NET common language runtime (CLR) data types in [!INCLUDE ssNoVersion].

Limitations

In [!INCLUDE fabric-sqldb], geography and geometry data types are supported but cannot be mirrored to the Fabric OneLake.

Related Tasks

Create, Construct, and Query geometry Instances
Describes the methods that you can use with instances of the geometry data type.

Create, Construct, and Query geography Instances
Describes the methods that you can use with instances of the geography data type.

Query Spatial Data for Nearest Neighbor
Describes the common query pattern that is used to find the closest spatial objects to a specific spatial object.

Create, Modify, and Drop Spatial Indexes
Provides information about creating, altering, and dropping a spatial index.

Spatial tools open-source project

[!INCLUDE Spatial tools project information]

Related content