Table of Contents

Class SpatialDataSchema.SpatialReferenceSystem

Namespace
LinqToDB.Tools.DataProvider.SqlServer.Schemas
Assembly
linq2db.Tools.dll

sys.spatial_reference_systems (Transact-SQL)

Applies to: √ SQL Server (all supported versions) √ Azure SQL Database

Lists the spatial reference systems (SRIDs) supported by SQL Server.


See sys.spatial_reference_systems.

[Table(Schema = "sys", Name = "spatial_reference_systems", IsView = true)]
public class SpatialDataSchema.SpatialReferenceSystem
Inheritance
SpatialDataSchema.SpatialReferenceSystem
Extension Methods

Properties

AuthorityName

The authority of the SRID.

[Column("authority_name")]
[Nullable]
public string? AuthorityName { get; set; }

Property Value

string

AuthorizedSpatialReferenceID

The SRID given by the authority named in authority_name.

[Column("authorized_spatial_reference_id")]
[Nullable]
public int? AuthorizedSpatialReferenceID { get; set; }

Property Value

int?

SpatialReferenceID

The SRID supported by SQL Server.

[Column("spatial_reference_id")]
[Nullable]
public int? SpatialReferenceID { get; set; }

Property Value

int?

UnitConversionFactor

The length of the unit of measure in meters.

[Column("unit_conversion_factor")]
[Nullable]
public double? UnitConversionFactor { get; set; }

Property Value

double?

UnitOfMeasure

The name of the unit of measure.

[Column("unit_of_measure")]
[Nullable]
public string? UnitOfMeasure { get; set; }

Property Value

string

WellKnownText

The WKT representation of the SRID.

[Column("well_known_text")]
[Nullable]
public string? WellKnownText { get; set; }

Property Value

string