SpatialReferenceSystem.CreateCompound
SpatialReferenceSystem.CreateCompound method
Create compound SRS.
public static CompoundSpatialReferenceSystem CreateCompound(string name,
SpatialReferenceSystem head, SpatialReferenceSystem tail, Identifier identifier = null)
Parameter | Type | Description |
---|---|---|
name | String | Name of new SRS. |
head | SpatialReferenceSystem | Head SRS of new SRS. |
tail | SpatialReferenceSystem | Tail SRS of new SRS. |
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 Compound SRS.
Exceptions
exception | condition |
---|---|
ArgumentNullException | Any argument except identifier is null . |
InvalidOperationException | head or tail are compound SRS themselves. |
See Also
- class CompoundSpatialReferenceSystem
- class Identifier
- class SpatialReferenceSystem
- namespace Aspose.Gis.SpatialReferencing
- assembly Aspose.GIS