SpatialReferenceSystem.CreateLocal
SpatialReferenceSystem.CreateLocal method
Create local SRS.
public static LocalSpatialReferenceSystem CreateLocal(string name, LocalDatum datum, Unit unit,
ICollection<Axis> axises, Identifier identifier = null)
Parameter | Type | Description |
---|---|---|
name | String | Name of SRS. |
datum | LocalDatum | Datum to be used in SRS. |
unit | Unit | Unit to be used in SRS. |
axises | ICollection`1 | Axises to be used in SRS. Must be non empty |
identifier | Identifier | Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters. Its up to you to ensure consistency of identifier and SRS parameters. |
Return Value
New Local SRS.
Exceptions
exception | condition |
---|---|
InvalidOperationException | axises is empty. |
ArgumentNullException | Any argument, except identifier is null. |
See Also
- class LocalSpatialReferenceSystem
- class LocalDatum
- class Unit
- class Axis
- class Identifier
- class SpatialReferenceSystem
- namespace Aspose.Gis.SpatialReferencing
- assembly Aspose.GIS