类 SqlServerOptions
内容
[
隐藏
]SqlServerOptions class
针对 SqlServer 格式的驱动程序特定选项。目前,驱动程序没有可自定义的选项。
public class SqlServerOptions : DatabaseDriverOptions
构造函数
| 名称 | 描述 |
|---|---|
| SqlServerOptions() | 创建新实例。 |
属性
| 名称 | 描述 |
|---|---|
| CloseLinearRing { get; set; } | 确定是否在每个几何体中关闭未闭合的 LinearRing。默认值为 false。 |
| CreateMidpoints { get; set; } | 确定是否在几何体的每个线段中间添加新点。默认值为 false。 |
| DeleteNearPoints { get; set; } | 确定是否在每个几何体中删除相近点。默认值为 false。 |
| DeleteNearPointsDistance { get; set; } | 确定 DeleteNearPoints 的距离。默认值为 0。 |
| LinearizationTolerance { get; set; } | 用于线性化曲线几何体的容差。 |
| MPrecisionModel { get; set; } | 一个将在几何体添加到 VectorLayer 或从 VectorLayer 读取时应用于 M 坐标的 PrecisionModel。默认值为 Exact。 |
| SimplifySegments { get; set; } | 确定是否删除每个几何体中位于同一线段上的点。默认值为 false。 |
| SimplifySegmentsDistance { get; set; } | 确定 SimplifySegments 的距离。默认值为 0。 |
| SpatialReferenceSystemMode { get; set; } | 确定在将未知几何体的 SRS 添加到图层时,数据库应如何处理。默认值为 ThrowException。 |
| ValidateGeometriesOnWrite { get; set; } | 确定在将几何体添加到图层时是否应进行验证。如果设置为 true,则在几何体添加到图层时会调用每个几何体的 IsValid,如果验证失败(IsValid 为 false),则抛出 GisException。 |
| WritePolygonsAsLines { get; set; } | 确定是否允许将多边形或多多边形转换为线串。默认值为 false。 |
| XYPrecisionModel { get; set; } | 一个将在几何体添加到 VectorLayer 或从 VectorLayer 读取时应用于 X 和 Y 坐标的 PrecisionModel。默认值为 Exact。 |
| ZPrecisionModel { get; set; } | 一个将在几何体添加到 VectorLayer 或从 VectorLayer 读取时应用于 Z 坐标的 PrecisionModel。默认值为 Exact。 |
另见
- class DatabaseDriverOptions
- namespace Aspose.Gis.Formats.SqlServer
- assembly Aspose.GIS