GetMapProjection()
Summary
Returns the projection and coordinate system used in a map.
Syntax
proj_params = GetMapProjection(string map_name)
| Argument | Contents |
|---|---|
| map_name | The name of the map, or null for the current map |
Returns
An array of two elements:
| Element | Type | Contents |
|---|---|---|
| 1 | String | The name of the projection; see Notes |
| 2 | Array | The projection parameters; see Notes |
Notes
-
For more details on the name of the projection (using the abbreviation) and the projection parameters, see Custom Coordinate System.
Example
{name, params} = GetMapProjection()
See Also
| Function | Summary |
|---|---|
| SetMapProjection() | Sets the projection and coordinate system used in a map |
| GetProjectionScope() | Returns a valid scope for a particular projection |