Main Content

projlist

GeoTIFF info structure support for projfwd and projinv

Syntax

projlist(listmode)
S = projlist(listmode)

Description

projlist(listmode) displays a table of projection names, IDs, and availability. listmode can be '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 projection IDs that projfwd and projinv use the PROJ library to implement. Starting in R2020b, you can use any valid map projection ID with projfwd and projinv. Return a list of valid map projection IDs using the maplist function. The output structure contains these fields.

    • Name — Projection name

    • MapProjection — Projection ID

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

    • GeoTIFF — GeoTIFF projection ID

    • 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 these fields.

    • GeoTIFF — GeoTIFF projection ID

    • MapProjection — Projection ID

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

    • GeoTIFF — GeoTIFF projection ID

    • MapProjection — Projection ID

    • 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
Introduced before R2006a