Documentation Center

  • Trial Software
  • Product Updates

maplist

Available Mapping Toolbox map projections

Syntax

list = maplist
[list,defproj] = maplist

Description

list = maplist returns a structure that lists all the available Mapping Toolbox™ map projections. The list structure is list.Name, list.IdString, list.Classification, list.ClassCode. This list structure is used by the functions maps and axesmui when processing map projection identifiers during operation of the toolbox functions.

[list,defproj] = maplist also returns the default projection's IdString.

list.Name defines the full name of the projection. This entry is used in the command-line table display and in the Projection Control Box.

list.IdString provides the name of the MATLAB® function that computes the projection.

list.Classification defines the projection classification that is used in the command-line table display.

list.ClassCode defines the character string that is used to label the classes of projections in the Projection Control Box. The eight class codes are

  • Azim — Azimuthal

  • Coni — Conic

  • Cyln — Cylindrical

  • Mazi — Modified azimuthal

  • Pazi — Pseudoazimuthal

  • Pcon — Pseudoconic

  • Pcy — Pseudocylindrical

  • Poly — Polyconic

When map projections are added to the toolbox, the list structure needs to be extended. For example, if a new projection is added to the default list, then a new entry in the list structure would be

list.Name(61)           = 'My Projection'
list.IdString(61)       = 'newprojection';
list.Classification(61) = 'New Projection Type';
list.ClassCode(61)      = 'Code';

See Also

|

Was this topic helpful?