You are here: Web API Functions > getdem

getdem

The getdem command creates a Digital Elevation Model (DEM) from a point cloud source.

Syntax

The getdem command syntax is:

getdem?cat=<catalog-name>&item=<item-id>&bounds=<min-x>,<min-y>[,<min-z>],<max-x>,<max-y>[,<max-z>]&res=<resolution>&dt=<datatype>&oif=<image-format>&class=<classification-list>&srs=<output-projection>

Parameters

The following parameters may be used with the getdem command:

cat

The catalog name.

item

The ID of the item. The itemid is the folder path to the item plus the item name (or iserv-catalog-index, which specifies the spatial index).

bounds

The geographic bounds of the requested region. Required, except for min-z and max-z.

res

Specifies the output resolution of the DEM. Required.

dt

The datatype of the output DEM. Supports f32 (floating-point 32-bit), u16 (unsigned 16-bit integer), and s16 (signed 16-bit integer). Default is f32.

oif

Specifies the output image format. Can be tif or sid; default is sid.

class

A comma-separated list of classifications of points for the requested bounds. Default is all.

srs

The output projection for the cloud. The default is the source image projection.