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.

properties

Class: geoshape

Return property names of geoshape vector

Syntax

prop = properties(s)
properties(s)

Description

prop = properties(s) returns a cell of the property names of the geoshape vector, s.

properties(s) displays the names of the properties of s.

Input Arguments

s

geoshape vector.

Output Arguments

prop

Cell variable consisting of property names of the geoshape vector, s.

Examples

expand all

Create a geoshape vector and view its properties.

s = geoshape(shaperead('tsunamis', 'UseGeo', true));
properties(s)
Properties for class geoshape:

    Geometry
    Metadata
    Latitude
    Longitude
    Year
    Month
    Day
    Hour
    Minute
    Second
    Val_Code
    Validity
    Cause_Code
    Cause
    Eq_Mag
    Country
    Location
    Max_Height
    Iida_Mag
    Intensity
    Num_Deaths
    Desc_Deaths
Was this topic helpful?