SpatialReferenceSystem.CreateLocal
SpatialReferenceSystem.CreateLocal method
Skapa lokal SRS.
public static LocalSpatialReferenceSystem CreateLocal(string name, LocalDatum datum, Unit unit,
ICollection<Axis> axises, Identifier identifier = null)
Parameter | Typ | Beskrivning |
---|---|---|
name | String | Namn på SRS. |
datum | LocalDatum | Datum som ska användas i SRS. |
unit | Unit | Enhet som ska användas i SRS. |
axises | ICollection`1 | Axlar som ska användas i SRS. Måste vara tom |
identifier | Identifier | Identifierare, som kommer att kopplas till SRS. Att bifoga en identifierare kommer inte att ändra andra SRS-parametrar. Det är upp till dig att säkerställa överensstämmelse mellan identifierare och SRS-parametrar. |
Returvärde
Ny lokal SRS.
Undantag
undantag | skick |
---|---|
InvalidOperationException | axises är tom. |
ArgumentNullException | Alla argument, utomidentifier är inget. |
Se även
- class LocalSpatialReferenceSystem
- class LocalDatum
- class Unit
- class Axis
- class Identifier
- class SpatialReferenceSystem
- namnutrymme Aspose.Gis.SpatialReferencing
- hopsättning Aspose.GIS