Quantcast

Documentation Center

  • Trial Software
  • Product Updates

properties

Class: geoshape

Properties of a 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

View Properties of a geoshape vector

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

See Also

Was this topic helpful?