SpatialReferenceSystem.CreateLocal

SpatialReferenceSystem.CreateLocal method

创建本地空间参考系统。

public static LocalSpatialReferenceSystem CreateLocal(string name, LocalDatum datum, Unit unit, 
    ICollection<Axis> axises, Identifier identifier = null)
参数类型描述
名称String空间参考系统的名称。
基准LocalDatum在 SRS 中使用的基准面。
单位单位在 SRS 中使用的单位。
ICollection`1在 SRS 中使用的轴。必须非空。
标识符标识符标识符,将附加到 SRS。附加标识符不会修改其他 SRS 参数。由您自行确保标识符与 SRS 参数的一致性。

返回值

新的本地空间参考系统。

异常

异常条件
InvalidOperationException必须至少有一个轴。
InvalidOperationExceptionaxises 为空。
ArgumentNullException任何参数,除 identifier 外为 null。

另见