Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 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 map projection IDs that are available for use with projfwd and projinv. The output structure contains the 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 the 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 the 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 the 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

More About

collapse 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.

Introduced before R2006a

Was this topic helpful?