Tip: After you access the mosaic layer object, the following methods and properties are applicable on the mosaic layer.
Properties:
uuid
Returns the universally unique identifier (UUID) of the mosaic layer.
Returns:
uuid: Returns uuid string.
Example:
const mosaicLayerUuid = mosaicLayer.uuid;
name
Returns the name of the mosaic layer.
Returns:
String: Returns name of mosaic layer.
Example:
const mosaicLayerName = mosaicLayer.name;
display_name
Returns the display name of the mosaic layer.
Returns:
String: Returns display name of mosaic layer.
Example:
const mosaicLayerDisplayName = mosaicLayer.display_name;
description
Returns the description of the mosaic layer.
Returns:
String: Returns mosaic layer description.
Example:
const mosaicLayerDescription = mosaicLayer.description;
created_at
Returns the time and date that the mosaic layer was created.
Returns:
Date: Returns mosaic layer created time.
Example:
const mosaicLayerCreatedTime = mosaicLayer.created_at;
last_modified_at
Returns the time and date that the mosaic layer is updated.
Returns:
Date: Returns mosaic layer updated time.
Example:
const mosaicLayerModifiedTime = mosaicLayer.last_modified_at;
is_shared
Indicates whether the mosaic layer is shared or not.
Returns:
Boolean: If true, mosaic layer is shared.
Example:
const isShared = mosaicLayer.is_shared;
id
Returns the mosaic layer id.
Returns:
Number: Returns mosaic layer id.
Example:
const mosaicLayerId = mosaicLayer.id;
owner_id
Returns the user ID that the mosaic layer belongs to.
Returns:
Number: Returns mosaic layer owner id.
Example:
const mosaicLayerOwnerId = mosaicLayer.owner_id;
dtype
Returns the existing mosaic layer data type.
Returns:
String: Returns data type of mosaic layer.
Example:
const mosaicLayerDataType= mosaicLayer.dtype;
band_count
Returns number of the mosaic layer bands.
Returns:
Number: Returns number of mosaic layer bands.
Example:
const mosaicLayerBandCount= mosaicLayer.band_count;
pixel_selection
Returns how to select pixel values in overlapping regions.
Returns:
String: Returns pixel selection algorithm.
Example:
const mosaicLayerPixelSelection= mosaicLayer.pixel_selection;
raster_count
Returns the number of raster layers that compose the mosaic layer.
Returns:
Number: Returns number of raster layers forming the mosaic layer.
Example:
const mosaicLayerHeight= mosaicLayer.raster_count;
extent
Returns the coordinates of the mosaic layer extent in the Web Mercator coordinate system.
Returns:
Array: Returns an array contains [southwest x, southwest y, northeast x, northeast y].
Example:
const mosaicLayerExtent = mosaicLayer.extent;