ENVI Classic supports a number of different projection types. This function translates between the projection name string and the projection type integer value.

Syntax


Result = ENVI_TRANSLATE_PROJECTION_NAME(Val)

Arguments


Val

Val can be either an integer or a string. If Val is an integer, the function returns the string-format description of the projection name. If Val is a string, the function returns the integer code describing the projection type.

Example


type = envi_translate_projection_name('State Plane')

or

proj_name = envi_translate_projection_name(3)

API Version


4.2