projlist

Map projections supported by projfwd and projinv

Syntax

projlist(listmode)
S = projlist(listmode)

Description

projlist(listmode) displays a table of projection names, IDs, and availability. listmode is a string with value 'mapprojection', 'geotiff', 'geotiff2mstruct', or 'all'. The default value is 'mapprojection'.

S = projlist(listmode) returns a structure array containing projection names, IDs, and availability. The output of projlist for each listmode is described below:

  • mapprojection — Lists the map projection IDs that are available for use with projfwd and projinv. The output structure contains the fields

    • Name — Projection name

    • MapProjection — Projection ID string

  • geotiff — Lists the GeoTIFF projection IDs that are available for use with projfwd and projinv. The output structure contains the fields

    • GeoTIFF — GeoTIFF projection ID string.

    • Available— Logical array with values 1 or 0

  • geotiff2mstruct — Lists the GeoTIFF projection IDs that are available for use with geotiff2mstruct. The output structure contains the fields

    • GeoTIFF — GeoTIFF projection ID string

    • MapProjection — Projection ID string

  • all — Lists the map and GeoTIFF projection IDs that are available for use with projfwd and projinv. The output structure contains the fields

    • GeoTIFF — GeoTIFF projection ID string

    • MapProjection — Projection ID string

    • info — Logical array with values 1 or 0

    • mstruct — Logical array with values 1 or 0

Examples

s=projlist

s = 
1x19 struct array with fields:
    Name
    MapProjection

s=projlist('geotiff2mstruct')

s = 
1x19 struct array with fields:
    GeoTIFF
    MapProjection

More About

expand all

Tips

projfwd and projinv can be used to process certain forward or inverse map projections. These functions are implemented in C using the PROJ.4 library. projlist provides a convenient list of the projections that can be used with projfwd or projinv. Because projfwd and projinv accept either a map projection structure (mstruct) or a GeoTIFF info structure, projlist provides separate lists for each case. It can also list the projections for which a GeoTIFF info structure can be converted to an mstruct.

Was this topic helpful?