SpatialReferenceSystem.CreateFromEpsg
SpatialReferenceSystem.CreateFromEpsg method
Create a spatial reference system based the specified EPSG code.
public static SpatialReferenceSystem CreateFromEpsg(int epsg)
| Parameter | Type | Description |
|---|---|---|
| epsg | Int32 | EPSG code of the spatial reference system. |
Return Value
A new spatial reference system with the specified EPSG code.
Exceptions
| exception | condition |
|---|---|
| ArgumentOutOfRangeException | Argument is not positive. |
| NotSupportedException | The specified EPSG code is unknown. |
See Also
- method TryCreateFromEpsg
- class SpatialReferenceSystem
- namespace Aspose.Gis.SpatialReferencing
- assembly Aspose.GIS